Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 95.86 kB / 16.95 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 185.9 kB / 17.84 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 224 MB, free: 13.09 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000734/0.0007343, allocations: 16 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1089, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3449/0.4539, allocations: 138.5 MB / 466.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.455, allocations: 0.5626 MB / 467.4 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.4551, allocations: 4 kB / 467.4 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.4555, allocations: 39.75 kB / 467.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.4559, allocations: 142.1 kB / 467.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.4585, allocations: 0.8239 MB / 468.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.459, allocations: 398.7 kB / 468.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.4591, allocations: 9.453 kB / 468.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.4593, allocations: 131.5 kB / 468.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.4596, allocations: 131.6 kB / 469.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.4596, allocations: 8 kB / 469.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.4624, allocations: 1.352 MB / 470.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.4626, allocations: 67.83 kB / 470.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.4627, allocations: 61.58 kB / 470.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.4641, allocations: 0.6369 MB / 471.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4642, allocations: 0 / 471.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4642, allocations: 0 / 471.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.4642, allocations: 0 / 471.2 MB, free: 11.22 MB / 366.1 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.002049/0.4663, allocations: 0.6415 MB / 471.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4663, allocations: 8.031 kB / 471.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.4665, allocations: 19.81 kB / 471.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.4667, allocations: 206.9 kB / 472.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.4668, allocations: 16.33 kB / 472.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.4668, allocations: 19.94 kB / 472.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.4674, allocations: 261.4 kB / 472.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4674, allocations: 0 / 472.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.4675, allocations: 8 kB / 472.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.4675, allocations: 4 kB / 472.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.4681, allocations: 263.7 kB / 472.6 MB, free: 9.695 MB / 366.1 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.001431/0.4695, allocations: 0.8053 MB / 473.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.4702, allocations: 225.1 kB / 473.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.4705, allocations: 133.6 kB / 473.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.4708, allocations: 356.4 kB / 474.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4709, allocations: 42.5 kB / 474.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.866e-06/0.4709, allocations: 0 / 474.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002255/0.4731, allocations: 0.671 MB / 474.8 MB, free: 7.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.4732, allocations: 85.05 kB / 474.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4733, allocations: 121.8 kB / 475.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.4734, allocations: 29.7 kB / 475.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.4734, allocations: 108.8 kB / 475.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4735, allocations: 126.1 kB / 475.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.4736, allocations: 8 kB / 475.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4737, allocations: 326.8 kB / 475.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.4741, allocations: 135.9 kB / 475.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.4745, allocations: 203.6 kB / 476 MB, free: 6.094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.4749, allocations: 151.9 kB / 476.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4749, allocations: 0 / 476.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009096/0.4758, allocations: 405 kB / 476.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4758, allocations: 8 kB / 476.5 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4758, allocations: 0 / 476.5 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4759, allocations: 8.219 kB / 476.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.4763, allocations: 83.88 kB / 476.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.4764, allocations: 7.984 kB / 476.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.4767, allocations: 27.92 kB / 476.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.4767, allocations: 16.86 kB / 476.7 MB, free: 5.395 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.4769, allocations: 145.7 kB / 476.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.477, allocations: 15.81 kB / 476.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.4774, allocations: 186.8 kB / 477 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4774, allocations: 4 kB / 477 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4774, allocations: 0 / 477 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.4774, allocations: 3.984 kB / 477 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.479, allocations: 0.7481 MB / 477.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4791, allocations: 3.953 kB / 477.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.4795, allocations: 87.48 kB / 477.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.4795, allocations: 4.375 kB / 477.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.4795, allocations: 11.98 kB / 477.9 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4796, allocations: 4 kB / 477.9 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4796, allocations: 4 kB / 477.9 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.4809, allocations: 0.7186 MB / 478.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.481, allocations: 116.9 kB / 478.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.4811, allocations: 12 kB / 478.7 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.4814, allocations: 23.89 kB / 478.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.4815, allocations: 28.03 kB / 478.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.4815, allocations: 11.98 kB / 478.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.005e-05/0.4816, allocations: 95.27 kB / 478.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4816, allocations: 0 / 478.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005937/0.4822, allocations: 143.9 kB / 479 MB, free: 2.906 MB / 366.1 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004946/0.4827, allocations: 238.9 kB / 479.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008826/0.4836, allocations: 332 kB / 479.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4836, allocations: 4 kB / 479.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.484, allocations: 181.7 kB / 479.7 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.4848, allocations: 95.86 kB / 479.8 MB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.4862, allocations: 0.7404 MB / 480.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.4866, allocations: 0.7333 MB / 481.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004662/0.487, allocations: 81.89 kB / 481.4 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.4872, allocations: 35.7 kB / 481.4 MB, free: 420 kB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4872, allocations: 0 / 481.4 MB, free: 420 kB / 366.1 MB Notification: Performance of Templates: time 0.01088/0.4981, allocations: 5.729 MB / 487.2 MB, free: 10.68 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches