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.0007515/0.0007515, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000907/0.000907, allocations: 206.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.8 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002078/0.0002078, allocations: 4 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08628, allocations: 51.53 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001249/0.08757, allocations: 1.089 MB / 360.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.17/0.2576, allocations: 12.19 MB / 372.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.2577, allocations: 0 / 372.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.2577, allocations: 7.969 kB / 372.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.2612, allocations: 0.8546 MB / 373.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.263, allocations: 0.5278 MB / 373.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2631, allocations: 66.44 kB / 374 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.2631, allocations: 2.859 kB / 374 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.2632, allocations: 28.5 kB / 374 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2633, allocations: 33.72 kB / 374.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.2633, allocations: 2.312 kB / 374.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.2671, allocations: 1.565 MB / 375.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.2671, allocations: 14.81 kB / 375.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.2672, allocations: 50.2 kB / 375.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.2694, allocations: 1.057 MB / 376.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2694, allocations: 2.094 kB / 376.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2694, allocations: 0 / 376.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.2694, allocations: 0 / 376.8 MB, free: 8.949 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.0006636/0.2701, allocations: 0.5324 MB / 377.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2701, allocations: 11.94 kB / 377.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.2703, allocations: 17.72 kB / 377.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.2704, allocations: 175.4 kB / 377.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2704, allocations: 2.359 kB / 377.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.2704, allocations: 4.75 kB / 377.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.2706, allocations: 73.8 kB / 377.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2706, allocations: 0 / 377.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2706, allocations: 1.375 kB / 377.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2706, allocations: 1.875 kB / 377.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.2707, allocations: 26.14 kB / 377.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.2709, allocations: 176.3 kB / 377.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.2711, allocations: 81.91 kB / 377.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.2712, allocations: 29.83 kB / 377.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006088/0.2773, allocations: 3.289 MB / 381.2 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2773, allocations: 42.16 kB / 381.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.2774, allocations: 0 / 381.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003173/0.2777, allocations: 80.66 kB / 381.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.2777, allocations: 78.77 kB / 381.4 MB, free: 5.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2778, allocations: 119.1 kB / 381.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.2778, allocations: 26.86 kB / 381.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.2779, allocations: 85.41 kB / 381.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.2779, allocations: 18.95 kB / 381.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.2779, allocations: 16.06 kB / 381.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.278, allocations: 316.3 kB / 381.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.278, allocations: 11.41 kB / 381.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.2781, allocations: 28.91 kB / 382 MB, free: 4.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.2782, allocations: 37.66 kB / 382 MB, free: 4.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2782, allocations: 2.984 kB / 382 MB, free: 4.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001586/0.2784, allocations: 70.11 kB / 382.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2784, allocations: 10.48 kB / 382.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2784, allocations: 0 / 382.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2785, allocations: 1.188 kB / 382.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.2785, allocations: 15.48 kB / 382.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2785, allocations: 4 kB / 382.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.2786, allocations: 3.094 kB / 382.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2786, allocations: 3.328 kB / 382.1 MB, free: 4.859 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 5.651e-05/0.2787, allocations: 118.7 kB / 382.2 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.2787, allocations: 10.09 kB / 382.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.279, allocations: 108 kB / 382.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.279, allocations: 5.812 kB / 382.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.279, allocations: 1.469 kB / 382.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.279, allocations: 0.9375 kB / 382.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.899e-05/0.2791, allocations: 166.6 kB / 382.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2791, allocations: 2.156 kB / 382.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.2792, allocations: 17.22 kB / 382.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.2792, allocations: 4.812 kB / 382.5 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2792, allocations: 2.375 kB / 382.5 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2792, allocations: 5.641 kB / 382.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2792, allocations: 1.219 kB / 382.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.2794, allocations: 95.81 kB / 382.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.2795, allocations: 94.59 kB / 382.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2795, allocations: 4.469 kB / 382.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.2796, allocations: 4.484 kB / 382.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.2796, allocations: 15.47 kB / 382.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.2796, allocations: 5.453 kB / 382.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.2797, allocations: 93.02 kB / 382.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2797, allocations: 2.672 kB / 382.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001074/0.2808, allocations: 322 kB / 383.2 MB, free: 4.18 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.001118/0.2819, allocations: 0.5753 MB / 383.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.2821, allocations: 42.3 kB / 383.8 MB, free: 4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2821, allocations: 1.375 kB / 383.8 MB, free: 4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.052e-05/0.2821, allocations: 23.56 kB / 383.8 MB, free: 4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.2823, allocations: 12.86 kB / 383.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.2827, allocations: 183.3 kB / 384 MB, free: 3.859 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.618e-05/0.2828, allocations: 0.6875 MB / 384.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.2829, allocations: 50.47 kB / 384.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.283, allocations: 19.61 kB / 384.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.283, allocations: 0 / 384.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of Templates: time 0.01303/0.296, allocations: 8.872 MB / 393.6 MB, free: 15.69 MB / 318.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