Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002175/0.002179, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 103.3 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003672, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3248, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4456, allocations: 76.55 MB / 451.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.446, allocations: 71.97 kB / 451.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02471/0.4707, allocations: 5.266 MB / 456.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4707, allocations: 0 / 456.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4707, allocations: 0 / 456.4 MB, free: 14.87 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003797/0.4711, allocations: 367.1 kB / 456.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4712, allocations: 12.02 kB / 456.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.4712, allocations: 4 kB / 456.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.4714, allocations: 163.1 kB / 456.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.4714, allocations: 0 / 456.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4714, allocations: 7.953 kB / 457 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.658e-05/0.4715, allocations: 37.62 kB / 457 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4716, allocations: 0 / 457 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4716, allocations: 0 / 457 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4716, allocations: 0 / 457 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.167e-05/0.4716, allocations: 11.98 kB / 457 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.472, allocations: 400 kB / 457.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.4721, allocations: 173.1 kB / 457.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.4722, allocations: 75.28 kB / 457.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.4722, allocations: 105.8 kB / 457.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.4722, allocations: 0 / 457.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.021e-05/0.4723, allocations: 37.61 kB / 457.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.4724, allocations: 152.4 kB / 457.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4725, allocations: 109 kB / 458 MB, free: 13.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.4726, allocations: 25.7 kB / 458.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.4726, allocations: 150.6 kB / 458.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.4727, allocations: 0 / 458.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.4727, allocations: 4 kB / 458.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.4728, allocations: 314.8 kB / 458.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.4728, allocations: 11.92 kB / 458.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.4729, allocations: 4 kB / 458.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.4729, allocations: 4 kB / 458.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4729, allocations: 0 / 458.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001176/0.473, allocations: 37.66 kB / 458.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4731, allocations: 11.98 kB / 458.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4731, allocations: 0 / 458.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4731, allocations: 3.938 kB / 458.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.4732, allocations: 4 kB / 458.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.4732, allocations: 4.125 kB / 458.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.4732, allocations: 0 / 458.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.4732, allocations: 0 / 458.6 MB, free: 12.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.4734, allocations: 189.1 kB / 458.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.4735, allocations: 113.2 kB / 458.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.4735, allocations: 120.3 kB / 459 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.61e-05/0.4736, allocations: 184.2 kB / 459.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.368e-05/0.4737, allocations: 180.3 kB / 459.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.977e-05/0.4738, allocations: 176.3 kB / 459.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.474, allocations: 417.1 kB / 459.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/0.4741, allocations: 105 kB / 460 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.4741, allocations: 104.9 kB / 460.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.684e-05/0.4742, allocations: 184.2 kB / 460.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.4743, allocations: 180.3 kB / 460.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.956e-05/0.4744, allocations: 184.2 kB / 460.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-05/0.4745, allocations: 180.2 kB / 460.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.4746, allocations: 307.8 kB / 461.2 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-05/0.4747, allocations: 182.1 kB / 461.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/0.4748, allocations: 188.2 kB / 461.5 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4749, allocations: 101 kB / 461.6 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.475, allocations: 180.2 kB / 461.8 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.4751, allocations: 109 kB / 461.9 MB, free: 8.938 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.46e-05/0.4751, allocations: 95.27 kB / 462 MB, free: 8.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4752, allocations: 0 / 462 MB, free: 8.844 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004241/0.4756, allocations: 51.92 kB / 462 MB, free: 8.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006138/0.4762, allocations: 285.1 kB / 462.3 MB, free: 8.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.4763, allocations: 7.938 kB / 462.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4763, allocations: 0 / 462.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.4763, allocations: 0 / 462.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.4767, allocations: 0.5224 MB / 462.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.4769, allocations: 204.2 kB / 463.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.4772, allocations: 0.6809 MB / 463.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.4772, allocations: 11.44 kB / 463.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4772, allocations: 0 / 463.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of Templates: time 0.003603/0.4808, allocations: 1.188 MB / 464.9 MB, free: 5.855 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches