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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009016/0.0009017, allocations: 191 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008303/0.0008306, allocations: 103.4 kB / 261.4 MB, free: 13.54 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.1596/0.1596, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.911e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2329, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.876/5.109, allocations: 3.575 GB / 4.04 GB, free: 96.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/5.109, allocations: 71.97 kB / 4.04 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.09651/5.205, allocations: 46.81 MB / 4.086 GB, free: 48.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.411e-06/5.205, allocations: 0 / 4.086 GB, free: 48.96 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.0007101/5.206, allocations: 485.9 kB / 4.087 GB, free: 48.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/5.206, allocations: 12.03 kB / 4.087 GB, free: 48.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/5.206, allocations: 7.906 kB / 4.087 GB, free: 48.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.789e-05/5.206, allocations: 167 kB / 4.087 GB, free: 48.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/5.206, allocations: 0 / 4.087 GB, free: 48.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/5.206, allocations: 4 kB / 4.087 GB, free: 48.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001223/5.206, allocations: 51.92 kB / 4.087 GB, free: 48.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.741e-05/5.207, allocations: 61.67 kB / 4.087 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/5.207, allocations: 0 / 4.087 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/5.207, allocations: 0 / 4.087 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/5.207, allocations: 4 kB / 4.087 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/5.207, allocations: 281.2 kB / 4.087 GB, free: 47.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/5.207, allocations: 26.58 kB / 4.087 GB, free: 47.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/5.207, allocations: 12.83 kB / 4.087 GB, free: 47.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.753e-05/5.207, allocations: 89.19 kB / 4.087 GB, free: 47.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/5.207, allocations: 38.56 kB / 4.087 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/5.207, allocations: 0 / 4.087 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003483/5.207, allocations: 89.58 kB / 4.087 GB, free: 47.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/5.208, allocations: 59.44 kB / 4.087 GB, free: 47.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.954e-05/5.208, allocations: 96.98 kB / 4.088 GB, free: 47.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/5.208, allocations: 25.7 kB / 4.088 GB, free: 47.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/5.208, allocations: 95.89 kB / 4.088 GB, free: 47.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/5.208, allocations: 7.906 kB / 4.088 GB, free: 47.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/5.208, allocations: 4 kB / 4.088 GB, free: 47.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.255e-05/5.208, allocations: 318.7 kB / 4.088 GB, free: 46.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/5.208, allocations: 8 kB / 4.088 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/5.208, allocations: 31.44 kB / 4.088 GB, free: 46.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/5.208, allocations: 64.11 kB / 4.088 GB, free: 46.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/5.208, allocations: 4 kB / 4.088 GB, free: 46.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002669/5.208, allocations: 117.5 kB / 4.088 GB, free: 46.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/5.208, allocations: 7.938 kB / 4.088 GB, free: 46.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/5.208, allocations: 0 / 4.088 GB, free: 46.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/5.208, allocations: 0 / 4.088 GB, free: 46.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/5.208, allocations: 15.94 kB / 4.088 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/5.208, allocations: 0 / 4.088 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/5.208, allocations: 11.84 kB / 4.088 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/5.208, allocations: 3.938 kB / 4.088 GB, free: 46.57 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.323e-05/5.208, allocations: 120.5 kB / 4.088 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/5.209, allocations: 3.906 kB / 4.088 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/5.209, allocations: 113.2 kB / 4.088 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/5.209, allocations: 3.984 kB / 4.088 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/5.209, allocations: 0 / 4.088 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/5.209, allocations: 3.938 kB / 4.089 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.915e-05/5.209, allocations: 130.2 kB / 4.089 GB, free: 46.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/5.209, allocations: 3.984 kB / 4.089 GB, free: 46.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/5.209, allocations: 8 kB / 4.089 GB, free: 46.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/5.209, allocations: 3.906 kB / 4.089 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/5.209, allocations: 0 / 4.089 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/5.209, allocations: 0 / 4.089 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/5.209, allocations: 0 / 4.089 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00025/5.209, allocations: 191.4 kB / 4.089 GB, free: 45.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/5.209, allocations: 85 kB / 4.089 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/5.209, allocations: 0 / 4.089 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/5.209, allocations: 0 / 4.089 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/5.209, allocations: 4 kB / 4.089 GB, free: 45.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/5.209, allocations: 0 / 4.089 GB, free: 45.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.916e-05/5.209, allocations: 83.28 kB / 4.089 GB, free: 45.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004762/5.21, allocations: 123.8 kB / 4.089 GB, free: 45.62 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.0009688/5.211, allocations: 0.7731 MB / 4.09 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.916e-05/5.211, allocations: 27.94 kB / 4.09 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/5.211, allocations: 0 / 4.09 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/5.211, allocations: 7.984 kB / 4.09 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/5.211, allocations: 11.59 kB / 4.09 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001597/5.211, allocations: 63.78 kB / 4.09 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/5.211, allocations: 0.7073 MB / 4.091 GB, free: 43.99 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/5.211, allocations: 0 / 4.091 GB, free: 43.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.007263/5.219, allocations: 5.458 MB / 4.096 GB, free: 38.53 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