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.001513/0.001513, allocations: 110.1 kB / 18.4 MB, free: 4.566 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.001399/0.001399, allocations: 190.3 kB / 19.33 MB, free: 3.648 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.382/1.382, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00121/0.00121, allocations: 43.94 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09422, allocations: 46.62 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003331/0.09759, allocations: 2.262 MB / 378.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.0988, allocations: 0.7806 MB / 378.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.09887, allocations: 0 / 378.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.863e-05/0.09896, allocations: 7.984 kB / 378.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.09907, allocations: 11.92 kB / 378.9 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.09968, allocations: 215.4 kB / 379.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.608e-05/0.09976, allocations: 19.92 kB / 379.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.09981, allocations: 4 kB / 379.1 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.09985, allocations: 7.938 kB / 379.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.09992, allocations: 11.97 kB / 379.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.09994, allocations: 7.938 kB / 379.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1002, allocations: 191.7 kB / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1003, allocations: 3.984 kB / 379.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1003, allocations: 7.938 kB / 379.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1005, allocations: 131.7 kB / 379.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1005, allocations: 0 / 379.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1006, allocations: 0 / 379.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1006, allocations: 4 kB / 379.5 MB, free: 0.9258 MB / 318.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.0003684/0.1009, allocations: 355.4 kB / 379.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.101, allocations: 8.031 kB / 379.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.101, allocations: 0.9375 kB / 379.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1012, allocations: 176.3 kB / 380 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1012, allocations: 4.312 kB / 380 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.1012, allocations: 384 / 380 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.996e-05/0.1013, allocations: 34.02 kB / 380 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1013, allocations: 0 / 380 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1013, allocations: 8 kB / 380 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1013, allocations: 0 / 380 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.1014, allocations: 0 / 380 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1978/0.2992, allocations: 400.8 kB / 380.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.352e-05/0.2993, allocations: 170 kB / 380.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.2994, allocations: 81.3 kB / 380.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.2994, allocations: 75.28 kB / 380.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.2995, allocations: 110.4 kB / 380.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 2.545e-06/0.2995, allocations: 0 / 380.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001242/0.2996, allocations: 33.42 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.2997, allocations: 154.7 kB / 381 MB, free: 12.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2998, allocations: 119.1 kB / 381.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2998, allocations: 25.7 kB / 381.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.2999, allocations: 96.61 kB / 381.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-06/0.2999, allocations: 1.016 kB / 381.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.2999, allocations: 15.77 kB / 381.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.3, allocations: 316.6 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.3, allocations: 2.234 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.3, allocations: 5.219 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.033e-05/0.3001, allocations: 14.53 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3001, allocations: 1.203 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001213/0.3002, allocations: 40.78 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3002, allocations: 8.438 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3002, allocations: 0 / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3003, allocations: 1.406 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.3003, allocations: 1.531 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3003, allocations: 0 / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.3004, allocations: 9.984 kB / 381.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3004, allocations: 4.562 kB / 381.7 MB, free: 11.91 MB / 318.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 6.897e-05/0.3005, allocations: 188 kB / 381.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.3005, allocations: 107 kB / 382 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.3006, allocations: 110 kB / 382.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/0.3006, allocations: 181.5 kB / 382.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-05/0.3007, allocations: 182.3 kB / 382.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/0.3007, allocations: 180.9 kB / 382.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.3009, allocations: 409 kB / 383 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.3009, allocations: 107.7 kB / 383.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.3009, allocations: 106.4 kB / 383.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.391e-05/0.3009, allocations: 190.6 kB / 383.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.301, allocations: 179 kB / 383.6 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.459e-05/0.301, allocations: 181.6 kB / 383.8 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.693e-05/0.301, allocations: 181.6 kB / 383.9 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.269e-05/0.3011, allocations: 313 kB / 384.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.3011, allocations: 181 kB / 384.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.3012, allocations: 186.2 kB / 384.6 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.3013, allocations: 107.9 kB / 384.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.3013, allocations: 180.8 kB / 384.9 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3013, allocations: 105.8 kB / 385 MB, free: 8.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.3014, allocations: 94.05 kB / 385.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3014, allocations: 0 / 385.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.3017, allocations: 46.39 kB / 385.1 MB, free: 8.422 MB / 318.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.000519/0.3022, allocations: 265.2 kB / 385.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.242e-05/0.3023, allocations: 10.22 kB / 385.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3024, allocations: 0 / 385.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-06/0.3024, allocations: 9.156 kB / 385.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.3026, allocations: 462 kB / 385.8 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001922/0.3028, allocations: 192.2 kB / 386 MB, free: 7.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.303, allocations: 0.6759 MB / 386.7 MB, free: 6.895 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.303, allocations: 11.53 kB / 386.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.303, allocations: 0 / 386.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of Templates: time 0.003231/0.3062, allocations: 1.121 MB / 387.8 MB, free: 6.805 MB / 318.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