Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001035/0.001035, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002616/0.003651, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009421/0.0009421, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002259, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8785/0.8785, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0999/0.9784, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.128e-05, allocations: 6.312 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0284/0.02841, allocations: 25.12 MB / 264.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.0305, allocations: 2.451 MB / 267.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.03061, allocations: 7.938 kB / 267.1 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.03089, allocations: 135.1 kB / 267.3 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.03122, allocations: 381.5 kB / 267.6 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007745/0.03897, allocations: 6.223 MB / 273.9 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09339/0.1324, allocations: 1.142 MB / 275 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.1327, allocations: 99.17 kB / 275.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004499/0.1372, allocations: 3.26 MB / 278.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005095/0.1377, allocations: 363.5 kB / 278.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.912e-05/0.1378, allocations: 59.66 kB / 278.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.1488, allocations: 9.447 MB / 288.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.149, allocations: 201 kB / 288.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.1492, allocations: 195 kB / 288.6 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006204/0.1554, allocations: 4.749 MB / 293.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.1554, allocations: 0 / 293.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1554, allocations: 0 / 293.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.1554, allocations: 0 / 293.4 MB, free: 3.246 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002236/0.1576, allocations: 1.719 MB / 295.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.1577, allocations: 6.688 kB / 295.1 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.1579, allocations: 179.7 kB / 295.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1582, allocations: 264.9 kB / 295.5 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1582, allocations: 31.22 kB / 295.6 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.1582, allocations: 50.28 kB / 295.6 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.1588, allocations: 0.6305 MB / 296.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1588, allocations: 0 / 296.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.1588, allocations: 20.56 kB / 296.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1588, allocations: 10.91 kB / 296.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.1592, allocations: 260.1 kB / 296.5 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.1638, allocations: 3.093 MB / 299.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.1645, allocations: 317.2 kB / 299.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.1646, allocations: 106.6 kB / 300 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004798/0.1694, allocations: 2.402 MB / 302.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1695, allocations: 44.91 kB / 302.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.653e-06/0.1695, allocations: 0 / 302.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002338/0.1718, allocations: 1.249 MB / 303.7 MB, free: 11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1718, allocations: 63.27 kB / 303.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1719, allocations: 227.2 kB / 304 MB, free: 10.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.172, allocations: 37.89 kB / 304 MB, free: 10.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.172, allocations: 196.5 kB / 304.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.1721, allocations: 205.1 kB / 304.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1722, allocations: 108.6 kB / 304.5 MB, free: 10.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1723, allocations: 349.4 kB / 304.9 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.1724, allocations: 68.11 kB / 304.9 MB, free: 9.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.1726, allocations: 174 kB / 305.1 MB, free: 9.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.173, allocations: 315 kB / 305.4 MB, free: 9.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.173, allocations: 0 / 305.4 MB, free: 9.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000672/0.1737, allocations: 415.1 kB / 305.8 MB, free: 8.961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1737, allocations: 8 kB / 305.8 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1737, allocations: 7.875 kB / 305.8 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.1739, allocations: 84.34 kB / 305.9 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.1743, allocations: 150.7 kB / 306.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.1756, allocations: 2.96 MB / 309 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1757, allocations: 15.06 kB / 309 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.1757, allocations: 31.28 kB / 309.1 MB, free: 5.59 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0001153/0.1759, allocations: 142.1 kB / 309.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.176, allocations: 94.38 kB / 309.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005808/0.1766, allocations: 0.505 MB / 309.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1766, allocations: 4 kB / 309.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1766, allocations: 3.469 kB / 309.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003616/0.177, allocations: 469.7 kB / 310.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007435/0.1777, allocations: 0.7429 MB / 311 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1777, allocations: 0 / 311 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.178, allocations: 126.8 kB / 311.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.178, allocations: 33.95 kB / 311.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.1784, allocations: 139.4 kB / 311.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1784, allocations: 11.75 kB / 311.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002064/0.1786, allocations: 0.6146 MB / 311.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1786, allocations: 0 / 311.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.1793, allocations: 0.5489 MB / 312.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1793, allocations: 11.69 kB / 312.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.1795, allocations: 23.72 kB / 312.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1795, allocations: 43.97 kB / 312.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.1795, allocations: 19.92 kB / 312.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.826e-05/0.1796, allocations: 86.81 kB / 312.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1796, allocations: 0 / 312.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002463/0.1821, allocations: 1.327 MB / 314 MB, free: 0.8789 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003029/0.1851, allocations: 1.937 MB / 315.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005576/0.1856, allocations: 0.5091 MB / 316.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.1857, allocations: 11.17 kB / 316.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1858, allocations: 163 kB / 316.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.1864, allocations: 291.2 kB / 316.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.1908, allocations: 0.8979 MB / 317.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.667e-05/0.1909, allocations: 130.9 kB / 317.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.1911, allocations: 99.39 kB / 318 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.1916, allocations: 248.3 kB / 318.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1916, allocations: 0 / 318.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Templates: time 0.04359/0.2352, allocations: 50.81 MB / 369.1 MB, free: 10.41 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 6.343883893452585]