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.001071/0.001071, allocations: 104.1 kB / 18.36 MB, free: 4.641 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.001049/0.001049, allocations: 188.1 kB / 19.3 MB, free: 3.711 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.233/1.233, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001172/0.001172, allocations: 51.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06744/0.06862, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002955/0.07161, allocations: 2.26 MB / 331 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.07264, allocations: 0.7769 MB / 331.8 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.07268, allocations: 0 / 331.8 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.232e-05/0.07277, allocations: 15.98 kB / 331.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.07286, allocations: 7.938 kB / 331.8 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.07338, allocations: 207.5 kB / 332 MB, free: 480 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.033e-05/0.07345, allocations: 19.92 kB / 332 MB, free: 460 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.07349, allocations: 4 kB / 332 MB, free: 456 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.323e-05/0.07353, allocations: 11.94 kB / 332 MB, free: 444 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.07359, allocations: 19.91 kB / 332.1 MB, free: 424 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.07361, allocations: 4 kB / 332.1 MB, free: 420 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.07388, allocations: 187.7 kB / 332.2 MB, free: 232 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.0739, allocations: 4 kB / 332.2 MB, free: 228 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.07393, allocations: 11.92 kB / 332.3 MB, free: 216 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.07413, allocations: 119.8 kB / 332.4 MB, free: 96 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.07414, allocations: 0 / 332.4 MB, free: 96 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07415, allocations: 0 / 332.4 MB, free: 96 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.07416, allocations: 0 / 332.4 MB, free: 96 kB / 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.0002995/0.07446, allocations: 359.3 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.0745, allocations: 16.03 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.07454, allocations: 0.9375 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.07466, allocations: 176.3 kB / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.07467, allocations: 384 / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.07468, allocations: 384 / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.344e-05/0.07476, allocations: 34.02 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.07477, allocations: 0 / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.07479, allocations: 0 / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.07479, allocations: 0 / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.07482, allocations: 4 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.07511, allocations: 411.9 kB / 333.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.995e-05/0.07518, allocations: 165.1 kB / 333.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.07521, allocations: 80.14 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.07523, allocations: 75.28 kB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.07528, allocations: 117.8 kB / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.07529, allocations: 0 / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.321e-05/0.07536, allocations: 37.56 kB / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.0754, allocations: 77.11 kB / 333.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.0755, allocations: 125.7 kB / 334 MB, free: 14.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.07551, allocations: 25.7 kB / 334 MB, free: 14.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.07556, allocations: 84.14 kB / 334.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.07557, allocations: 4 kB / 334.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.07561, allocations: 17.7 kB / 334.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.0757, allocations: 314.8 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.07572, allocations: 0 / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.07574, allocations: 8 kB / 334.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.07577, allocations: 12.84 kB / 334.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.07577, allocations: 3.938 kB / 334.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.095e-05/0.07587, allocations: 41.77 kB / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.07589, allocations: 8 kB / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.0759, allocations: 0 / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.006e-06/0.07591, allocations: 0 / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-05/0.07595, allocations: 4 kB / 334.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.07596, allocations: 0 / 334.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.07601, allocations: 7.984 kB / 334.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.07603, allocations: 4 kB / 334.5 MB, free: 13.69 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 8.081e-05/0.07611, allocations: 189 kB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.07618, allocations: 112.9 kB / 334.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.07623, allocations: 108.5 kB / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-05/0.07628, allocations: 184.2 kB / 335.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/0.07632, allocations: 108.9 kB / 335.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.07638, allocations: 178.1 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.07644, allocations: 176.3 kB / 335.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.07654, allocations: 116.9 kB / 335.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.0766, allocations: 184.2 kB / 335.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.082e-05/0.07667, allocations: 259.5 kB / 336.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001316/0.07681, allocations: 379 kB / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.29e-05/0.07685, allocations: 113 kB / 336.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.078e-05/0.07691, allocations: 91.28 kB / 336.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of Backend: time 3.01e-07/0.07691, allocations: 0 / 336.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005718/0.07749, allocations: 181.2 kB / 336.9 MB, free: 11.24 MB / 286.1 MB Notification: Performance of SimCode: time 0.0003638/0.07787, allocations: 0.8466 MB / 337.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Templates: time 0.003127/0.08101, allocations: 1.054 MB / 338.8 MB, free: 9.293 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/jenkins1/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/jenkins1/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