Skip to content

Passed

tests / testsuite-compliance / ModelicaCompliance.Operators.Mathematical.SqrtNegativeExpressionIncorrect.SqrtNegativeExpressionIncorrect (from omc OMCompiler v1.14.0-v1.14.0.3+g3f9ed55893 compliance suite 3.2)

Took 2.3 sec.

Standard Output

Simulation execution failed for model: ModelicaCompliance.Operators.Mathematical.SqrtNegativeExpressionIncorrect
assert            | warning | The following assertion has been violated at time 0.000000
assert            | debug   | Model error: Argument of sqrt(-25.0) was -25 should be >= 0
assert            | info    | simulation terminated by an assertion at initialization
[/var/lib/jenkins3/ws/OpenModelica_maintenance_v1.14_4/build/lib/omlibrary/ModelicaCompliance 3.2/Operators/Mathematical/SqrtNegativeExpressionIncorrect.mo:8:3-8:17:writable] Error: Negative value as argument to sqrt.
Error: Model error: Argument of sqrt(Expression.toReal(e)) was -25 should be >= 0
[/var/lib/jenkins3/ws/OpenModelica_maintenance_v1.14_4/build/lib/omlibrary/ModelicaCompliance 3.2/Operators/Mathematical/SqrtNegativeExpressionIncorrect.mo:8:3-8:17:writable] Error: Negative value as argument to sqrt.
Error: Model error: Argument of sqrt(Expression.toReal(e)) was -25 should be >= 0