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.001412/0.001412, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.304/1.304, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008137/0.0008137, allocations: 85.02 kB / 267 MB, free: 9.285 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.3478/0.3478, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/3.01e-05, allocations: 0 / 425.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 58.85 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.376/7.49, allocations: 3.576 GB / 4.049 GB, free: 16.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/7.49, allocations: 76.28 kB / 4.049 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3519/7.842, allocations: 47.34 MB / 4.095 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.824e-06/7.842, allocations: 0 / 4.095 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.9e-06/7.842, allocations: 0 / 4.095 GB, free: 141.9 MB / 0.4948 GB 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.000705/7.843, allocations: 480.9 kB / 4.095 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/7.843, allocations: 13.81 kB / 4.095 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/7.843, allocations: 4.875 kB / 4.095 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.196e-05/7.843, allocations: 163.8 kB / 4.095 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/7.843, allocations: 0 / 4.095 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/7.843, allocations: 4.031 kB / 4.095 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/7.843, allocations: 68.38 kB / 4.096 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/7.843, allocations: 0 / 4.096 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/7.843, allocations: 1.688 kB / 4.096 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/7.843, allocations: 11.02 kB / 4.096 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.126e-05/7.844, allocations: 45.84 kB / 4.096 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/7.844, allocations: 313.9 kB / 4.096 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.587e-05/7.844, allocations: 36.62 kB / 4.096 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/7.844, allocations: 9.094 kB / 4.096 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.793e-05/7.844, allocations: 90.73 kB / 4.096 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/7.844, allocations: 35.17 kB / 4.096 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/7.844, allocations: 7.156 kB / 4.096 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001292/7.844, allocations: 40.88 kB / 4.096 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/7.844, allocations: 56 kB / 4.096 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/7.844, allocations: 95.12 kB / 4.096 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/7.844, allocations: 26.31 kB / 4.096 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/7.844, allocations: 93.14 kB / 4.096 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/7.844, allocations: 13.28 kB / 4.096 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/7.844, allocations: 4 kB / 4.096 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/7.844, allocations: 318.5 kB / 4.097 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/7.844, allocations: 6.781 kB / 4.097 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/7.845, allocations: 31.03 kB / 4.097 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/7.845, allocations: 12.47 kB / 4.097 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/7.845, allocations: 4 kB / 4.097 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.399e-05/7.845, allocations: 66.45 kB / 4.097 GB, free: 140 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/7.845, allocations: 12.81 kB / 4.097 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/7.845, allocations: 3.984 kB / 4.097 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/7.845, allocations: 3.406 kB / 4.097 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/7.845, allocations: 11.88 kB / 4.097 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/7.845, allocations: 0.5156 kB / 4.097 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/7.845, allocations: 10.16 kB / 4.097 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/7.845, allocations: 3.734 kB / 4.097 GB, free: 140 MB / 0.4948 GB 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 () * 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 4.068e-05/7.845, allocations: 109.9 kB / 4.097 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/7.845, allocations: 7.094 kB / 4.097 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/7.845, allocations: 59.17 kB / 4.097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/7.845, allocations: 0 / 4.097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/7.845, allocations: 0 / 4.097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/7.845, allocations: 10.75 kB / 4.097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/7.845, allocations: 161.5 kB / 4.097 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/7.845, allocations: 0 / 4.097 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/7.845, allocations: 3.281 kB / 4.097 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/7.845, allocations: 3.312 kB / 4.097 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/7.845, allocations: 0 / 4.097 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/7.845, allocations: 0 / 4.097 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/7.845, allocations: 0 / 4.097 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.218e-05/7.845, allocations: 150.5 kB / 4.097 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/7.845, allocations: 88.95 kB / 4.097 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/7.845, allocations: 3.031 kB / 4.097 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.416e-05/7.845, allocations: 3.938 kB / 4.097 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/7.845, allocations: 0 / 4.097 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/7.845, allocations: 3.406 kB / 4.097 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.276e-05/7.845, allocations: 82.3 kB / 4.097 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.845, allocations: 0 / 4.097 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004837/7.846, allocations: 137 kB / 4.098 GB, free: 139.3 MB / 0.4948 GB 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 () * 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.0009579/7.847, allocations: 0.6458 MB / 4.098 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.21e-05/7.847, allocations: 29.66 kB / 4.098 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/7.847, allocations: 0 / 4.098 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/7.847, allocations: 10.45 kB / 4.098 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/7.847, allocations: 11.08 kB / 4.098 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001738/7.847, allocations: 72.16 kB / 4.098 GB, free: 139 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/7.848, allocations: 0.6851 MB / 4.099 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.446e-05/7.848, allocations: 10.98 kB / 4.099 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/7.848, allocations: 13.91 kB / 4.099 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/7.848, allocations: 0 / 4.099 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.01423/7.862, allocations: 10.8 MB / 4.11 GB, free: 137.4 MB / 0.4948 GB 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/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