Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.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.001078/0.001078, allocations: 183.2 kB / 8.481 MB, free: 1.883 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.31/1.31, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008729/0.000873, allocations: 83.34 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.384e-06, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.07983, allocations: 47.57 MB / 362.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.503/7.583, allocations: 3.642 GB / 3.996 GB, free: 143.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/7.583, allocations: 65.16 kB / 3.996 GB, free: 143.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1025/7.686, allocations: 48.14 MB / 4.043 GB, free: 95.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/7.686, allocations: 4 kB / 4.043 GB, free: 95.16 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00163/7.687, allocations: 0.6384 MB / 4.043 GB, free: 94.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/7.687, allocations: 12.03 kB / 4.043 GB, free: 94.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/7.688, allocations: 19.81 kB / 4.043 GB, free: 94.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/7.688, allocations: 206.9 kB / 4.043 GB, free: 94.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/7.688, allocations: 7.984 kB / 4.043 GB, free: 94.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/7.688, allocations: 19.84 kB / 4.044 GB, free: 94.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003624/7.688, allocations: 200.6 kB / 4.044 GB, free: 93.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/7.689, allocations: 217.2 kB / 4.044 GB, free: 93.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/7.689, allocations: 8 kB / 4.044 GB, free: 93.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/7.689, allocations: 0 / 4.044 GB, free: 93.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/7.689, allocations: 4 kB / 4.044 GB, free: 93.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/7.69, allocations: 0.6543 MB / 4.045 GB, free: 93.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/7.69, allocations: 177.2 kB / 4.045 GB, free: 92.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/7.69, allocations: 113.7 kB / 4.045 GB, free: 92.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/7.691, allocations: 356.4 kB / 4.045 GB, free: 92.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/7.691, allocations: 42.47 kB / 4.045 GB, free: 92.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.362e-06/7.691, allocations: 3.938 kB / 4.045 GB, free: 92.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001554/7.692, allocations: 0.4895 MB / 4.046 GB, free: 91.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/7.692, allocations: 81.3 kB / 4.046 GB, free: 91.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/7.692, allocations: 121.1 kB / 4.046 GB, free: 91.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/7.692, allocations: 25.7 kB / 4.046 GB, free: 91.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/7.692, allocations: 108.6 kB / 4.046 GB, free: 91.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/7.693, allocations: 118.1 kB / 4.046 GB, free: 91.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/7.693, allocations: 0 / 4.046 GB, free: 91.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.931e-05/7.693, allocations: 326.8 kB / 4.046 GB, free: 90.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/7.693, allocations: 104 kB / 4.047 GB, free: 90.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/7.693, allocations: 179.8 kB / 4.047 GB, free: 90.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/7.693, allocations: 137 kB / 4.047 GB, free: 90.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/7.693, allocations: 4 kB / 4.047 GB, free: 90.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005723/7.694, allocations: 353.4 kB / 4.047 GB, free: 90.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/7.694, allocations: 4 kB / 4.047 GB, free: 90.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/7.694, allocations: 3.906 kB / 4.047 GB, free: 90.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/7.694, allocations: 4 kB / 4.047 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/7.694, allocations: 92.03 kB / 4.047 GB, free: 90.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/7.694, allocations: 4 kB / 4.047 GB, free: 90.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/7.695, allocations: 19.89 kB / 4.047 GB, free: 90.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/7.695, allocations: 19.98 kB / 4.047 GB, free: 90.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 9.076e-05/7.695, allocations: 112.9 kB / 4.047 GB, free: 89.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/7.695, allocations: 15.81 kB / 4.047 GB, free: 89.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/7.696, allocations: 186.2 kB / 4.048 GB, free: 89.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/7.696, allocations: 8 kB / 4.048 GB, free: 89.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/7.696, allocations: 4 kB / 4.048 GB, free: 89.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/7.696, allocations: 4 kB / 4.048 GB, free: 89.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/7.697, allocations: 0.6588 MB / 4.048 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/7.697, allocations: 12.09 kB / 4.048 GB, free: 88.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/7.697, allocations: 79.88 kB / 4.048 GB, free: 88.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/7.697, allocations: 4 kB / 4.048 GB, free: 88.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/7.697, allocations: 4 kB / 4.048 GB, free: 88.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/7.697, allocations: 4 kB / 4.048 GB, free: 88.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/7.697, allocations: 0 / 4.048 GB, free: 88.86 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007688/7.698, allocations: 0.7094 MB / 4.049 GB, free: 88.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.605e-05/7.698, allocations: 113.3 kB / 4.049 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/7.698, allocations: 0 / 4.049 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/7.698, allocations: 23.91 kB / 4.049 GB, free: 87.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/7.698, allocations: 19.97 kB / 4.049 GB, free: 87.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/7.699, allocations: 20 kB / 4.049 GB, free: 87.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.929e-05/7.699, allocations: 95.27 kB / 4.049 GB, free: 87.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006304/7.699, allocations: 171.8 kB / 4.05 GB, free: 87.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.000932/7.7, allocations: 0.7461 MB / 4.05 GB, free: 86.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000411/7.701, allocations: 280.5 kB / 4.05 GB, free: 86.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/7.701, allocations: 448 / 4.05 GB, free: 86.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/7.701, allocations: 151.8 kB / 4.051 GB, free: 86.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/7.701, allocations: 77.98 kB / 4.051 GB, free: 86.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/7.702, allocations: 463.3 kB / 4.051 GB, free: 85.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/7.703, allocations: 0.7835 MB / 4.052 GB, free: 85.07 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/7.703, allocations: 4 kB / 4.052 GB, free: 85.06 MB / 426.7 MB Notification: Performance of Templates: time 0.01278/7.716, allocations: 9.146 MB / 4.061 GB, free: 75.91 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches