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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001572, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000973/0.000973, allocations: 101.5 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.335/0.335, allocations: 43.48 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1083, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3575/0.4659, allocations: 150.1 MB / 0.6221 GB, free: 9.852 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.4678, allocations: 1.313 MB / 0.6234 GB, free: 8.844 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.4678, allocations: 0 / 0.6234 GB, free: 8.844 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.4682, allocations: 42 kB / 0.6235 GB, free: 8.812 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.4707, allocations: 0.7393 MB / 0.6242 GB, free: 8.309 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.761e-06/0.4707, allocations: 0 / 0.6242 GB, free: 8.309 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.4709, allocations: 95.14 kB / 0.6243 GB, free: 8.262 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.4709, allocations: 10.62 kB / 0.6243 GB, free: 8.254 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.471, allocations: 15.64 kB / 0.6243 GB, free: 8.246 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.4711, allocations: 24.48 kB / 0.6243 GB, free: 8.234 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.4711, allocations: 1.906 kB / 0.6243 GB, free: 8.234 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.474, allocations: 1.731 MB / 0.626 GB, free: 7.328 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.4741, allocations: 10.59 kB / 0.626 GB, free: 7.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.4742, allocations: 19.92 kB / 0.626 GB, free: 7.309 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.4759, allocations: 0.8169 MB / 0.6268 GB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4759, allocations: 0 / 0.6268 GB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.4759, allocations: 0 / 0.6268 GB, free: 6.867 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.4759, allocations: 0.6562 kB / 0.6268 GB, free: 6.867 MB / 442.7 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.0008281/0.4768, allocations: 459 kB / 0.6273 GB, free: 6.422 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4768, allocations: 9.75 kB / 0.6273 GB, free: 6.422 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.4768, allocations: 6.906 kB / 0.6273 GB, free: 6.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.4769, allocations: 181.8 kB / 0.6275 GB, free: 6.207 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.477, allocations: 7.922 kB / 0.6275 GB, free: 6.199 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.477, allocations: 6.562 kB / 0.6275 GB, free: 6.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.4771, allocations: 63.25 kB / 0.6275 GB, free: 6.152 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.4772, allocations: 0 / 0.6275 GB, free: 6.152 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4772, allocations: 10.73 kB / 0.6275 GB, free: 6.145 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.4772, allocations: 2.562 kB / 0.6276 GB, free: 6.145 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.4773, allocations: 52.12 kB / 0.6276 GB, free: 6.121 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.4777, allocations: 288.8 kB / 0.6279 GB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.118e-05/0.4778, allocations: 42.44 kB / 0.6279 GB, free: 5.777 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.4779, allocations: 16.91 kB / 0.6279 GB, free: 5.758 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.478, allocations: 93.08 kB / 0.628 GB, free: 5.648 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.4781, allocations: 30.56 kB / 0.6281 GB, free: 5.609 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.4781, allocations: 0 / 0.6281 GB, free: 5.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001607/0.4782, allocations: 57.53 kB / 0.6281 GB, free: 5.547 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.4783, allocations: 59.41 kB / 0.6282 GB, free: 5.477 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.4784, allocations: 93.86 kB / 0.6283 GB, free: 5.375 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4784, allocations: 29.7 kB / 0.6283 GB, free: 5.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.4785, allocations: 102.2 kB / 0.6284 GB, free: 5.238 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.4785, allocations: 3.906 kB / 0.6284 GB, free: 5.234 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.4785, allocations: 21.66 kB / 0.6284 GB, free: 5.207 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4786, allocations: 322.8 kB / 0.6287 GB, free: 4.883 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.4787, allocations: 4 kB / 0.6287 GB, free: 4.879 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.4787, allocations: 35.42 kB / 0.6287 GB, free: 4.832 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.4788, allocations: 43.38 kB / 0.6288 GB, free: 4.777 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4788, allocations: 0 / 0.6288 GB, free: 4.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001033/0.4789, allocations: 69.61 kB / 0.6289 GB, free: 4.703 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4789, allocations: 8 kB / 0.6289 GB, free: 4.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4789, allocations: 0 / 0.6289 GB, free: 4.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.4789, allocations: 3.938 kB / 0.6289 GB, free: 4.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.4791, allocations: 12 kB / 0.6289 GB, free: 4.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4791, allocations: 3.938 kB / 0.6289 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.4791, allocations: 7.906 kB / 0.6289 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.4791, allocations: 7.984 kB / 0.6289 GB, free: 4.66 MB / 442.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/0.4792, allocations: 113.8 kB / 0.629 GB, free: 4.539 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.4793, allocations: 8.031 kB / 0.629 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.4794, allocations: 61.98 kB / 0.6291 GB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4794, allocations: 0 / 0.6291 GB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4794, allocations: 5.609 kB / 0.6291 GB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4794, allocations: 0 / 0.6291 GB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.4796, allocations: 157.7 kB / 0.6292 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4796, allocations: 0 / 0.6292 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.4797, allocations: 7.938 kB / 0.6292 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.4797, allocations: 8 kB / 0.6292 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4797, allocations: 5.375 kB / 0.6292 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4797, allocations: 0 / 0.6292 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4797, allocations: 3.844 kB / 0.6293 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.4802, allocations: 0.6971 MB / 0.6299 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.4802, allocations: 81.02 kB / 0.63 GB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.4803, allocations: 4 kB / 0.63 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.4803, allocations: 7.984 kB / 0.63 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.4804, allocations: 4 kB / 0.63 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.4804, allocations: 0 / 0.63 GB, free: 3.375 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.29e-05/0.4804, allocations: 79.28 kB / 0.6301 GB, free: 3.297 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4804, allocations: 0 / 0.6301 GB, free: 3.297 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.481, allocations: 95.92 kB / 0.6302 GB, free: 3.203 MB / 442.7 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 (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.0007953/0.4818, allocations: 258.9 kB / 0.6304 GB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.482, allocations: 31.92 kB / 0.6305 GB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.482, allocations: 3.938 kB / 0.6305 GB, free: 2.906 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/0.482, allocations: 11.98 kB / 0.6305 GB, free: 2.895 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.4823, allocations: 7.938 kB / 0.6305 GB, free: 2.887 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.4827, allocations: 255.9 kB / 0.6307 GB, free: 2.613 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.483, allocations: 0.6808 MB / 0.6314 GB, free: 1.906 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.676e-05/0.483, allocations: 15.81 kB / 0.6314 GB, free: 1.895 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.4831, allocations: 19.44 kB / 0.6314 GB, free: 1.875 MB / 442.7 MB Notification: Performance of SimCode: time 4.4e-07/0.4831, allocations: 0 / 0.6314 GB, free: 1.875 MB / 442.7 MB Notification: Performance of Templates: time 0.005463/0.4886, allocations: 2.658 MB / 0.634 GB, free: 15.22 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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