Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002427, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008016/0.0008016, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008733/0.001675, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9433/0.9433, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07957/1.023, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.322e-05, allocations: 6.25 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.02231/0.02234, allocations: 26.19 MB / 271.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.02515, allocations: 2.744 MB / 274 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.02532, allocations: 7.938 kB / 274 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.02565, allocations: 163 kB / 274.1 MB, free: 432 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09903/0.1247, allocations: 0.5387 MB / 274.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.1351, allocations: 6.358 MB / 281 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.1363, allocations: 1.618 MB / 282.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.1365, allocations: 146.8 kB / 282.8 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000832/0.1374, allocations: 0.8504 MB / 283.6 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.1379, allocations: 0.5083 MB / 284.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.138, allocations: 83.41 kB / 284.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01156/0.1496, allocations: 9.583 MB / 293.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.1498, allocations: 281.9 kB / 294.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.1501, allocations: 272.9 kB / 294.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006358/0.1565, allocations: 4.952 MB / 299.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.1565, allocations: 3.984 kB / 299.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1565, allocations: 0 / 299.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.1565, allocations: 0 / 299.3 MB, free: 11.83 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003131/0.1597, allocations: 1.947 MB / 301.3 MB, free: 9.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1597, allocations: 8.625 kB / 301.3 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.16, allocations: 236.2 kB / 301.5 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.1604, allocations: 306.5 kB / 301.8 MB, free: 9.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.1605, allocations: 50.62 kB / 301.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.112e-05/0.1605, allocations: 77.2 kB / 301.9 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.1613, allocations: 0.845 MB / 302.8 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1614, allocations: 7.094 kB / 302.8 MB, free: 8.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.1614, allocations: 28 kB / 302.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1614, allocations: 16 kB / 302.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.162, allocations: 358.1 kB / 303.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005563/0.1675, allocations: 3.422 MB / 306.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/0.1682, allocations: 454.4 kB / 307 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1683, allocations: 154.9 kB / 307.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004038/0.1724, allocations: 2.41 MB / 309.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1724, allocations: 47.22 kB / 309.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 1.804e-06/0.1724, allocations: 0 / 309.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.00384/0.1762, allocations: 2.081 MB / 311.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.1763, allocations: 60.41 kB / 311.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1764, allocations: 255.1 kB / 312 MB, free: 15.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.1765, allocations: 45.7 kB / 312.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.1765, allocations: 229 kB / 312.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.1767, allocations: 318.1 kB / 312.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.1768, allocations: 160.6 kB / 312.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.1769, allocations: 362.8 kB / 313.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1771, allocations: 108.2 kB / 313.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.1773, allocations: 231 kB / 313.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.1779, allocations: 432.9 kB / 313.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1779, allocations: 4 kB / 313.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009202/0.1788, allocations: 0.5858 MB / 314.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1788, allocations: 4 kB / 314.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1789, allocations: 4 kB / 314.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/0.1792, allocations: 138.9 kB / 314.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.1797, allocations: 230.4 kB / 314.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.1811, allocations: 3.549 MB / 318.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1812, allocations: 24.3 kB / 318.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.1813, allocations: 39.97 kB / 318.4 MB, free: 8.566 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.0001436/0.1814, allocations: 162 kB / 318.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.1817, allocations: 139.1 kB / 318.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008792/0.1825, allocations: 0.7614 MB / 319.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1826, allocations: 8 kB / 319.5 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1826, allocations: 0 / 319.5 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000595/0.1831, allocations: 0.8272 MB / 320.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.1843, allocations: 1.052 MB / 321.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1843, allocations: 0 / 321.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.1847, allocations: 205.9 kB / 321.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.1848, allocations: 35.72 kB / 321.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007699/0.1855, allocations: 294.4 kB / 321.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.1856, allocations: 27.98 kB / 321.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003704/0.186, allocations: 1.194 MB / 323.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.186, allocations: 7.938 kB / 323.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.1869, allocations: 0.8171 MB / 324 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.1869, allocations: 20 kB / 324 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.1871, allocations: 40.08 kB / 324 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.1872, allocations: 60.83 kB / 324.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.1872, allocations: 31.97 kB / 324.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.594e-05/0.1873, allocations: 99.92 kB / 324.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1873, allocations: 0 / 324.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002525/0.1898, allocations: 1.403 MB / 325.6 MB, free: 1.289 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.003181/0.193, allocations: 1.933 MB / 327.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007598/0.1938, allocations: 0.6768 MB / 328.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/0.1938, allocations: 19.22 kB / 328.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.1941, allocations: 270.8 kB / 328.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007954/0.1949, allocations: 434.2 kB / 328.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.2008, allocations: 1.287 MB / 330.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2009, allocations: 169 kB / 330.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003768/0.2013, allocations: 144.9 kB / 330.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/0.202, allocations: 341 kB / 330.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.202, allocations: 4 kB / 330.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of Templates: time 0.04877/0.2507, allocations: 56.56 MB / 387.4 MB, free: 3.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.905004448257387]