Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001014/0.001014, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.0008919/0.0008919, allocations: 143 kB / 24.89 MB, free: 8.789 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.9147/0.9147, allocations: 173.4 MB / 201.5 MB, free: 8.723 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.741e-05, allocations: 5.969 kB / 268.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1256/0.1256, allocations: 25.96 MB / 294.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.1285, allocations: 2.716 MB / 297.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1287, allocations: 13.28 kB / 297.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.1291, allocations: 167.3 kB / 297.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006198/0.1298, allocations: 0.5382 MB / 297.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00939/0.1391, allocations: 6.384 MB / 304.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1402, allocations: 1.615 MB / 305.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1404, allocations: 145.2 kB / 306.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005818/0.141, allocations: 0.8278 MB / 306.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004646/0.1415, allocations: 0.5078 MB / 307.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.1416, allocations: 86.88 kB / 307.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00892/0.1505, allocations: 9.453 MB / 316.9 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.1507, allocations: 354.5 kB / 317.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.1508, allocations: 336.8 kB / 317.6 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.155, allocations: 6.331 MB / 323.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.155, allocations: 0 / 323.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.155, allocations: 0 / 323.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.155, allocations: 0 / 323.9 MB, free: 0.5156 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001526/0.1565, allocations: 1.427 MB / 325.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.1566, allocations: 12.92 kB / 325.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.1568, allocations: 152.2 kB / 325.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.1572, allocations: 317.6 kB / 325.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.1572, allocations: 52.62 kB / 325.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.1573, allocations: 68 kB / 326 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/0.158, allocations: 0.844 MB / 326.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.158, allocations: 0 / 326.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.1581, allocations: 28 kB / 326.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1581, allocations: 19.98 kB / 326.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.1587, allocations: 358.1 kB / 327.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005459/0.1641, allocations: 3.431 MB / 330.6 MB, free: 9.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/0.1648, allocations: 454.5 kB / 331.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.165, allocations: 153.6 kB / 331.2 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004181/0.1692, allocations: 2.424 MB / 333.6 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1692, allocations: 43.22 kB / 333.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 1.663e-06/0.1692, allocations: 0 / 333.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.00402/0.1732, allocations: 2.067 MB / 335.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1732, allocations: 60.41 kB / 335.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1734, allocations: 252.9 kB / 336.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1734, allocations: 45.7 kB / 336.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.1735, allocations: 237.5 kB / 336.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.1737, allocations: 321.2 kB / 336.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1738, allocations: 150.6 kB / 336.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.1739, allocations: 362.7 kB / 337.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.174, allocations: 104.8 kB / 337.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.1743, allocations: 224.3 kB / 337.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.175, allocations: 446.2 kB / 337.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.175, allocations: 0 / 337.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009787/0.1759, allocations: 0.5918 MB / 338.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.176, allocations: 8.281 kB / 338.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.176, allocations: 4.078 kB / 338.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.1763, allocations: 131.8 kB / 338.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.1768, allocations: 211.7 kB / 338.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.1782, allocations: 3.558 MB / 342.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1784, allocations: 19.98 kB / 342.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.1784, allocations: 39.92 kB / 342.5 MB, free: 13.34 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0001476/0.1786, allocations: 156.5 kB / 342.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.1788, allocations: 131.2 kB / 342.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009222/0.1798, allocations: 0.7691 MB / 343.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1798, allocations: 16.06 kB / 343.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1798, allocations: 0 / 343.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006263/0.1804, allocations: 0.8195 MB / 344.3 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.1816, allocations: 1.04 MB / 345.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1816, allocations: 0 / 345.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.182, allocations: 183.7 kB / 345.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008284/0.1828, allocations: 294.9 kB / 345.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.1829, allocations: 31.92 kB / 345.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000388/0.1833, allocations: 1.208 MB / 347.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1833, allocations: 0 / 347.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009617/0.1842, allocations: 0.8147 MB / 347.9 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.1843, allocations: 43.83 kB / 347.9 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.1843, allocations: 23.94 kB / 348 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1845, allocations: 27.98 kB / 348 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.1846, allocations: 60.83 kB / 348.1 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.1846, allocations: 35.95 kB / 348.1 MB, free: 7.391 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.737e-05/0.1847, allocations: 100.6 kB / 348.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1847, allocations: 0 / 348.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001811/0.1865, allocations: 1.36 MB / 349.6 MB, free: 5.926 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003029/0.1896, allocations: 1.885 MB / 351.4 MB, free: 4.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007622/0.1903, allocations: 0.6736 MB / 352.1 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.1903, allocations: 8.188 kB / 352.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.1906, allocations: 274.1 kB / 352.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.1914, allocations: 351.1 kB / 352.7 MB, free: 2.723 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1929, allocations: 1.221 MB / 354 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.193, allocations: 173 kB / 354.1 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003377/0.1933, allocations: 141 kB / 354.3 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/0.194, allocations: 341 kB / 354.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.194, allocations: 0 / 354.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of Templates: time 0.04596/0.2399, allocations: 54.64 MB / 409.2 MB, free: 10.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 8.90379899693653]