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.001345/0.001345, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00152/0.00152, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.8768/0.8768, allocations: 177.1 MB / 205 MB, free: 4.703 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 2.956e-06/2.956e-06, allocations: 4 kB / 273 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.796e-05, allocations: 5.266 kB / 273 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002167/0.002185, allocations: 1.4 MB / 274.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1262/0.1284, allocations: 23.35 MB / 297.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.1284, allocations: 0 / 297.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.1285, allocations: 8.031 kB / 297.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.1386, allocations: 6.024 MB / 303.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.1391, allocations: 371.9 kB / 304.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.1392, allocations: 83.81 kB / 304.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.1392, allocations: 6.547 kB / 304.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.1393, allocations: 41.06 kB / 304.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.1393, allocations: 30.91 kB / 304.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1394, allocations: 6.344 kB / 304.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008141/0.1475, allocations: 8.426 MB / 312.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.1475, allocations: 19.05 kB / 312.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.1476, allocations: 28.19 kB / 312.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004703/0.1523, allocations: 5.5 MB / 318.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1523, allocations: 0 / 318.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1523, allocations: 0 / 318.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1523, allocations: 0 / 318.3 MB, free: 3.828 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.001227/0.1535, allocations: 0.9636 MB / 319.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1535, allocations: 12.03 kB / 319.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.1536, allocations: 12.89 kB / 319.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.437e-05/0.1537, allocations: 128.5 kB / 319.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1537, allocations: 8.75 kB / 319.4 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1537, allocations: 4 kB / 319.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1538, allocations: 133.1 kB / 319.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1538, allocations: 0 / 319.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1538, allocations: 0 / 319.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1538, allocations: 0 / 319.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.918e-05/0.1539, allocations: 22.69 kB / 319.5 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.154, allocations: 132.3 kB / 319.7 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1542, allocations: 94.31 kB / 319.8 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.1542, allocations: 23.31 kB / 319.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.1542, allocations: 11.98 kB / 319.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.1542, allocations: 49.27 kB / 319.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.1542, allocations: 0 / 319.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001464/0.1544, allocations: 69.56 kB / 319.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.47e-05/0.1544, allocations: 81.11 kB / 320 MB, free: 1.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.1545, allocations: 183.5 kB / 320.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.72e-06/0.1545, allocations: 25.7 kB / 320.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.832e-05/0.1545, allocations: 142.9 kB / 320.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1545, allocations: 19.83 kB / 320.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.1545, allocations: 23.38 kB / 320.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.199e-05/0.1546, allocations: 0.4884 MB / 320.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.1546, allocations: 4 kB / 320.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.1546, allocations: 31.36 kB / 320.9 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.1546, allocations: 40.14 kB / 320.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1546, allocations: 0 / 320.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.249e-05/0.1547, allocations: 69.56 kB / 321 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.1547, allocations: 11.94 kB / 321 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1547, allocations: 0 / 321 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1547, allocations: 4 kB / 321 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.641e-05/0.1548, allocations: 8 kB / 321 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1548, allocations: 0.625 kB / 321 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.1548, allocations: 4 kB / 321 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1548, allocations: 1.312 kB / 321 MB, free: 0.7891 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.557e-05/0.1548, allocations: 164.6 kB / 321.2 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.1549, allocations: 11.89 kB / 321.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.155, allocations: 84.36 kB / 321.3 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.155, allocations: 3.984 kB / 321.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.155, allocations: 0 / 321.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.155, allocations: 0 / 321.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.674e-05/0.155, allocations: 128.6 kB / 321.4 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.155, allocations: 3.984 kB / 321.4 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.155, allocations: 8 kB / 321.4 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.155, allocations: 0 / 321.4 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.155, allocations: 13.62 kB / 321.4 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.155, allocations: 0 / 321.4 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.155, allocations: 0 / 321.4 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.957e-05/0.1551, allocations: 104.1 kB / 321.5 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.1551, allocations: 19.88 kB / 321.6 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.1552, allocations: 7.938 kB / 321.6 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.1552, allocations: 3.984 kB / 321.6 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1552, allocations: 11.98 kB / 321.6 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1552, allocations: 0 / 321.6 MB, free: 164 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.402e-05/0.1552, allocations: 144.5 kB / 321.7 MB, free: 20 kB / 266.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1552, allocations: 3.938 kB / 321.7 MB, free: 16 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001186/0.1564, allocations: 0.9586 MB / 322.7 MB, free: 15.05 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.002437/0.1589, allocations: 1.47 MB / 324.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.159, allocations: 32.3 kB / 324.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.159, allocations: 0 / 324.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.159, allocations: 23.56 kB / 324.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.1592, allocations: 27.25 kB / 324.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.1597, allocations: 190.8 kB / 324.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.028e-05/0.1597, allocations: 55.36 kB / 324.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.1598, allocations: 15.97 kB / 324.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.1598, allocations: 20.5 kB / 324.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1598, allocations: 0 / 324.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of Templates: time 0.02841/0.1882, allocations: 33.96 MB / 358.5 MB, free: 11.21 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: 5.377676008269191]