Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 100.4 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 51.94 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08868, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003668/0.0924, allocations: 2.252 MB / 329.5 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.09378, allocations: 0.7855 MB / 330.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.09388, allocations: 0 / 330.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.914e-05/0.09398, allocations: 4 kB / 330.3 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.09411, allocations: 11.92 kB / 330.3 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.09483, allocations: 215.5 kB / 330.5 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.09492, allocations: 11.98 kB / 330.5 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.09497, allocations: 4 kB / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.09502, allocations: 15.88 kB / 330.6 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.0951, allocations: 19.91 kB / 330.6 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.09511, allocations: 0 / 330.6 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.09538, allocations: 143.8 kB / 330.7 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.0954, allocations: 0 / 330.7 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.09544, allocations: 11.94 kB / 330.7 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.09571, allocations: 127.7 kB / 330.9 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.09572, allocations: 0 / 330.9 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09573, allocations: 0 / 330.9 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.09574, allocations: 0 / 330.9 MB, free: 0.8555 MB / 270.1 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.000392/0.09614, allocations: 355.7 kB / 331.2 MB, free: 472 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.09618, allocations: 16.03 kB / 331.2 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.09623, allocations: 4.938 kB / 331.2 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.09637, allocations: 176.2 kB / 331.4 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.09639, allocations: 384 / 331.4 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.0964, allocations: 384 / 331.4 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.689e-05/0.0965, allocations: 42 kB / 331.4 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.09652, allocations: 0 / 331.4 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.09654, allocations: 0 / 331.4 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.09655, allocations: 4 kB / 331.4 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.09657, allocations: 0 / 331.4 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.09692, allocations: 404 kB / 331.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/0.09701, allocations: 169.1 kB / 332 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.09704, allocations: 84.14 kB / 332.1 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.09707, allocations: 75.28 kB / 332.2 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.09712, allocations: 113.8 kB / 332.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.09713, allocations: 0 / 332.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.277e-05/0.09721, allocations: 33.62 kB / 332.3 MB, free: 15.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.09728, allocations: 156.4 kB / 332.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.09738, allocations: 117.8 kB / 332.6 MB, free: 14.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.0974, allocations: 25.7 kB / 332.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.09746, allocations: 88.08 kB / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.09747, allocations: 4 kB / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.09751, allocations: 21.7 kB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.09762, allocations: 310.8 kB / 333 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.09763, allocations: 3.938 kB / 333 MB, free: 14.47 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.09766, allocations: 8 kB / 333 MB, free: 14.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.09769, allocations: 12.8 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.0977, allocations: 3.984 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001061/0.09781, allocations: 41.73 kB / 333.1 MB, free: 14.4 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.09783, allocations: 4 kB / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.09784, allocations: 4 kB / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.09785, allocations: 0 / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.0979, allocations: 0 / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.09791, allocations: 0 / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.09795, allocations: 0 / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.09798, allocations: 11.98 kB / 333.1 MB, free: 14.38 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.847e-05/0.09809, allocations: 189 kB / 333.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.09816, allocations: 112.9 kB / 333.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.09821, allocations: 112.2 kB / 333.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.787e-05/0.09827, allocations: 184.2 kB / 333.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.795e-05/0.09833, allocations: 184.2 kB / 333.9 MB, free: 13.58 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.904e-05/0.0984, allocations: 176.3 kB / 334 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.09863, allocations: 413.2 kB / 334.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.09867, allocations: 104.9 kB / 334.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.09872, allocations: 105 kB / 334.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.366e-05/0.09878, allocations: 188.2 kB / 334.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-05/0.09889, allocations: 176.3 kB / 335 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.66e-05/0.09898, allocations: 176.3 kB / 335.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.857e-05/0.09906, allocations: 192.2 kB / 335.4 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.09921, allocations: 311.7 kB / 335.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.09929, allocations: 178.1 kB / 335.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.09937, allocations: 180.3 kB / 336 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.09948, allocations: 112.9 kB / 336.1 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.09956, allocations: 180.2 kB / 336.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.0996, allocations: 104.9 kB / 336.4 MB, free: 10.85 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.255e-05/0.09966, allocations: 87.28 kB / 336.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.09967, allocations: 4 kB / 336.5 MB, free: 10.76 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.09997, allocations: 43.98 kB / 336.5 MB, free: 10.72 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004658/0.1004, allocations: 273.4 kB / 336.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.1005, allocations: 11.98 kB / 336.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1005, allocations: 0 / 336.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.1005, allocations: 4.062 kB / 336.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1009, allocations: 463.6 kB / 337.3 MB, free: 9.973 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.1011, allocations: 164.3 kB / 337.4 MB, free: 9.785 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1014, allocations: 0.6768 MB / 338.1 MB, free: 9.082 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.1014, allocations: 11.98 kB / 338.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.1014, allocations: 11.44 kB / 338.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1014, allocations: 0 / 338.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of Templates: time 0.003615/0.105, allocations: 1.098 MB / 339.2 MB, free: 7.961 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches