Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.0008817/0.0008817, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009035/0.0009035, allocations: 173.5 kB / 24.92 MB, free: 8.738 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.9282/0.9282, allocations: 177.1 MB / 205.3 MB, free: 5.09 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.83e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001493/0.001511, allocations: 1.421 MB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1179/0.1194, allocations: 23.26 MB / 298.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.1194, allocations: 1.125 kB / 298.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1195, allocations: 13.84 kB / 298.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.1308, allocations: 6.06 MB / 304.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.1313, allocations: 373.6 kB / 304.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1314, allocations: 77.98 kB / 304.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.1315, allocations: 2.625 kB / 304.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.1315, allocations: 48.81 kB / 304.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.57e-05/0.1316, allocations: 36.06 kB / 304.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1316, allocations: 3.25 kB / 304.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009512/0.1411, allocations: 8.413 MB / 313.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.1412, allocations: 18.53 kB / 313.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.1412, allocations: 15.41 kB / 313.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006093/0.1473, allocations: 5.511 MB / 318.7 MB, free: 3.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1473, allocations: 0 / 318.7 MB, free: 3.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1473, allocations: 0 / 318.7 MB, free: 3.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.1473, allocations: 0 / 318.7 MB, free: 3.539 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.001628/0.1489, allocations: 0.8351 MB / 319.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.149, allocations: 15.97 kB / 319.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.149, allocations: 4.938 kB / 319.5 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/0.1491, allocations: 132.5 kB / 319.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1491, allocations: 4.688 kB / 319.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1491, allocations: 4 kB / 319.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.929e-05/0.1492, allocations: 138.2 kB / 319.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1492, allocations: 0 / 319.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.1492, allocations: 0 / 319.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1492, allocations: 0 / 319.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.709e-05/0.1492, allocations: 17.64 kB / 319.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.234e-05/0.1493, allocations: 79.5 kB / 319.9 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1494, allocations: 72.53 kB / 320 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.1495, allocations: 17.72 kB / 320 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1495, allocations: 15.98 kB / 320 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.1495, allocations: 34.5 kB / 320 MB, free: 2.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1495, allocations: 2.953 kB / 320 MB, free: 2.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000103/0.1496, allocations: 57.61 kB / 320.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.1496, allocations: 85.05 kB / 320.2 MB, free: 1.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.1497, allocations: 133.7 kB / 320.3 MB, free: 1.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.1497, allocations: 33.7 kB / 320.3 MB, free: 1.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-06/0.1497, allocations: 80.14 kB / 320.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1497, allocations: 27.77 kB / 320.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.1497, allocations: 17.72 kB / 320.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.753e-05/0.1498, allocations: 318.8 kB / 320.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.1498, allocations: 6.828 kB / 320.8 MB, free: 1.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/0.1498, allocations: 19.03 kB / 320.8 MB, free: 1.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.1498, allocations: 39.28 kB / 320.8 MB, free: 1.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1498, allocations: 0 / 320.8 MB, free: 1.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.436e-05/0.1499, allocations: 59.34 kB / 320.9 MB, free: 1.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.1499, allocations: 4 kB / 320.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1499, allocations: 0 / 320.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1499, allocations: 3.938 kB / 320.9 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.603e-05/0.1499, allocations: 15.92 kB / 320.9 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.1499, allocations: 5.797 kB / 320.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.15, allocations: 0 / 320.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.15, allocations: 5.312 kB / 320.9 MB, free: 1.059 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 3.173e-05/0.15, allocations: 116.7 kB / 321 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.15, allocations: 14.61 kB / 321.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.626e-05/0.1501, allocations: 68.22 kB / 321.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1501, allocations: 7.938 kB / 321.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.1501, allocations: 0 / 321.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1501, allocations: 3.984 kB / 321.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.96e-05/0.1501, allocations: 78.52 kB / 321.2 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1501, allocations: 0 / 321.2 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.1502, allocations: 11.98 kB / 321.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1502, allocations: 0 / 321.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-06/0.1502, allocations: 0 / 321.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1502, allocations: 4.812 kB / 321.2 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1502, allocations: 4 kB / 321.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.005e-05/0.1502, allocations: 98.33 kB / 321.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.1502, allocations: 11.92 kB / 321.3 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.1503, allocations: 2.875 kB / 321.3 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.683e-05/0.1503, allocations: 4 kB / 321.4 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.1503, allocations: 11.92 kB / 321.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1503, allocations: 4 kB / 321.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.781e-05/0.1503, allocations: 23.67 kB / 321.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1503, allocations: 0 / 321.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001253/0.1516, allocations: 0.9586 MB / 322.3 MB, free: 15.59 MB / 282.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.002401/0.154, allocations: 1.52 MB / 323.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.521e-05/0.1541, allocations: 32.55 kB / 323.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1541, allocations: 0 / 323.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.1541, allocations: 24.78 kB / 323.9 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.1542, allocations: 23.94 kB / 323.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.1546, allocations: 182.9 kB / 324.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.1547, allocations: 63.28 kB / 324.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.468e-05/0.1547, allocations: 18.94 kB / 324.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.1548, allocations: 75.34 kB / 324.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1548, allocations: 4 kB / 324.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of Templates: time 0.02762/0.1824, allocations: 31.85 MB / 356.1 MB, free: 13.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.569420604966581]