Skip to content

Passed

tests / testsuite-compliance / ModelicaCompliance.Operators.Mathematical.SqrtNegativeExpressionIncorrect.SqrtNegativeExpressionIncorrect (from omc OMCompiler v1.14.1-v1.14.1.3+ge7881aca3a compliance suite 3.2)

Took 5.1 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/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/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