Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 95.97 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 175.5 kB / 16.57 MB, free: 6.848 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.386/1.386, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.342/0.342, allocations: 43.54 MB / 314.5 MB, free: 8.738 MB / 254.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.0005201/0.0005202, allocations: 12 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 58.86 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3643/0.4974, allocations: 126.9 MB / 0.5563 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.499, allocations: 1.032 MB / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.499, allocations: 0 / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.4993, allocations: 29.09 kB / 0.5574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.5013, allocations: 0.6453 MB / 0.558 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.5013, allocations: 0 / 0.558 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.5014, allocations: 27.95 kB / 0.558 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.5014, allocations: 4 kB / 0.558 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.5015, allocations: 6.016 kB / 0.558 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.5015, allocations: 17.66 kB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.5016, allocations: 4 kB / 0.558 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.504, allocations: 1.535 MB / 0.5595 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.504, allocations: 7.984 kB / 0.5596 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.504, allocations: 29.7 kB / 0.5596 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00075/0.5048, allocations: 492.2 kB / 0.56 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.5048, allocations: 0 / 0.56 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5048, allocations: 4 kB / 0.5601 GB, free: 8.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.5048, allocations: 0 / 0.5601 GB, free: 8.773 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005691/0.5054, allocations: 453.3 kB / 0.5605 GB, free: 8.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5054, allocations: 12.02 kB / 0.5605 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.5055, allocations: 4.781 kB / 0.5605 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.997e-05/0.5056, allocations: 167 kB / 0.5607 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5056, allocations: 1.719 kB / 0.5607 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.5056, allocations: 8 kB / 0.5607 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.5058, allocations: 69.66 kB / 0.5607 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5058, allocations: 4 kB / 0.5607 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.5058, allocations: 0 / 0.5607 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.5058, allocations: 7.953 kB / 0.5607 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.221e-05/0.5059, allocations: 51.97 kB / 0.5608 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.5063, allocations: 285.4 kB / 0.5611 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/0.5064, allocations: 42.52 kB / 0.5611 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.5065, allocations: 93.25 kB / 0.5612 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.5066, allocations: 35.22 kB / 0.5612 GB, free: 7.391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5066, allocations: 0 / 0.5612 GB, free: 7.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001575/0.5067, allocations: 53.78 kB / 0.5613 GB, free: 7.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.5068, allocations: 52.81 kB / 0.5613 GB, free: 7.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.5069, allocations: 105.8 kB / 0.5614 GB, free: 7.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.5069, allocations: 25.7 kB / 0.5615 GB, free: 7.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.5069, allocations: 99.89 kB / 0.5616 GB, free: 7.023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.198e-06/0.5069, allocations: 7.891 kB / 0.5616 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.507, allocations: 4 kB / 0.5616 GB, free: 7.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.5071, allocations: 314.8 kB / 0.5619 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.5071, allocations: 4 kB / 0.5619 GB, free: 6.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.5071, allocations: 35.36 kB / 0.5619 GB, free: 6.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.5072, allocations: 16 kB / 0.5619 GB, free: 6.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5072, allocations: 0 / 0.5619 GB, free: 6.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.815e-05/0.5073, allocations: 69.56 kB / 0.562 GB, free: 6.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5073, allocations: 4 kB / 0.562 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5073, allocations: 1 kB / 0.562 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5073, allocations: 4 kB / 0.562 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.5074, allocations: 26.39 kB / 0.562 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5074, allocations: 0 / 0.562 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.5074, allocations: 15.94 kB / 0.562 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.5075, allocations: 4 kB / 0.562 GB, free: 6.504 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 8.649e-05/0.5076, allocations: 113.8 kB / 0.5621 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.5076, allocations: 7.953 kB / 0.5622 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.5077, allocations: 55.52 kB / 0.5622 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5077, allocations: 8 kB / 0.5622 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5078, allocations: 0.75 kB / 0.5622 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5078, allocations: 3.938 kB / 0.5622 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.5079, allocations: 161.7 kB / 0.5624 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5079, allocations: 0 / 0.5624 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.508, allocations: 7.984 kB / 0.5624 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.508, allocations: 0 / 0.5624 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.508, allocations: 7.078 kB / 0.5624 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.508, allocations: 0 / 0.5624 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.508, allocations: 4 kB / 0.5624 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.5081, allocations: 147.5 kB / 0.5625 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.5081, allocations: 81.02 kB / 0.5626 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.5082, allocations: 0 / 0.5626 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/0.5082, allocations: 3.953 kB / 0.5626 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.5082, allocations: 7.984 kB / 0.5626 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.5083, allocations: 1.688 kB / 0.5626 GB, free: 5.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.367e-05/0.5083, allocations: 79.28 kB / 0.5627 GB, free: 5.738 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.5083, allocations: 0 / 0.5627 GB, free: 5.738 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.5087, allocations: 107.8 kB / 0.5628 GB, free: 5.633 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0004259/0.5091, allocations: 227.5 kB / 0.563 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.867e-05/0.5092, allocations: 23.98 kB / 0.563 GB, free: 5.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5092, allocations: 0 / 0.563 GB, free: 5.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.5092, allocations: 15.94 kB / 0.5631 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.5094, allocations: 3.984 kB / 0.5631 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.5097, allocations: 163 kB / 0.5632 GB, free: 5.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.51, allocations: 0.6809 MB / 0.5639 GB, free: 4.477 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.5101, allocations: 14.5 kB / 0.5639 GB, free: 4.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.5101, allocations: 15.44 kB / 0.5639 GB, free: 4.453 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5101, allocations: 0 / 0.5639 GB, free: 4.453 MB / 430.1 MB Notification: Performance of Templates: time 0.005242/0.5153, allocations: 2.617 MB / 0.5665 GB, free: 1.844 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches