Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 85.17 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008926/0.0008926, allocations: 141.2 kB / 24.89 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9263/0.9263, allocations: 173.3 MB / 201.5 MB, free: 9.199 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.966e-05, allocations: 2.312 kB / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.116/0.116, allocations: 24.93 MB / 293.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.1186, allocations: 2.433 MB / 295.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1187, allocations: 7.344 kB / 295.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.1191, allocations: 121.6 kB / 296 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005112/0.1196, allocations: 394.8 kB / 296.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01058/0.1302, allocations: 6.812 MB / 303.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009024/0.1311, allocations: 1.138 MB / 304.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.1313, allocations: 101.2 kB / 304.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.1343, allocations: 3.531 MB / 307.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.1346, allocations: 357.1 kB / 308.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.1347, allocations: 60.34 kB / 308.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008295/0.143, allocations: 8.91 MB / 317.3 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1431, allocations: 240.8 kB / 317.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.1433, allocations: 241.5 kB / 317.7 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0049/0.1482, allocations: 6.135 MB / 323.9 MB, free: 68 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1482, allocations: 4 kB / 323.9 MB, free: 64 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1482, allocations: 0 / 323.9 MB, free: 64 kB / 266.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1482, allocations: 4 kB / 323.9 MB, free: 60 kB / 266.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.001723/0.1499, allocations: 1.241 MB / 325.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1499, allocations: 12.03 kB / 325.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.1502, allocations: 100.8 kB / 325.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1504, allocations: 259.2 kB / 325.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1505, allocations: 29 kB / 325.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.1505, allocations: 52 kB / 325.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.1511, allocations: 0.6226 MB / 326.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1511, allocations: 11.88 kB / 326.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.1511, allocations: 24 kB / 326.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1511, allocations: 8 kB / 326.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.1516, allocations: 265.8 kB / 326.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005091/0.1566, allocations: 3.099 MB / 329.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.1571, allocations: 322.2 kB / 329.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1572, allocations: 91.97 kB / 330 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00405/0.1613, allocations: 2.41 MB / 332.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1613, allocations: 49.3 kB / 332.4 MB, free: 7.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.764e-06/0.1613, allocations: 0 / 332.4 MB, free: 7.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002341/0.1637, allocations: 1.185 MB / 333.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.1637, allocations: 55.91 kB / 333.7 MB, free: 6.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1638, allocations: 223.5 kB / 333.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.1638, allocations: 37.7 kB / 333.9 MB, free: 6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.1639, allocations: 210.1 kB / 334.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.164, allocations: 196 kB / 334.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.1641, allocations: 108.6 kB / 334.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.1642, allocations: 351.1 kB / 334.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.743e-05/0.1643, allocations: 68.11 kB / 334.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.1645, allocations: 170.6 kB / 335 MB, free: 4.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.1649, allocations: 314.1 kB / 335.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1649, allocations: 4 kB / 335.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006765/0.1656, allocations: 427.6 kB / 335.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1656, allocations: 7.938 kB / 335.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1656, allocations: 4 kB / 335.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.1658, allocations: 83.14 kB / 335.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.1661, allocations: 127.8 kB / 336 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.1673, allocations: 2.948 MB / 338.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1674, allocations: 12 kB / 338.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.1674, allocations: 31.98 kB / 338.9 MB, free: 0.75 MB / 282.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.0001164/0.1676, allocations: 140.5 kB / 339.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.1677, allocations: 87.47 kB / 339.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.1683, allocations: 0.5118 MB / 339.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1683, allocations: 7.984 kB / 339.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1683, allocations: 0 / 339.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000385/0.1687, allocations: 471.3 kB / 340.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/0.1695, allocations: 0.7419 MB / 340.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1695, allocations: 4 kB / 340.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.1697, allocations: 94.98 kB / 341 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.1701, allocations: 138.1 kB / 341.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.1701, allocations: 16 kB / 341.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001982/0.1703, allocations: 0.6031 MB / 341.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1703, allocations: 8.047 kB / 341.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.171, allocations: 0.5621 MB / 342.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.171, allocations: 35.8 kB / 342.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.171, allocations: 12 kB / 342.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.1712, allocations: 19.98 kB / 342.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1712, allocations: 36.38 kB / 342.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.1713, allocations: 23.97 kB / 342.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.696e-05/0.1713, allocations: 82.55 kB / 342.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1713, allocations: 0 / 342.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002076/0.1734, allocations: 1.294 MB / 343.8 MB, free: 11.77 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.003096/0.1765, allocations: 1.865 MB / 345.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005691/0.1771, allocations: 0.5152 MB / 346.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.1771, allocations: 4 kB / 346.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1773, allocations: 159 kB / 346.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.1778, allocations: 241.8 kB / 346.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.179, allocations: 0.8729 MB / 347.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.796e-05/0.1791, allocations: 130.9 kB / 347.6 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.1793, allocations: 99.33 kB / 347.7 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.1797, allocations: 257 kB / 347.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1797, allocations: 0 / 347.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of Templates: time 0.04703/0.2268, allocations: 49.45 MB / 397.4 MB, free: 6.434 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.375046581029892]