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.001108/0.001108, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001621/0.002729, allocations: 449.7 kB / 10.37 MB, free: 324 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.001099/0.001099, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002501, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9873/0.9873, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07898/1.066, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.553e-06/1.553e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.024e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02247/0.02249, allocations: 26.59 MB / 271.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.02454, allocations: 2.262 MB / 273.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.02462, allocations: 0 / 273.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.02486, allocations: 63.53 kB / 273.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.02514, allocations: 170.9 kB / 274.1 MB, free: 464 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1157/0.1408, allocations: 6.007 MB / 280.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.1412, allocations: 354.6 kB / 280.4 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.1413, allocations: 8.969 kB / 280.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.1416, allocations: 194.9 kB / 280.6 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1418, allocations: 110.7 kB / 280.8 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.1418, allocations: 12.38 kB / 280.8 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.1551, allocations: 9.571 MB / 290.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1552, allocations: 64.59 kB / 290.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.1554, allocations: 66.56 kB / 290.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009155/0.1645, allocations: 4.508 MB / 295 MB, free: 14.58 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.646e-05/0.1645, allocations: 0 / 295 MB, free: 14.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1645, allocations: 0 / 295 MB, free: 14.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.1646, allocations: 4 kB / 295 MB, free: 14.58 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.002681/0.1672, allocations: 1.54 MB / 296.5 MB, free: 13.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1673, allocations: 9.75 kB / 296.5 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.1674, allocations: 39.02 kB / 296.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1676, allocations: 167 kB / 296.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1676, allocations: 15.48 kB / 296.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.1676, allocations: 20.05 kB / 296.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.168, allocations: 312.8 kB / 297.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.168, allocations: 0 / 297.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.168, allocations: 5.656 kB / 297.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.168, allocations: 7.25 kB / 297.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.1682, allocations: 112 kB / 297.2 MB, free: 13.25 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.0007085/0.1689, allocations: 0.5198 MB / 297.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.1692, allocations: 178 kB / 297.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.1693, allocations: 67.69 kB / 297.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00485/0.1741, allocations: 2.575 MB / 300.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1742, allocations: 45.69 kB / 300.6 MB, free: 9.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.1742, allocations: 0 / 300.6 MB, free: 9.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009134/0.1751, allocations: 401.4 kB / 301 MB, free: 9.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1751, allocations: 84.48 kB / 301 MB, free: 9.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.1752, allocations: 145 kB / 301.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1752, allocations: 37.7 kB / 301.2 MB, free: 9.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.1753, allocations: 114 kB / 301.3 MB, free: 9.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.1753, allocations: 134.2 kB / 301.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.1754, allocations: 66.75 kB / 301.5 MB, free: 9.012 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.1755, allocations: 331.1 kB / 301.9 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.1756, allocations: 58.81 kB / 301.9 MB, free: 8.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.1757, allocations: 120 kB / 302 MB, free: 8.492 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.1759, allocations: 224.6 kB / 302.2 MB, free: 8.266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1759, allocations: 0 / 302.2 MB, free: 8.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003303/0.1762, allocations: 253.2 kB / 302.5 MB, free: 8.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1763, allocations: 8 kB / 302.5 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1763, allocations: 0 / 302.5 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1763, allocations: 4 kB / 302.5 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.1765, allocations: 99.5 kB / 302.6 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1765, allocations: 8.688 kB / 302.6 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1766, allocations: 30.16 kB / 302.6 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1767, allocations: 12 kB / 302.7 MB, free: 7.875 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.471e-05/0.1767, allocations: 129.2 kB / 302.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.1768, allocations: 47.8 kB / 302.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.1771, allocations: 148 kB / 303 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1771, allocations: 4 kB / 303 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1771, allocations: 0 / 303 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1771, allocations: 7.984 kB / 303 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.1777, allocations: 455.8 kB / 303.4 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1777, allocations: 0 / 303.4 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.1779, allocations: 87.12 kB / 303.5 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.1779, allocations: 35.84 kB / 303.5 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1779, allocations: 8.141 kB / 303.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1779, allocations: 8 kB / 303.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1779, allocations: 7.188 kB / 303.6 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1779, allocations: 6.438 kB / 303.6 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.1784, allocations: 479.6 kB / 304 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.1784, allocations: 8 kB / 304.1 MB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1786, allocations: 24.02 kB / 304.1 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1786, allocations: 27.89 kB / 304.1 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.1786, allocations: 15.98 kB / 304.1 MB, free: 6.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.574e-05/0.1786, allocations: 29.58 kB / 304.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1786, allocations: 0 / 304.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002194/0.1808, allocations: 0.99 MB / 305.1 MB, free: 5.371 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.002964/0.1838, allocations: 1.514 MB / 306.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.1841, allocations: 197.9 kB / 306.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.1841, allocations: 7.938 kB / 306.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1842, allocations: 111.9 kB / 307 MB, free: 3.668 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.1846, allocations: 145 kB / 307.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.1872, allocations: 488.7 kB / 307.6 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.871e-05/0.1873, allocations: 94.53 kB / 307.7 MB, free: 2.918 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.1875, allocations: 67.94 kB / 307.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.1877, allocations: 153.1 kB / 307.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1877, allocations: 0 / 307.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of Templates: time 0.0344/0.2221, allocations: 35.53 MB / 343.4 MB, free: 15.32 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8078759387135506]