Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0009077/0.0009077, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 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.0008736/0.0008736, allocations: 169.3 kB / 24.91 MB, free: 9.184 MB / 18.57 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.8621/0.8621, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.718e-05, allocations: 2.312 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1272/0.1272, allocations: 26.01 MB / 299.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.1302, allocations: 2.723 MB / 302.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.1304, allocations: 11.47 kB / 302.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.1309, allocations: 163.7 kB / 302.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006415/0.1315, allocations: 0.5469 MB / 302.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.1424, allocations: 6.957 MB / 309.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.1436, allocations: 1.612 MB / 311.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.1438, allocations: 155 kB / 311.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006866/0.1445, allocations: 0.8286 MB / 312.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.1449, allocations: 0.4996 MB / 312.9 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.409e-05/0.145, allocations: 85.05 kB / 313 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008334/0.1534, allocations: 8.966 MB / 322 MB, free: 400 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1535, allocations: 347.1 kB / 322.3 MB, free: 52 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.1538, allocations: 339.4 kB / 322.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005978/0.1598, allocations: 6.36 MB / 329 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1598, allocations: 0 / 329 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1598, allocations: 0 / 329 MB, free: 9.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1598, allocations: 0 / 329 MB, free: 9.344 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.002039/0.1618, allocations: 1.435 MB / 330.5 MB, free: 7.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.1619, allocations: 8.031 kB / 330.5 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.1621, allocations: 152.2 kB / 330.6 MB, free: 7.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1625, allocations: 311.7 kB / 330.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1625, allocations: 45.31 kB / 331 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.1626, allocations: 70.25 kB / 331 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007249/0.1633, allocations: 0.8519 MB / 331.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1633, allocations: 4 kB / 331.9 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.1634, allocations: 24 kB / 331.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1634, allocations: 16 kB / 331.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.1639, allocations: 362 kB / 332.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005254/0.1692, allocations: 3.421 MB / 335.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.1698, allocations: 450 kB / 336.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1699, allocations: 153.6 kB / 336.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003918/0.1738, allocations: 2.412 MB / 338.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1739, allocations: 39.22 kB / 338.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 1.914e-06/0.1739, allocations: 3.938 kB / 338.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.003508/0.1774, allocations: 1.969 MB / 340.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.1774, allocations: 60.41 kB / 340.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1775, allocations: 252.9 kB / 341 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.1776, allocations: 41.7 kB / 341.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.1777, allocations: 233.5 kB / 341.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.1778, allocations: 325.2 kB / 341.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.1779, allocations: 150.6 kB / 341.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.178, allocations: 358.7 kB / 342.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1782, allocations: 108.8 kB / 342.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.1785, allocations: 228.3 kB / 342.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.179, allocations: 446.2 kB / 342.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.179, allocations: 0 / 342.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.000892/0.1799, allocations: 0.584 MB / 343.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1799, allocations: 8.281 kB / 343.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1799, allocations: 4 kB / 343.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.1803, allocations: 135.8 kB / 343.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.1806, allocations: 187.7 kB / 343.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.1819, allocations: 3.55 MB / 347.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1821, allocations: 27.98 kB / 347.4 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.1821, allocations: 35.98 kB / 347.4 MB, free: 6.328 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.0001417/0.1823, allocations: 160.4 kB / 347.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.1825, allocations: 131.2 kB / 347.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008433/0.1833, allocations: 0.7692 MB / 348.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1833, allocations: 8.031 kB / 348.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1833, allocations: 4 kB / 348.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005801/0.1839, allocations: 0.8196 MB / 349.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.185, allocations: 1.044 MB / 350.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.185, allocations: 3.938 kB / 350.3 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.1854, allocations: 159.8 kB / 350.5 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007501/0.1861, allocations: 290.9 kB / 350.8 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.1862, allocations: 31.92 kB / 350.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003598/0.1865, allocations: 1.2 MB / 352 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1865, allocations: 7.938 kB / 352 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/0.1874, allocations: 0.8109 MB / 352.8 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.1874, allocations: 47.7 kB / 352.9 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.1875, allocations: 16.12 kB / 352.9 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.1877, allocations: 31.98 kB / 352.9 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.1877, allocations: 64.77 kB / 353 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.1878, allocations: 27.97 kB / 353 MB, free: 408 kB / 298.7 MB Notification: Performance of sorting global known variables: time 7.643e-05/0.1879, allocations: 108.6 kB / 353.1 MB, free: 292 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1879, allocations: 0 / 353.1 MB, free: 292 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.002253/0.1901, allocations: 1.368 MB / 354.5 MB, free: 14.91 MB / 314.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.002854/0.193, allocations: 1.876 MB / 356.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007263/0.1937, allocations: 0.6771 MB / 357 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.1937, allocations: 8 kB / 357 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.194, allocations: 270.8 kB / 357.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.1948, allocations: 347.6 kB / 357.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1963, allocations: 1.23 MB / 358.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.1964, allocations: 165 kB / 359 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.1967, allocations: 144.9 kB / 359.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/0.1984, allocations: 337 kB / 359.5 MB, free: 9.797 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1984, allocations: 0 / 359.5 MB, free: 9.797 MB / 314.7 MB Notification: Performance of Templates: time 0.04907/0.2474, allocations: 54.87 MB / 414.4 MB, free: 3.156 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.78401226690039]