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.0008153/0.0008153, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009433/0.0009433, allocations: 172.2 kB / 24.82 MB, free: 9.312 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.9062/0.9062, allocations: 177.1 MB / 205.3 MB, free: 5.512 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 2.164e-06/2.164e-06, allocations: 4 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.722e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001515/0.001532, allocations: 1.392 MB / 274.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008871/0.0104, allocations: 11.82 MB / 286.6 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.01044, allocations: 4 kB / 286.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.01046, allocations: 3.984 kB / 286.6 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.01254, allocations: 1.057 MB / 287.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.0136, allocations: 0.6641 MB / 288.3 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.01368, allocations: 63.7 kB / 288.4 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.01371, allocations: 4 kB / 288.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.073e-05/0.01377, allocations: 31.91 kB / 288.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.01385, allocations: 35.89 kB / 288.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.01386, allocations: 0 / 288.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.01556, allocations: 1.498 MB / 290 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.01558, allocations: 11.92 kB / 290 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.01561, allocations: 15.98 kB / 290 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1077/0.1233, allocations: 1.244 MB / 291.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1233, allocations: 0.9062 kB / 291.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1233, allocations: 2.781 kB / 291.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1233, allocations: 0 / 291.2 MB, free: 17.51 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.0007904/0.1241, allocations: 0.5749 MB / 291.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1241, allocations: 10.98 kB / 291.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1243, allocations: 13.41 kB / 291.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.532e-05/0.1243, allocations: 120 kB / 292 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1243, allocations: 6.906 kB / 292 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1244, allocations: 5.094 kB / 292 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1245, allocations: 132.5 kB / 292.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1245, allocations: 1.375 kB / 292.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1245, allocations: 3 kB / 292.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1245, allocations: 5.062 kB / 292.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.1246, allocations: 15.25 kB / 292.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.1247, allocations: 114.9 kB / 292.2 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1248, allocations: 88.17 kB / 292.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.1249, allocations: 23.22 kB / 292.3 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003436/0.1283, allocations: 1.444 MB / 293.8 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1283, allocations: 36.36 kB / 293.8 MB, free: 16.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1283, allocations: 0.6562 kB / 293.8 MB, free: 16.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001673/0.1285, allocations: 70.88 kB / 293.9 MB, free: 16.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.1285, allocations: 82.69 kB / 294 MB, free: 16.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.46e-05/0.1286, allocations: 174.5 kB / 294.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.1286, allocations: 25.7 kB / 294.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.1286, allocations: 132.5 kB / 294.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1286, allocations: 23.08 kB / 294.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1286, allocations: 26.38 kB / 294.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.1287, allocations: 0.4885 MB / 294.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.1287, allocations: 5.062 kB / 294.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.1287, allocations: 28.53 kB / 294.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.703e-05/0.1288, allocations: 37.34 kB / 294.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1288, allocations: 1.125 kB / 294.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.189e-05/0.1289, allocations: 57.88 kB / 295 MB, free: 15.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1289, allocations: 4.875 kB / 295 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1289, allocations: 6.078 kB / 295 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1289, allocations: 1.281 kB / 295 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.129, allocations: 10.86 kB / 295 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.129, allocations: 1.188 kB / 295 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.129, allocations: 5.672 kB / 295 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.129, allocations: 6.953 kB / 295 MB, free: 15.36 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.292e-05/0.129, allocations: 166.2 kB / 295.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.1291, allocations: 7.672 kB / 295.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.1292, allocations: 95.17 kB / 295.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1292, allocations: 1.922 kB / 295.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1292, allocations: 0 / 295.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1292, allocations: 5.812 kB / 295.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.02e-05/0.1293, allocations: 108.6 kB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1293, allocations: 1.781 kB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.1293, allocations: 11.14 kB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1293, allocations: 1.797 kB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.1293, allocations: 1.125 kB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1293, allocations: 1.953 kB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1293, allocations: 7.688 kB / 295.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.294e-05/0.1294, allocations: 115.2 kB / 295.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.1295, allocations: 12.27 kB / 295.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1295, allocations: 1.656 kB / 295.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.1295, allocations: 6.688 kB / 295.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.1295, allocations: 6 kB / 295.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.1296, allocations: 2.922 kB / 295.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.643e-05/0.1296, allocations: 131 kB / 295.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1296, allocations: 0 / 295.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007456/0.1303, allocations: 328.9 kB / 296 MB, free: 14.75 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.0009848/0.1313, allocations: 0.647 MB / 296.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.956e-05/0.1314, allocations: 35.7 kB / 296.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1314, allocations: 3.875 kB / 296.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.683e-05/0.1314, allocations: 19.56 kB / 296.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.1316, allocations: 22.62 kB / 296.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.1321, allocations: 178.7 kB / 296.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.543e-05/0.1321, allocations: 61.92 kB / 297 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.462e-05/0.1322, allocations: 45.89 kB / 297 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.1323, allocations: 104.2 kB / 297.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1323, allocations: 0 / 297.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Templates: time 0.0136/0.1459, allocations: 10.82 MB / 307.9 MB, free: 10.62 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: 3.4537909999489784]