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.0009327/0.0009327, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0008861/0.0008861, allocations: 142.1 kB / 24.97 MB, free: 8.316 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.9154/0.9154, allocations: 173.3 MB / 201.5 MB, free: 9.32 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.263e-06/1.263e-06, allocations: 0 / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.784e-05, allocations: 2.312 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1479/0.1479, allocations: 66.7 MB / 334.8 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004857/0.1528, allocations: 5.533 MB / 340.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.153, allocations: 11.94 kB / 340.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.1538, allocations: 333.9 kB / 340.7 MB, free: 196 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.1544, allocations: 0.5355 MB / 341.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.1661, allocations: 7.527 MB / 348.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1673, allocations: 1.57 MB / 350.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.1674, allocations: 137.5 kB / 350.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007761/0.1682, allocations: 0.8494 MB / 351.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004975/0.1687, allocations: 0.5337 MB / 351.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.208e-05/0.1688, allocations: 84 kB / 351.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01046/0.1793, allocations: 9.557 MB / 361.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.1795, allocations: 347.1 kB / 361.8 MB, free: 11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.1798, allocations: 343.4 kB / 362.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007367/0.1872, allocations: 6.723 MB / 368.8 MB, free: 3.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1872, allocations: 0 / 368.8 MB, free: 3.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1872, allocations: 0 / 368.8 MB, free: 3.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1872, allocations: 0 / 368.8 MB, free: 3.926 MB / 314.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.002273/0.1895, allocations: 1.613 MB / 370.5 MB, free: 2.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1895, allocations: 16.91 kB / 370.5 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.1898, allocations: 158.8 kB / 370.6 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.1902, allocations: 394.4 kB / 371 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1903, allocations: 45.31 kB / 371.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.1903, allocations: 75.98 kB / 371.1 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009409/0.1913, allocations: 0.8829 MB / 372 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1913, allocations: 4 kB / 372 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.1913, allocations: 24 kB / 372 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1914, allocations: 16 kB / 372.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008075/0.1922, allocations: 0.4993 MB / 372.6 MB, free: 36 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006407/0.1986, allocations: 3.888 MB / 376.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/0.1995, allocations: 478.3 kB / 376.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.1997, allocations: 209.3 kB / 377.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006223/0.2059, allocations: 2.649 MB / 379.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.206, allocations: 49.98 kB / 379.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.324e-06/0.206, allocations: 0 / 379.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.005987/0.212, allocations: 2.204 MB / 382 MB, free: 6.469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.212, allocations: 60.41 kB / 382.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.2123, allocations: 328.1 kB / 382.4 MB, free: 6.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/0.2123, allocations: 45.7 kB / 382.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.2125, allocations: 291.8 kB / 382.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.2127, allocations: 321.2 kB / 383 MB, free: 5.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.2129, allocations: 168.2 kB / 383.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2131, allocations: 0.5313 MB / 383.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.2134, allocations: 165.9 kB / 383.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/0.2141, allocations: 323.3 kB / 384.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.2152, allocations: 0.5302 MB / 384.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2152, allocations: 0 / 384.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001947/0.2172, allocations: 0.8075 MB / 385.6 MB, free: 2.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2172, allocations: 4.625 kB / 385.6 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2172, allocations: 4 kB / 385.6 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005737/0.2178, allocations: 146.9 kB / 385.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.2183, allocations: 187.8 kB / 385.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.2207, allocations: 5.298 MB / 391.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.2209, allocations: 19.98 kB / 391.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/0.221, allocations: 44.27 kB / 391.3 MB, free: 12.73 MB / 346.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.0002026/0.2212, allocations: 212.3 kB / 391.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/0.2216, allocations: 154.9 kB / 391.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.2233, allocations: 0.9619 MB / 392.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2233, allocations: 8 kB / 392.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.2233, allocations: 0 / 392.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/0.2246, allocations: 1.001 MB / 393.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.2267, allocations: 1.369 MB / 395 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2268, allocations: 0 / 395 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.2273, allocations: 163.8 kB / 395.1 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.2285, allocations: 283 kB / 395.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.2286, allocations: 27.92 kB / 395.4 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006584/0.2293, allocations: 1.826 MB / 397.2 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2293, allocations: 0 / 397.2 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.2311, allocations: 1.038 MB / 398.3 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.2312, allocations: 51.64 kB / 398.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.2312, allocations: 16 kB / 398.3 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.2316, allocations: 40.03 kB / 398.4 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.2317, allocations: 60.95 kB / 398.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.2317, allocations: 47.97 kB / 398.5 MB, free: 5.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.2319, allocations: 239 kB / 398.7 MB, free: 4.914 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2319, allocations: 0 / 398.7 MB, free: 4.914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003097/0.235, allocations: 1.407 MB / 400.1 MB, free: 3.504 MB / 346.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.004289/0.2393, allocations: 1.917 MB / 402 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.2407, allocations: 0.9103 MB / 403 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2407, allocations: 0 / 403 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.2413, allocations: 339.2 kB / 403.3 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.2425, allocations: 363.8 kB / 403.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.2448, allocations: 1.329 MB / 405 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.2449, allocations: 165 kB / 405.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005087/0.2454, allocations: 172.8 kB / 405.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.2456, allocations: 80.47 kB / 405.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2456, allocations: 3.938 kB / 405.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Templates: time 0.1375/0.383, allocations: 50.06 MB / 455.4 MB, free: 103.4 MB / 378.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 -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: 13.226526960963383]