Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.0009026/0.0009026, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009289/0.0009289, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.8948/0.8948, allocations: 177.1 MB / 206 MB, free: 4.5 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.501e-05, allocations: 5.406 kB / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02189/0.0219, allocations: 26.13 MB / 300.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.02404, allocations: 2.216 MB / 302.5 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.02411, allocations: 4 kB / 302.5 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.0244, allocations: 55.61 kB / 302.6 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.02469, allocations: 174.8 kB / 302.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.03539, allocations: 6.565 MB / 309.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.03574, allocations: 350.5 kB / 309.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.03577, allocations: 9.797 kB / 309.7 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.03597, allocations: 187.5 kB / 309.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.03612, allocations: 123.6 kB / 310 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.03614, allocations: 12 kB / 310 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.04633, allocations: 9.025 MB / 319 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.04641, allocations: 79.78 kB / 319.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.04648, allocations: 79.83 kB / 319.2 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005676/0.05216, allocations: 5.862 MB / 325 MB, free: 1.457 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.05216, allocations: 4 kB / 325 MB, free: 1.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.05217, allocations: 3.984 kB / 325 MB, free: 1.449 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.05217, allocations: 0 / 325 MB, free: 1.449 MB / 298.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.001642/0.05381, allocations: 1.174 MB / 326.2 MB, free: 236 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.05384, allocations: 12.03 kB / 326.2 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.05396, allocations: 40.16 kB / 326.3 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.05415, allocations: 179.6 kB / 326.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.05416, allocations: 12.27 kB / 326.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.05419, allocations: 20 kB / 326.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.05452, allocations: 318.6 kB / 326.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.05453, allocations: 0 / 326.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.05455, allocations: 8 kB / 326.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.05458, allocations: 11.98 kB / 326.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.05479, allocations: 123 kB / 326.9 MB, free: 15.46 MB / 314.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.0007575/0.05555, allocations: 0.6775 MB / 327.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.05587, allocations: 214.1 kB / 327.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.05595, allocations: 75.28 kB / 327.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005028/0.06098, allocations: 2.446 MB / 330.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.061, allocations: 49.31 kB / 330.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.332e-06/0.061, allocations: 0 / 330.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001005/0.06201, allocations: 470.7 kB / 330.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.06204, allocations: 81.11 kB / 330.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.06213, allocations: 205 kB / 331.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.06215, allocations: 33.7 kB / 331.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.06221, allocations: 159.6 kB / 331.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.06228, allocations: 134.8 kB / 331.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.06237, allocations: 75.31 kB / 331.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.06248, allocations: 0.5079 MB / 332 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.06256, allocations: 59.95 kB / 332.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.06271, allocations: 173 kB / 332.2 MB, free: 9.941 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.06298, allocations: 240.6 kB / 332.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.06298, allocations: 8 kB / 332.5 MB, free: 9.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004184/0.0634, allocations: 312 kB / 332.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.06342, allocations: 4 kB / 332.8 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.06342, allocations: 4 kB / 332.8 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.06343, allocations: 4 kB / 332.8 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.06364, allocations: 84.11 kB / 332.9 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.06365, allocations: 4 kB / 332.9 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.06376, allocations: 23.88 kB / 332.9 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.06378, allocations: 19.98 kB / 332.9 MB, free: 9.215 MB / 314.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 9.519e-05/0.06388, allocations: 184.4 kB / 333.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.06398, allocations: 47.67 kB / 333.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.06422, allocations: 154.8 kB / 333.3 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.06423, allocations: 4 kB / 333.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.06423, allocations: 0 / 333.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.06423, allocations: 0 / 333.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.0649, allocations: 0.5973 MB / 333.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.0649, allocations: 0 / 333.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.06508, allocations: 79.83 kB / 334 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.06508, allocations: 4 kB / 334 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.0651, allocations: 15.92 kB / 334 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.0651, allocations: 4 kB / 334 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.06511, allocations: 0 / 334 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.06565, allocations: 0.6338 MB / 334.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.06571, allocations: 51.75 kB / 334.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.06574, allocations: 15.94 kB / 334.7 MB, free: 7.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.06588, allocations: 15.97 kB / 334.7 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.0659, allocations: 31.89 kB / 334.8 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.06593, allocations: 15.98 kB / 334.8 MB, free: 7.254 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.06597, allocations: 143.2 kB / 334.9 MB, free: 7.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06597, allocations: 0 / 334.9 MB, free: 7.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001314/0.06728, allocations: 0.9628 MB / 335.9 MB, free: 6.148 MB / 314.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.002632/0.06991, allocations: 1.397 MB / 337.3 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.07021, allocations: 235 kB / 337.5 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.07022, allocations: 4 kB / 337.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.07035, allocations: 131.4 kB / 337.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.07079, allocations: 104.6 kB / 337.7 MB, free: 4.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008623/0.07165, allocations: 0.5392 MB / 338.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.217e-05/0.0717, allocations: 89.64 kB / 338.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.07189, allocations: 62.27 kB / 338.4 MB, free: 3.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.07213, allocations: 178.1 kB / 338.6 MB, free: 3.324 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.07213, allocations: 4 kB / 338.6 MB, free: 3.32 MB / 314.7 MB Notification: Performance of Templates: time 0.1259/0.1981, allocations: 35.34 MB / 373.9 MB, free: 28.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 4.5661404323764145]