Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0006723/0.0006723, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008694/0.001542, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006946/0.0006946, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000796/0.001491, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9457/0.9457, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07242/1.018, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.068e-05, allocations: 10.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.01869/0.0187, allocations: 25.21 MB / 269.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.02089, allocations: 2.459 MB / 272.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.615e-05/0.02099, allocations: 7.938 kB / 272.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.02125, allocations: 127.2 kB / 272.3 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.02158, allocations: 389.5 kB / 272.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1038/0.1254, allocations: 6.216 MB / 278.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1266, allocations: 1.141 MB / 280.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.1268, allocations: 99.02 kB / 280.2 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.1309, allocations: 3.268 MB / 283.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.1313, allocations: 363 kB / 283.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.932e-05/0.1313, allocations: 58.62 kB / 283.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009773/0.1411, allocations: 9.483 MB / 293.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.1413, allocations: 196.8 kB / 293.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.1414, allocations: 194.1 kB / 293.7 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.1464, allocations: 4.778 MB / 298.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.1464, allocations: 0 / 298.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1464, allocations: 0 / 298.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1464, allocations: 0 / 298.5 MB, free: 13.74 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002154/0.1485, allocations: 1.716 MB / 300.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.1486, allocations: 8.031 kB / 300.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.1488, allocations: 178.4 kB / 300.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1491, allocations: 259.2 kB / 300.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1491, allocations: 35.25 kB / 300.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.1492, allocations: 51.95 kB / 300.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.1497, allocations: 0.6304 MB / 301.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1497, allocations: 1.484 kB / 301.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.1498, allocations: 16 kB / 301.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1498, allocations: 12 kB / 301.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.1502, allocations: 266.1 kB / 301.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004968/0.1551, allocations: 3.088 MB / 304.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.1556, allocations: 314 kB / 305 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.1557, allocations: 100.5 kB / 305.1 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00416/0.1599, allocations: 2.393 MB / 307.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1599, allocations: 39.06 kB / 307.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.472e-06/0.1599, allocations: 0 / 307.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002323/0.1622, allocations: 1.252 MB / 308.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.1622, allocations: 63.66 kB / 308.9 MB, free: 3.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1624, allocations: 221.7 kB / 309.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1624, allocations: 37.7 kB / 309.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.1625, allocations: 195.4 kB / 309.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/0.1625, allocations: 203.1 kB / 309.5 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1626, allocations: 111.9 kB / 309.6 MB, free: 2.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.1627, allocations: 347.6 kB / 310 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.1628, allocations: 76.11 kB / 310.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.163, allocations: 168 kB / 310.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1634, allocations: 313.7 kB / 310.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1634, allocations: 0 / 310.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000667/0.1641, allocations: 416.9 kB / 310.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1641, allocations: 13.66 kB / 310.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1641, allocations: 8.219 kB / 311 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.1643, allocations: 83.28 kB / 311 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.1647, allocations: 154.4 kB / 311.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.1661, allocations: 2.95 MB / 314.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1662, allocations: 16 kB / 314.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.1662, allocations: 27.98 kB / 314.2 MB, free: 13.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.1663, allocations: 146.3 kB / 314.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.1665, allocations: 87.47 kB / 314.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/0.1671, allocations: 0.5095 MB / 314.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1671, allocations: 4 kB / 314.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.1671, allocations: 0 / 314.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000366/0.1675, allocations: 474.1 kB / 315.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.1682, allocations: 0.7457 MB / 316.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1682, allocations: 4 kB / 316.1 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.1685, allocations: 122.3 kB / 316.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.1685, allocations: 27.8 kB / 316.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.1689, allocations: 142.8 kB / 316.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.169, allocations: 15.98 kB / 316.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001926/0.1692, allocations: 0.6096 MB / 317 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1692, allocations: 0 / 317 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.1697, allocations: 0.5596 MB / 317.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.1698, allocations: 12 kB / 317.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1699, allocations: 20.05 kB / 317.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.17, allocations: 39.19 kB / 317.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.17, allocations: 27.97 kB / 317.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.048e-05/0.1701, allocations: 81.3 kB / 317.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1701, allocations: 0 / 317.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001941/0.172, allocations: 1.337 MB / 319.1 MB, free: 8.859 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002906/0.1749, allocations: 1.926 MB / 321 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007882/0.1757, allocations: 0.5087 MB / 321.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.1757, allocations: 8.547 kB / 321.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.1759, allocations: 162.9 kB / 321.7 MB, free: 6.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.1765, allocations: 286.9 kB / 322 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.1809, allocations: 0.8919 MB / 322.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.181, allocations: 130.9 kB / 323 MB, free: 5.055 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.1812, allocations: 107.4 kB / 323.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.1817, allocations: 260.6 kB / 323.4 MB, free: 4.699 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1817, allocations: 0 / 323.4 MB, free: 4.699 MB / 298.7 MB Notification: Performance of Templates: time 0.04572/0.2274, allocations: 51.12 MB / 374.5 MB, free: 1.84 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 6.350431787781417]