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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001728/0.001728, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 59.89 kB / 378.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2455, allocations: 53.37 MB / 432.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00244/0.2479, allocations: 1.371 MB / 433.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.2625, allocations: 12.21 MB / 445.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.2625, allocations: 4 kB / 445.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.2625, allocations: 3.938 kB / 445.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.2653, allocations: 1.051 MB / 446.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.2669, allocations: 0.6448 MB / 447.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.267, allocations: 59.73 kB / 447.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.2671, allocations: 3.984 kB / 447.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.2671, allocations: 31.91 kB / 447.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.2672, allocations: 31.91 kB / 447.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2672, allocations: 4 kB / 447.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.2703, allocations: 1.65 MB / 449.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.2703, allocations: 11.94 kB / 449.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.2703, allocations: 23.91 kB / 449.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.2722, allocations: 1.08 MB / 450.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2723, allocations: 0 / 450.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2723, allocations: 0 / 450.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2723, allocations: 0 / 450.3 MB, free: 4.836 MB / 350.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.0007947/0.2731, allocations: 488.2 kB / 450.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2731, allocations: 8.031 kB / 450.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.2732, allocations: 12.88 kB / 450.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2734, allocations: 118.5 kB / 450.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2734, allocations: 384 / 450.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.2734, allocations: 12.36 kB / 450.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2736, allocations: 71.45 kB / 451 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2736, allocations: 3.984 kB / 451 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2736, allocations: 0 / 451 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2736, allocations: 7.938 kB / 451 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.2737, allocations: 19.98 kB / 451 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.2739, allocations: 157.6 kB / 451.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.2742, allocations: 77.06 kB / 451.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.2743, allocations: 25.77 kB / 451.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005889/0.2801, allocations: 1.498 MB / 452.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.2802, allocations: 42.42 kB / 452.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.2802, allocations: 0 / 452.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.00031/0.2805, allocations: 77.61 kB / 452.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.2806, allocations: 81.11 kB / 453 MB, free: 1.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2807, allocations: 113.8 kB / 453.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.2807, allocations: 29.7 kB / 453.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.2807, allocations: 84.14 kB / 453.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.2808, allocations: 23.83 kB / 453.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.2808, allocations: 17.72 kB / 453.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.281, allocations: 318.8 kB / 453.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.281, allocations: 8 kB / 453.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.2811, allocations: 29.7 kB / 453.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.2812, allocations: 42.02 kB / 453.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2812, allocations: 0 / 453.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001765/0.2814, allocations: 73.55 kB / 453.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2814, allocations: 8 kB / 453.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2814, allocations: 0 / 453.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2814, allocations: 0 / 453.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.2815, allocations: 27.92 kB / 453.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2815, allocations: 320 / 453.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.2815, allocations: 3.938 kB / 453.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.2815, allocations: 7.938 kB / 453.7 MB, free: 1.164 MB / 350.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 8.134e-05/0.2816, allocations: 105.8 kB / 453.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.2817, allocations: 16.02 kB / 453.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.2819, allocations: 105.5 kB / 454 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2819, allocations: 4 kB / 454 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2819, allocations: 0 / 454 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2819, allocations: 0 / 454 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.2821, allocations: 140.7 kB / 454.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2821, allocations: 3.938 kB / 454.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.2821, allocations: 15.92 kB / 454.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2821, allocations: 4 kB / 454.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.2821, allocations: 4 kB / 454.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2821, allocations: 0 / 454.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2822, allocations: 0 / 454.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2824, allocations: 101.9 kB / 454.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.2824, allocations: 11.92 kB / 454.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.2824, allocations: 4 kB / 454.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.2825, allocations: 8 kB / 454.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.2825, allocations: 11.86 kB / 454.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.2825, allocations: 4 kB / 454.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.2826, allocations: 95.27 kB / 454.4 MB, free: 472 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2826, allocations: 0 / 454.4 MB, free: 472 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007489/0.2834, allocations: 326.8 kB / 454.7 MB, free: 144 kB / 350.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.001191/0.2846, allocations: 0.5838 MB / 455.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.2847, allocations: 35.86 kB / 455.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2847, allocations: 0 / 455.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.2848, allocations: 15.98 kB / 455.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.285, allocations: 22.83 kB / 455.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.2854, allocations: 164.4 kB / 455.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.2857, allocations: 0.6807 MB / 456.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.2858, allocations: 52.09 kB / 456.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.2859, allocations: 19.42 kB / 456.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2859, allocations: 0 / 456.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Templates: time 0.01495/0.3008, allocations: 9.021 MB / 465.3 MB, free: 5.477 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.479467467404902]