Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001067/0.001067, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.33/1.33, allocations: 205.1 MB / 224.5 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.001169/0.001169, allocations: 51.94 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07924/0.08042, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002423/0.08288, allocations: 1.349 MB / 376.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1833/0.2662, allocations: 12.09 MB / 388.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.2663, allocations: 1.875 kB / 388.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.2663, allocations: 5.344 kB / 388.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.2696, allocations: 1.052 MB / 389.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.2714, allocations: 0.6317 MB / 390.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2716, allocations: 60.89 kB / 390.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.2716, allocations: 3.984 kB / 390.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.325e-05/0.2717, allocations: 31.94 kB / 390.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/0.2718, allocations: 35.27 kB / 390.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2718, allocations: 3 kB / 390.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/0.2752, allocations: 1.614 MB / 392 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.2752, allocations: 12.59 kB / 392 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.2753, allocations: 20.48 kB / 392 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.2773, allocations: 1.073 MB / 393.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2773, allocations: 1.125 kB / 393.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2773, allocations: 0 / 393.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2773, allocations: 0 / 393.1 MB, free: 4.117 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006584/0.278, allocations: 0.5431 MB / 393.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.278, allocations: 9.125 kB / 393.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.2781, allocations: 13.91 kB / 393.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2783, allocations: 177.4 kB / 393.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2783, allocations: 1.469 kB / 393.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2783, allocations: 2.594 kB / 393.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.2785, allocations: 73.36 kB / 393.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2785, allocations: 4 kB / 393.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2785, allocations: 1 kB / 393.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2785, allocations: 1.031 kB / 393.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.2786, allocations: 22.64 kB / 394 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.2788, allocations: 172.6 kB / 394.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.2791, allocations: 87.48 kB / 394.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.2791, allocations: 24.48 kB / 394.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006179/0.2853, allocations: 3.295 MB / 397.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2854, allocations: 39.56 kB / 397.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.2854, allocations: 0 / 397.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003272/0.2857, allocations: 75.7 kB / 397.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.2858, allocations: 82.78 kB / 397.7 MB, free: 432 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2859, allocations: 119.1 kB / 397.8 MB, free: 320 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.2859, allocations: 27.11 kB / 397.9 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.2859, allocations: 86.16 kB / 398 MB, free: 200 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.286, allocations: 16.67 kB / 398 MB, free: 188 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.286, allocations: 19.52 kB / 398 MB, free: 168 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.2861, allocations: 317.7 kB / 398.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.2862, allocations: 9.516 kB / 398.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.2862, allocations: 33.94 kB / 398.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.2864, allocations: 41.89 kB / 398.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2864, allocations: 3.938 kB / 398.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001972/0.2866, allocations: 66.55 kB / 398.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2866, allocations: 9.125 kB / 398.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2866, allocations: 1.125 kB / 398.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2866, allocations: 1.484 kB / 398.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.2867, allocations: 13.2 kB / 398.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2867, allocations: 7.938 kB / 398.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.2868, allocations: 11.08 kB / 398.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2868, allocations: 2.625 kB / 398.5 MB, free: 15.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 7.096e-05/0.2869, allocations: 108 kB / 398.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.2869, allocations: 9.125 kB / 398.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.2872, allocations: 107.6 kB / 398.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2872, allocations: 1.219 kB / 398.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2872, allocations: 4.312 kB / 398.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2872, allocations: 0.6562 kB / 398.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.2873, allocations: 174.4 kB / 398.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2874, allocations: 2.078 kB / 398.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.2874, allocations: 14.48 kB / 398.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2874, allocations: 4.812 kB / 398.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.2875, allocations: 2.938 kB / 398.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2875, allocations: 4.656 kB / 398.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2875, allocations: 1.156 kB / 398.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.2877, allocations: 95.36 kB / 399 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.2877, allocations: 91.34 kB / 399.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.2878, allocations: 2.547 kB / 399.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.2878, allocations: 6.578 kB / 399.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.2879, allocations: 10.92 kB / 399.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2879, allocations: 6.75 kB / 399.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.497e-05/0.288, allocations: 92.31 kB / 399.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.288, allocations: 0 / 399.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009683/0.2889, allocations: 325.7 kB / 399.5 MB, free: 14.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.001144/0.2901, allocations: 0.5786 MB / 400.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.2903, allocations: 39.67 kB / 400.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2903, allocations: 1.5 kB / 400.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.2904, allocations: 15.22 kB / 400.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.2906, allocations: 11.36 kB / 400.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.291, allocations: 167.3 kB / 400.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.2912, allocations: 0.6826 MB / 401 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.2914, allocations: 51.61 kB / 401.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.2914, allocations: 22.58 kB / 401.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2914, allocations: 0 / 401.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Templates: time 0.0136/0.305, allocations: 8.983 MB / 410.1 MB, free: 9.871 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches