Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00223/0.00223, allocations: 180.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.2 MB / 219.4 MB, free: 14.23 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.001077/0.001077, allocations: 86.7 kB / 267.5 MB, free: 14.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2692/0.2692, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.36e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/10.78, allocations: 3.576 GB / 4.049 GB, free: 33.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/10.78, allocations: 74.77 kB / 4.049 GB, free: 33.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.515/11.29, allocations: 47.33 MB / 4.095 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.954e-06/11.29, allocations: 3.281 kB / 4.095 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.572e-06/11.29, allocations: 0 / 4.095 GB, free: 160.1 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.001229/11.29, allocations: 483.5 kB / 4.095 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/11.29, allocations: 9.125 kB / 4.095 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/11.29, allocations: 6.531 kB / 4.095 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.308e-05/11.29, allocations: 165 kB / 4.095 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/11.29, allocations: 6.812 kB / 4.095 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/11.29, allocations: 4.469 kB / 4.095 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/11.3, allocations: 71.95 kB / 4.096 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/11.3, allocations: 0 / 4.096 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/11.3, allocations: 3.594 kB / 4.096 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/11.3, allocations: 11.36 kB / 4.096 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/11.3, allocations: 50.8 kB / 4.096 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/11.3, allocations: 295.9 kB / 4.096 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.863e-05/11.3, allocations: 33.28 kB / 4.096 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/11.3, allocations: 16.42 kB / 4.096 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/11.3, allocations: 88.45 kB / 4.096 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/11.3, allocations: 33.66 kB / 4.096 GB, free: 159 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/11.3, allocations: 0 / 4.096 GB, free: 159 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001691/11.3, allocations: 48.77 kB / 4.096 GB, free: 159 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/11.3, allocations: 54.41 kB / 4.096 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/11.3, allocations: 92.06 kB / 4.096 GB, free: 158.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/11.3, allocations: 26.77 kB / 4.096 GB, free: 158.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/11.3, allocations: 170 kB / 4.096 GB, free: 158.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/11.3, allocations: 11.33 kB / 4.096 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/11.3, allocations: 0 / 4.096 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.866e-05/11.3, allocations: 311.8 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/11.3, allocations: 13.84 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/11.3, allocations: 31.83 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/11.3, allocations: 14.42 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/11.3, allocations: 0 / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001409/11.3, allocations: 71.52 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/11.3, allocations: 13.97 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/11.3, allocations: 1.031 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/11.3, allocations: 2.25 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/11.3, allocations: 8.594 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/11.3, allocations: 1.469 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/11.3, allocations: 5.344 kB / 4.097 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/11.3, allocations: 7.125 kB / 4.097 GB, free: 158.3 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 5.569e-05/11.3, allocations: 107.8 kB / 4.097 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/11.3, allocations: 7.672 kB / 4.097 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/11.3, allocations: 61.89 kB / 4.097 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/11.3, allocations: 4.094 kB / 4.097 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/11.3, allocations: 0 / 4.097 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/11.3, allocations: 0 / 4.097 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/11.3, allocations: 164.5 kB / 4.097 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/11.3, allocations: 0 / 4.097 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/11.3, allocations: 7.641 kB / 4.097 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/11.3, allocations: 4.953 kB / 4.097 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/11.3, allocations: 3.031 kB / 4.097 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/11.3, allocations: 0 / 4.097 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/11.3, allocations: 1.031 kB / 4.097 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/11.3, allocations: 146.3 kB / 4.097 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/11.3, allocations: 81.11 kB / 4.097 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/11.3, allocations: 5.016 kB / 4.097 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/11.3, allocations: 1 kB / 4.097 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/11.3, allocations: 1.125 kB / 4.097 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/11.3, allocations: 2.5 kB / 4.097 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.5e-05/11.3, allocations: 86.42 kB / 4.098 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/11.3, allocations: 0 / 4.098 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009299/11.3, allocations: 138.7 kB / 4.098 GB, free: 157.6 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.001469/11.3, allocations: 0.6458 MB / 4.098 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001538/11.3, allocations: 25.47 kB / 4.098 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/11.3, allocations: 0 / 4.098 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.632e-05/11.3, allocations: 15.91 kB / 4.098 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/11.3, allocations: 6.562 kB / 4.098 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/11.3, allocations: 95.09 kB / 4.098 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/11.3, allocations: 0.6832 MB / 4.099 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/11.3, allocations: 14.94 kB / 4.099 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/11.3, allocations: 0 / 4.099 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.01236/11.31, allocations: 5.071 MB / 4.104 GB, free: 156 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches