Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 250.8 MB, free: 13.43 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 51.92 kB / 368.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2351, allocations: 52.14 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002402/0.2375, allocations: 1.37 MB / 422.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.2512, allocations: 12.18 MB / 434.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.2512, allocations: 4 kB / 434.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.2513, allocations: 0 / 434.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.2543, allocations: 1.048 MB / 435.5 MB, free: 496 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.2559, allocations: 0.6253 MB / 436.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.256, allocations: 63.7 kB / 436.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.256, allocations: 7.938 kB / 436.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.2561, allocations: 31.91 kB / 436.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.2562, allocations: 31.91 kB / 436.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2562, allocations: 4 kB / 436.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.2592, allocations: 1.631 MB / 437.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.2592, allocations: 11.98 kB / 437.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.2593, allocations: 19.88 kB / 437.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.2613, allocations: 1.072 MB / 439 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2613, allocations: 7.938 kB / 439 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2613, allocations: 0 / 439 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.2613, allocations: 3.938 kB / 439 MB, free: 12.97 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.0007615/0.262, allocations: 0.5482 MB / 439.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2621, allocations: 12.03 kB / 439.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2622, allocations: 8.938 kB / 439.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.2624, allocations: 176.3 kB / 439.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2624, allocations: 12.31 kB / 439.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.2624, allocations: 384 / 439.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2626, allocations: 75.5 kB / 439.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2626, allocations: 0 / 439.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2626, allocations: 4 kB / 439.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2626, allocations: 0 / 439.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.2627, allocations: 23.91 kB / 439.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.2629, allocations: 174.6 kB / 440 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.2632, allocations: 81.12 kB / 440.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.2633, allocations: 25.78 kB / 440.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006611/0.2699, allocations: 3.305 MB / 443.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.2699, allocations: 46.5 kB / 443.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.2699, allocations: 0 / 443.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003569/0.2703, allocations: 89.55 kB / 443.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.2703, allocations: 77.11 kB / 443.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2704, allocations: 109.8 kB / 443.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.2704, allocations: 33.7 kB / 443.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.2705, allocations: 80.14 kB / 443.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.2705, allocations: 23.84 kB / 443.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.2706, allocations: 17.72 kB / 443.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2707, allocations: 318.8 kB / 444.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.2708, allocations: 12 kB / 444.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.936e-05/0.2708, allocations: 25.64 kB / 444.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.2709, allocations: 38.08 kB / 444.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2709, allocations: 0 / 444.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001674/0.2711, allocations: 77.53 kB / 444.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2711, allocations: 11.75 kB / 444.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2711, allocations: 4 kB / 444.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2711, allocations: 0 / 444.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.2712, allocations: 11.98 kB / 444.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2712, allocations: 4 kB / 444.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.2713, allocations: 7.891 kB / 444.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2713, allocations: 4 kB / 444.4 MB, free: 6.863 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 7.951e-05/0.2713, allocations: 113.8 kB / 444.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.2714, allocations: 7.938 kB / 444.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.2716, allocations: 113.7 kB / 444.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2716, allocations: 0 / 444.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2716, allocations: 0 / 444.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2716, allocations: 0 / 444.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.2718, allocations: 169.6 kB / 444.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2718, allocations: 0 / 444.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/0.2719, allocations: 19.92 kB / 444.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2719, allocations: 3.938 kB / 444.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.2719, allocations: 8 kB / 444.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2719, allocations: 3.938 kB / 444.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2719, allocations: 0 / 444.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.2721, allocations: 97.91 kB / 444.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.2721, allocations: 96.98 kB / 445 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.2722, allocations: 4.188 kB / 445 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.2722, allocations: 4 kB / 445 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.2723, allocations: 11.98 kB / 445 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.2723, allocations: 4 kB / 445 MB, free: 6.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.682e-05/0.2724, allocations: 91.27 kB / 445.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2724, allocations: 0 / 445.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008243/0.2732, allocations: 326.8 kB / 445.4 MB, free: 5.707 MB / 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.001118/0.2743, allocations: 0.576 MB / 446 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.2745, allocations: 39.91 kB / 446 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2745, allocations: 0 / 446 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.2745, allocations: 23.92 kB / 446.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.2747, allocations: 15.94 kB / 446.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.2751, allocations: 160 kB / 446.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.2754, allocations: 0.6846 MB / 446.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.2756, allocations: 48.11 kB / 447 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.2756, allocations: 23.42 kB / 447 MB, free: 4.074 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2756, allocations: 0 / 447 MB, free: 4.074 MB / 350.1 MB Notification: Performance of Templates: time 0.01473/0.2903, allocations: 9.006 MB / 456 MB, free: 11.06 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.443368964828551]