Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000924/0.000924, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0008977/0.0008977, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7971/0.7971, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.725e-05, allocations: 2.312 kB / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0208/0.02082, allocations: 26.18 MB / 277.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.02387, allocations: 2.705 MB / 280 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.02408, allocations: 7.938 kB / 280 MB, free: 6.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004681/0.02455, allocations: 162.9 kB / 280.1 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006895/0.02524, allocations: 0.5317 MB / 280.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.03634, allocations: 6.576 MB / 287.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.0376, allocations: 1.625 MB / 288.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.03782, allocations: 145.5 kB / 289 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007672/0.03859, allocations: 0.8265 MB / 289.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.03914, allocations: 0.5337 MB / 290.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-05/0.03923, allocations: 84 kB / 290.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0121/0.05133, allocations: 8.838 MB / 299.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.05166, allocations: 351.1 kB / 299.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.05194, allocations: 339.4 kB / 300 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1053/0.1573, allocations: 6.296 MB / 306.2 MB, free: 26.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1573, allocations: 0 / 306.2 MB, free: 26.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1573, allocations: 0 / 306.2 MB, free: 26.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.1573, allocations: 0 / 306.2 MB, free: 26.29 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.004133/0.1615, allocations: 1.569 MB / 307.8 MB, free: 25.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1615, allocations: 8.75 kB / 307.8 MB, free: 25.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.1619, allocations: 154.4 kB / 308 MB, free: 25.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1623, allocations: 387 kB / 308.4 MB, free: 25.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.1623, allocations: 46.91 kB / 308.4 MB, free: 25.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.1624, allocations: 74.2 kB / 308.5 MB, free: 25.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009403/0.1633, allocations: 0.8852 MB / 309.4 MB, free: 24.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.1634, allocations: 1.219 kB / 309.4 MB, free: 24.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.1634, allocations: 30.22 kB / 309.4 MB, free: 24.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.1634, allocations: 16.11 kB / 309.4 MB, free: 24.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000821/0.1642, allocations: 0.4978 MB / 309.9 MB, free: 24.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006409/0.1707, allocations: 3.893 MB / 313.8 MB, free: 24.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007908/0.1714, allocations: 470.9 kB / 314.3 MB, free: 24.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.1717, allocations: 205.9 kB / 314.5 MB, free: 24.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004295/0.176, allocations: 2.558 MB / 317 MB, free: 23.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.176, allocations: 47.55 kB / 317.1 MB, free: 23.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.176, allocations: 3.281 kB / 317.1 MB, free: 23.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.004077/0.1801, allocations: 2.197 MB / 319.3 MB, free: 23.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1801, allocations: 62.28 kB / 319.3 MB, free: 23.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1803, allocations: 327.5 kB / 319.6 MB, free: 23.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.1803, allocations: 47.98 kB / 319.7 MB, free: 23.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.1804, allocations: 296.3 kB / 320 MB, free: 23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1806, allocations: 319.2 kB / 320.3 MB, free: 22.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1807, allocations: 163 kB / 320.4 MB, free: 22.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.1808, allocations: 0.5332 MB / 321 MB, free: 22.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.181, allocations: 163.1 kB / 321.1 MB, free: 22.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.1814, allocations: 322.4 kB / 321.5 MB, free: 22.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.1821, allocations: 0.5356 MB / 322 MB, free: 21.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1821, allocations: 0 / 322 MB, free: 21.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001253/0.1834, allocations: 0.8091 MB / 322.8 MB, free: 21.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1834, allocations: 11.88 kB / 322.8 MB, free: 21.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1834, allocations: 0 / 322.8 MB, free: 21.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003877/0.1838, allocations: 140.2 kB / 322.9 MB, free: 21.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.1842, allocations: 189.7 kB / 323.1 MB, free: 21.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.1854, allocations: 5.293 MB / 328.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1856, allocations: 22.69 kB / 328.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.1857, allocations: 42.98 kB / 328.5 MB, free: 16.48 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 (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.0001571/0.1858, allocations: 206.3 kB / 328.7 MB, free: 16.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.1861, allocations: 154.3 kB / 328.8 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.1872, allocations: 0.9614 MB / 329.8 MB, free: 16.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1872, allocations: 20.39 kB / 329.8 MB, free: 16.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1872, allocations: 0 / 329.8 MB, free: 16.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007664/0.188, allocations: 1.006 MB / 330.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.1894, allocations: 1.36 MB / 332.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1894, allocations: 1.188 kB / 332.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.1898, allocations: 159.2 kB / 332.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000793/0.1906, allocations: 285.2 kB / 332.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.1906, allocations: 28.95 kB / 332.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002853/0.1909, allocations: 1.827 MB / 334.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1909, allocations: 3.25 kB / 334.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.1922, allocations: 1.033 MB / 335.5 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.1922, allocations: 45.97 kB / 335.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.1922, allocations: 23.84 kB / 335.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.1925, allocations: 27.33 kB / 335.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.1925, allocations: 60.48 kB / 335.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.1926, allocations: 46.14 kB / 335.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1927, allocations: 232.4 kB / 335.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1927, allocations: 5.719 kB / 335.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.004619/0.1973, allocations: 1.351 MB / 337.3 MB, free: 12.45 MB / 282.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.003799/0.2011, allocations: 1.826 MB / 339.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009501/0.2021, allocations: 0.9065 MB / 340 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2021, allocations: 3.656 kB / 340 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.2025, allocations: 343.8 kB / 340.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008267/0.2033, allocations: 355.2 kB / 340.7 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.205, allocations: 1.337 MB / 342.1 MB, free: 9.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.205, allocations: 167.7 kB / 342.2 MB, free: 9.277 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.2054, allocations: 167.8 kB / 342.4 MB, free: 9.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.2055, allocations: 79.7 kB / 342.5 MB, free: 9.078 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.2055, allocations: 0 / 342.5 MB, free: 9.078 MB / 282.7 MB Notification: Performance of Templates: time 0.05407/0.2596, allocations: 59.61 MB / 402.1 MB, free: 14.57 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 9.938213027082384]