Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 163.9 kB / 24.99 MB, free: 8.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9417/0.9417, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.302e-05, allocations: 2.312 kB / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001681/0.001704, allocations: 1.403 MB / 274.4 MB, free: 468 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009255/0.01096, allocations: 11.97 MB / 286.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.011, allocations: 0 / 286.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.01102, allocations: 7.922 kB / 286.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.01347, allocations: 1.045 MB / 287.5 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.01473, allocations: 0.6564 MB / 288.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.573e-05/0.01483, allocations: 67.66 kB / 288.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.01487, allocations: 3.984 kB / 288.2 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.01492, allocations: 39.91 kB / 288.2 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.015, allocations: 19.97 kB / 288.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.01501, allocations: 4 kB / 288.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.01697, allocations: 1.502 MB / 289.8 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.01698, allocations: 11.98 kB / 289.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.01702, allocations: 23.92 kB / 289.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1041/0.1211, allocations: 1.236 MB / 291 MB, free: 17.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1211, allocations: 1 kB / 291 MB, free: 17.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1211, allocations: 1.125 kB / 291 MB, free: 17.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1211, allocations: 0 / 291 MB, free: 17.63 MB / 266.7 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.0007694/0.1219, allocations: 0.5717 MB / 291.6 MB, free: 17.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1219, allocations: 9.906 kB / 291.6 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1221, allocations: 12.23 kB / 291.6 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1222, allocations: 127.8 kB / 291.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1222, allocations: 2.312 kB / 291.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1222, allocations: 4.844 kB / 291.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1224, allocations: 132.6 kB / 291.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.1224, allocations: 1.562 kB / 291.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1224, allocations: 4.031 kB / 291.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1224, allocations: 4.547 kB / 291.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.1224, allocations: 18.02 kB / 291.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.1226, allocations: 134.9 kB / 292 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1228, allocations: 90.77 kB / 292.1 MB, free: 16.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.1228, allocations: 24.83 kB / 292.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003099/0.1259, allocations: 1.509 MB / 293.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1259, allocations: 39.73 kB / 293.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1259, allocations: 1.406 kB / 293.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002027/0.1261, allocations: 74 kB / 293.8 MB, free: 16.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.1261, allocations: 82.98 kB / 293.9 MB, free: 16.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.1262, allocations: 172.3 kB / 294 MB, free: 16.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.1262, allocations: 30.77 kB / 294.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.885e-05/0.1262, allocations: 128.8 kB / 294.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1263, allocations: 23.36 kB / 294.2 MB, free: 16.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.1263, allocations: 26.31 kB / 294.2 MB, free: 16.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.1263, allocations: 499.8 kB / 294.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.1264, allocations: 9.25 kB / 294.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.1264, allocations: 25.02 kB / 294.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.1264, allocations: 39.55 kB / 294.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1264, allocations: 0 / 294.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.121e-05/0.1265, allocations: 63.83 kB / 294.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1265, allocations: 5.375 kB / 294.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1265, allocations: 4.5 kB / 294.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1265, allocations: 5.125 kB / 294.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.1266, allocations: 12.2 kB / 294.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1266, allocations: 3.938 kB / 294.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.1266, allocations: 2.875 kB / 294.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1266, allocations: 2.922 kB / 294.9 MB, free: 15.5 MB / 266.7 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.759e-05/0.1267, allocations: 164.4 kB / 295.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.1267, allocations: 8.516 kB / 295.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.1269, allocations: 105.1 kB / 295.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1269, allocations: 0.8125 kB / 295.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1269, allocations: 5.156 kB / 295.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1269, allocations: 0.6562 kB / 295.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.907e-05/0.1269, allocations: 122.8 kB / 295.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.127, allocations: 0.6562 kB / 295.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.127, allocations: 11.09 kB / 295.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.127, allocations: 1.703 kB / 295.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.127, allocations: 1.797 kB / 295.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.127, allocations: 1.219 kB / 295.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.127, allocations: 1.125 kB / 295.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.919e-05/0.1271, allocations: 121 kB / 295.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.1271, allocations: 16.16 kB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1271, allocations: 4.766 kB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-05/0.1272, allocations: 7.016 kB / 295.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1272, allocations: 9.891 kB / 295.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1272, allocations: 3.359 kB / 295.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.127e-05/0.1273, allocations: 137.6 kB / 295.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1273, allocations: 3.719 kB / 295.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006781/0.1279, allocations: 328.9 kB / 295.9 MB, free: 14.85 MB / 266.7 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.0008915/0.1288, allocations: 0.6186 MB / 296.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1289, allocations: 33.31 kB / 296.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1289, allocations: 1.031 kB / 296.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.129, allocations: 27.59 kB / 296.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.1291, allocations: 19.73 kB / 296.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.1297, allocations: 178.9 kB / 296.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.662e-05/0.1297, allocations: 57.94 kB / 296.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.468e-05/0.1298, allocations: 51 kB / 296.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1299, allocations: 22.95 kB / 296.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1299, allocations: 1.219 kB / 296.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Templates: time 0.01113/0.141, allocations: 9.254 MB / 306.2 MB, free: 11.74 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.0271293059922755]