Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001009/0.001009, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002281, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007701/0.0007701, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001855, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9262/0.9262, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08246/1.009, allocations: 53.88 MB / 243.9 MB, free: 14.83 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.081e-05, allocations: 6.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02622/0.02624, allocations: 26.59 MB / 271.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.02816, allocations: 2.262 MB / 274.1 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.02822, allocations: 0 / 274.1 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.02847, allocations: 63.53 kB / 274.1 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.02874, allocations: 174.9 kB / 274.3 MB, free: 368 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.109/0.1377, allocations: 6.009 MB / 280.3 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.1381, allocations: 350.2 kB / 280.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.1381, allocations: 9.781 kB / 280.7 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.1384, allocations: 196.4 kB / 280.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1386, allocations: 113.1 kB / 281 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.1386, allocations: 11.66 kB / 281 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/0.1522, allocations: 9.58 MB / 290.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.1524, allocations: 67.33 kB / 290.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1525, allocations: 60.41 kB / 290.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008043/0.1606, allocations: 4.492 MB / 295.2 MB, free: 14.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.1606, allocations: 4 kB / 295.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1606, allocations: 0 / 295.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1606, allocations: 0 / 295.2 MB, free: 14.52 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002502/0.1631, allocations: 1.538 MB / 296.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1631, allocations: 10.22 kB / 296.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1632, allocations: 44.36 kB / 296.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1634, allocations: 162.9 kB / 296.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1634, allocations: 14.64 kB / 296.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.1635, allocations: 17.59 kB / 297 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.1638, allocations: 310.4 kB / 297.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1638, allocations: 0 / 297.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.1638, allocations: 10.69 kB / 297.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.1639, allocations: 6.031 kB / 297.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.1641, allocations: 114.5 kB / 297.4 MB, free: 13.17 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.1647, allocations: 0.5167 MB / 297.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.165, allocations: 182.7 kB / 298.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.52e-05/0.1651, allocations: 62.25 kB / 298.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004492/0.1696, allocations: 2.571 MB / 300.7 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1696, allocations: 42.44 kB / 300.8 MB, free: 9.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.1696, allocations: 4 kB / 300.8 MB, free: 9.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008564/0.1705, allocations: 418.1 kB / 301.2 MB, free: 9.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.1705, allocations: 85.09 kB / 301.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.878e-05/0.1706, allocations: 135.8 kB / 301.4 MB, free: 9.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1706, allocations: 29.7 kB / 301.4 MB, free: 9.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.1706, allocations: 126.2 kB / 301.5 MB, free: 9.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.1707, allocations: 130.3 kB / 301.7 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.1708, allocations: 69.25 kB / 301.7 MB, free: 8.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.1708, allocations: 331.5 kB / 302.1 MB, free: 8.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.1709, allocations: 50.81 kB / 302.1 MB, free: 8.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.171, allocations: 129.2 kB / 302.2 MB, free: 8.363 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.1712, allocations: 218.3 kB / 302.4 MB, free: 8.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1712, allocations: 4 kB / 302.4 MB, free: 8.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003093/0.1716, allocations: 249.1 kB / 302.7 MB, free: 7.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1716, allocations: 4 kB / 302.7 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1716, allocations: 4 kB / 302.7 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1716, allocations: 4.609 kB / 302.7 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.1718, allocations: 102 kB / 302.8 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1718, allocations: 6.188 kB / 302.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1719, allocations: 19.89 kB / 302.8 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.1719, allocations: 19.98 kB / 302.8 MB, free: 7.746 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/0.172, allocations: 135.9 kB / 303 MB, free: 7.609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.1721, allocations: 47.72 kB / 303 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.1726, allocations: 140.4 kB / 303.2 MB, free: 7.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1726, allocations: 4 kB / 303.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1726, allocations: 4 kB / 303.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1726, allocations: 4 kB / 303.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.1731, allocations: 456.4 kB / 303.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1731, allocations: 4 kB / 303.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.1733, allocations: 88.25 kB / 303.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.1734, allocations: 43.36 kB / 303.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1734, allocations: 4 kB / 303.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.1734, allocations: 11.98 kB / 303.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1734, allocations: 4 kB / 303.8 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1734, allocations: 3.094 kB / 303.8 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.1738, allocations: 487 kB / 304.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1738, allocations: 12.03 kB / 304.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1739, allocations: 12 kB / 304.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.174, allocations: 27.89 kB / 304.3 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.174, allocations: 15.98 kB / 304.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.468e-05/0.174, allocations: 32.22 kB / 304.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.174, allocations: 0 / 304.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00189/0.1759, allocations: 0.99 MB / 305.3 MB, free: 5.238 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002891/0.1788, allocations: 1.512 MB / 306.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.1791, allocations: 201.9 kB / 307 MB, free: 3.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.1791, allocations: 0 / 307 MB, free: 3.637 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1792, allocations: 144.6 kB / 307.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.1797, allocations: 338.3 kB / 307.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.1822, allocations: 484.4 kB / 308 MB, free: 2.645 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.649e-05/0.1822, allocations: 94.52 kB / 308.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.1824, allocations: 68.61 kB / 308.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.1827, allocations: 145.2 kB / 308.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1827, allocations: 0 / 308.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of Templates: time 0.03289/0.2156, allocations: 34.72 MB / 343 MB, free: 15.77 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5913340989500284]