Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 210.5 kB / 18.58 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.8 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.02 kB / 306.9 MB, free: 0.6523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.09031, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00257/0.09291, allocations: 1.358 MB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.106, allocations: 12.12 MB / 370.9 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.1061, allocations: 0 / 370.9 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.1061, allocations: 7.922 kB / 370.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1498/0.2559, allocations: 1.04 MB / 372 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.2575, allocations: 0.636 MB / 372.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.051e-05/0.2576, allocations: 59.42 kB / 372.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.2576, allocations: 3.25 kB / 372.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.2577, allocations: 30.42 kB / 372.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.2577, allocations: 35.3 kB / 372.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2578, allocations: 3.562 kB / 372.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.261, allocations: 1.57 MB / 374.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.261, allocations: 12.83 kB / 374.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.2611, allocations: 32.25 kB / 374.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.2634, allocations: 1.063 MB / 375.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2634, allocations: 0 / 375.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.2634, allocations: 0 / 375.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.2634, allocations: 0 / 375.4 MB, free: 9.418 MB / 302.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.0006687/0.2641, allocations: 0.546 MB / 376 MB, free: 8.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2642, allocations: 13.03 kB / 376 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.2643, allocations: 8.859 kB / 376 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2644, allocations: 180.1 kB / 376.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2644, allocations: 2.844 kB / 376.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2644, allocations: 2.562 kB / 376.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2646, allocations: 73.64 kB / 376.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2646, allocations: 1.094 kB / 376.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2646, allocations: 0 / 376.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2646, allocations: 1.156 kB / 376.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.2648, allocations: 23.41 kB / 376.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.2649, allocations: 180.1 kB / 376.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.2652, allocations: 84.77 kB / 376.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.2652, allocations: 20.05 kB / 376.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005607/0.2708, allocations: 3.292 MB / 379.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.2709, allocations: 41 kB / 379.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2709, allocations: 0 / 379.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.00027/0.2712, allocations: 87.39 kB / 380 MB, free: 6.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.2712, allocations: 82.83 kB / 380 MB, free: 5.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.2713, allocations: 110.4 kB / 380.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.2713, allocations: 30.08 kB / 380.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.2713, allocations: 85.48 kB / 380.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.2713, allocations: 16.61 kB / 380.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.2714, allocations: 20.8 kB / 380.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.2714, allocations: 318.5 kB / 380.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.2715, allocations: 8.047 kB / 380.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/0.2715, allocations: 29.3 kB / 380.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.2716, allocations: 44.2 kB / 380.7 MB, free: 5.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2716, allocations: 3.188 kB / 380.7 MB, free: 5.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000147/0.2718, allocations: 71.69 kB / 380.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2718, allocations: 8.781 kB / 380.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2718, allocations: 1.578 kB / 380.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2718, allocations: 1.25 kB / 380.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.2719, allocations: 15.28 kB / 380.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2719, allocations: 4.5 kB / 380.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.272, allocations: 8.297 kB / 380.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.272, allocations: 3.062 kB / 380.8 MB, free: 5.305 MB / 302.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 4.724e-05/0.272, allocations: 117.2 kB / 380.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.2721, allocations: 11.81 kB / 380.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.2723, allocations: 108.6 kB / 381 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2723, allocations: 1.219 kB / 381 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2723, allocations: 1.125 kB / 381 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2723, allocations: 0.8906 kB / 381 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.122e-05/0.2724, allocations: 165.9 kB / 381.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2724, allocations: 0 / 381.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.2725, allocations: 11.78 kB / 381.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2725, allocations: 4.906 kB / 381.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.2725, allocations: 5.672 kB / 381.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2725, allocations: 1.031 kB / 381.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2725, allocations: 7.719 kB / 381.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.2727, allocations: 95.92 kB / 381.3 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.2728, allocations: 89.91 kB / 381.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.2728, allocations: 1.656 kB / 381.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.2729, allocations: 12.61 kB / 381.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.2729, allocations: 5.984 kB / 381.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.2729, allocations: 3.203 kB / 381.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.792e-05/0.273, allocations: 95.88 kB / 381.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.273, allocations: 0 / 381.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006944/0.2737, allocations: 323.1 kB / 381.9 MB, free: 4.637 MB / 302.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.001009/0.2747, allocations: 0.5751 MB / 382.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.2749, allocations: 40.03 kB / 382.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2749, allocations: 3.938 kB / 382.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.002e-05/0.275, allocations: 21.41 kB / 382.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.2752, allocations: 18.53 kB / 382.5 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.2755, allocations: 173.4 kB / 382.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.113e-05/0.2756, allocations: 0.684 MB / 383.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.2757, allocations: 51 kB / 383.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.2758, allocations: 18.52 kB / 383.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2758, allocations: 0 / 383.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of Templates: time 0.01204/0.2878, allocations: 8.989 MB / 392.4 MB, free: 0.4922 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches