Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001331/0.001331, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001404/0.001404, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.441/1.441, allocations: 230.2 MB / 254.5 MB, free: 15.24 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.89 kB / 373.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1015, allocations: 53.32 MB / 427.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002494/0.104, allocations: 1.381 MB / 428.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2122/0.3162, allocations: 23.69 MB / 452.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.3162, allocations: 1.094 kB / 452.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.3163, allocations: 10.84 kB / 452.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02391/0.3402, allocations: 6.02 MB / 458.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3413, allocations: 342.8 kB / 458.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.3415, allocations: 78.98 kB / 458.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.3415, allocations: 8.5 kB / 458.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.3416, allocations: 31.89 kB / 458.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3417, allocations: 34.33 kB / 458.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3417, allocations: 4.719 kB / 458.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01753/0.3592, allocations: 8.993 MB / 467.7 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.3593, allocations: 19.3 kB / 467.7 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.3594, allocations: 34.97 kB / 467.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.3694, allocations: 4.393 MB / 472.2 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3694, allocations: 0 / 472.2 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3694, allocations: 0 / 472.2 MB, free: 2.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.3694, allocations: 1.344 kB / 472.2 MB, free: 2.422 MB / 366.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.002518/0.372, allocations: 0.9418 MB / 473.1 MB, free: 1.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.372, allocations: 8.812 kB / 473.1 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.3721, allocations: 7.484 kB / 473.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3723, allocations: 208.2 kB / 473.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3723, allocations: 7.938 kB / 473.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3723, allocations: 6.594 kB / 473.3 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3725, allocations: 65.2 kB / 473.4 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3725, allocations: 5.844 kB / 473.4 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3725, allocations: 0 / 473.4 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.3725, allocations: 3.984 kB / 473.4 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3726, allocations: 33.05 kB / 473.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.3728, allocations: 192.7 kB / 473.6 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.3731, allocations: 97.02 kB / 473.7 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.3732, allocations: 30.23 kB / 473.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.3733, allocations: 9.312 kB / 473.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3733, allocations: 35.97 kB / 473.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.3733, allocations: 0.6094 kB / 473.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003238/0.3736, allocations: 102.7 kB / 473.9 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.3737, allocations: 82.41 kB / 474 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3738, allocations: 138.6 kB / 474.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3738, allocations: 29.64 kB / 474.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.3739, allocations: 90.36 kB / 474.2 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3739, allocations: 18.02 kB / 474.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.374, allocations: 22.2 kB / 474.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3741, allocations: 320.9 kB / 474.6 MB, free: 240 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-05/0.3742, allocations: 15.36 kB / 474.6 MB, free: 236 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.3742, allocations: 32.64 kB / 474.6 MB, free: 212 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3744, allocations: 52.27 kB / 474.7 MB, free: 180 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3744, allocations: 1.062 kB / 474.7 MB, free: 180 kB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001996/0.3746, allocations: 81.64 kB / 474.8 MB, free: 128 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3746, allocations: 5.938 kB / 474.8 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3746, allocations: 0 / 474.8 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3746, allocations: 1.312 kB / 474.8 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.3747, allocations: 13.44 kB / 474.8 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3747, allocations: 1.5 kB / 474.8 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.3747, allocations: 5.734 kB / 474.8 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3747, allocations: 9.422 kB / 474.8 MB, free: 112 kB / 366.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 0.0001089/0.3748, allocations: 121.1 kB / 474.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3749, allocations: 3.562 kB / 474.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.3751, allocations: 108.6 kB / 475 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3751, allocations: 3.016 kB / 475 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3751, allocations: 0 / 475 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3751, allocations: 1.594 kB / 475 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.3753, allocations: 180 kB / 475.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3753, allocations: 5.469 kB / 475.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.3754, allocations: 13.17 kB / 475.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3754, allocations: 0 / 475.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3754, allocations: 1.438 kB / 475.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3754, allocations: 1.406 kB / 475.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3754, allocations: 0 / 475.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3756, allocations: 119.4 kB / 475.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.3757, allocations: 96.27 kB / 475.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3757, allocations: 0.9375 kB / 475.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.3758, allocations: 10.73 kB / 475.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3758, allocations: 2.812 kB / 475.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3758, allocations: 2.25 kB / 475.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.723e-05/0.3759, allocations: 112.2 kB / 475.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3759, allocations: 0 / 475.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002452/0.3784, allocations: 0.9544 MB / 476.5 MB, free: 15.16 MB / 382.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.004273/0.3826, allocations: 1.366 MB / 477.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3828, allocations: 52.98 kB / 478 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3828, allocations: 0 / 478 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.3829, allocations: 19.98 kB / 478 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3832, allocations: 22.33 kB / 478 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.3836, allocations: 189.7 kB / 478.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3839, allocations: 0.6807 MB / 478.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.384, allocations: 23.86 kB / 478.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.384, allocations: 15.44 kB / 478.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.384, allocations: 0 / 478.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of Templates: time 0.0401/0.4241, allocations: 27.27 MB / 0.4943 GB, free: 1.52 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 8.486888544633985]