Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [: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.0008916/0.0008918, allocations: 191.5 kB / 7.807 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 0.9842/0.9842, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008047/0.0008047, allocations: 94.78 kB / 261.4 MB, free: 13.55 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.1457/0.1457, allocations: 43.49 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.849e-06/4.88e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2289, allocations: 58.83 MB / 476.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.25, allocations: 0.7634 GB / 1.229 GB, free: 32.17 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/1.25, allocations: 71.97 kB / 1.229 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.2558/1.506, allocations: 61.33 MB / 1.289 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.523e-05/1.506, allocations: 3.344 kB / 1.289 GB, free: 180.7 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006599/1.507, allocations: 474.8 kB / 1.289 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/1.507, allocations: 9.188 kB / 1.289 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005753/1.512, allocations: 0.8302 MB / 1.29 GB, free: 180.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/1.513, allocations: 278.4 kB / 1.29 GB, free: 180 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/1.513, allocations: 5.219 kB / 1.29 GB, free: 180 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.513, allocations: 18.52 kB / 1.29 GB, free: 180 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001134/1.514, allocations: 0.6483 MB / 1.291 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/1.515, allocations: 419.3 kB / 1.291 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.515, allocations: 0 / 1.291 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/1.515, allocations: 4.641 kB / 1.291 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/1.515, allocations: 8.375 kB / 1.291 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/1.518, allocations: 1.341 MB / 1.293 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/1.518, allocations: 314 kB / 1.293 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/1.518, allocations: 232.6 kB / 1.293 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/1.519, allocations: 244.2 kB / 1.293 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/1.519, allocations: 45.09 kB / 1.293 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/1.519, allocations: 0 / 1.293 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.0008298/1.52, allocations: 441.7 kB / 1.294 GB, free: 178 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/1.52, allocations: 81.2 kB / 1.294 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/1.52, allocations: 121.7 kB / 1.294 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/1.52, allocations: 25.7 kB / 1.294 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/1.52, allocations: 108.9 kB / 1.294 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/1.52, allocations: 114 kB / 1.294 GB, free: 177.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/1.52, allocations: 0 / 1.294 GB, free: 177.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/1.52, allocations: 324.1 kB / 1.295 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/1.52, allocations: 199.9 kB / 1.295 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/1.521, allocations: 311.2 kB / 1.295 GB, free: 177 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/1.521, allocations: 232.7 kB / 1.295 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.521, allocations: 1.156 kB / 1.295 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009195/1.522, allocations: 0.5319 MB / 1.296 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.522, allocations: 9.094 kB / 1.296 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/1.522, allocations: 3.031 kB / 1.296 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.522, allocations: 10.97 kB / 1.296 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/1.523, allocations: 80.84 kB / 1.296 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.523, allocations: 9.625 kB / 1.296 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/1.523, allocations: 41.28 kB / 1.296 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/1.523, allocations: 21.67 kB / 1.296 GB, free: 176.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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 0.0001135/1.523, allocations: 113 kB / 1.296 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/1.524, allocations: 20.38 kB / 1.296 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/1.525, allocations: 0.5541 MB / 1.297 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.525, allocations: 3.312 kB / 1.297 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.525, allocations: 1.031 kB / 1.297 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.525, allocations: 1.453 kB / 1.297 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006975/1.525, allocations: 0.5061 MB / 1.297 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.525, allocations: 2.125 kB / 1.297 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/1.526, allocations: 65.55 kB / 1.297 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.526, allocations: 2.062 kB / 1.297 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/1.526, allocations: 9.391 kB / 1.297 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.526, allocations: 0.9688 kB / 1.297 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.526, allocations: 1.312 kB / 1.297 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009359/1.527, allocations: 0.7377 MB / 1.298 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/1.527, allocations: 96.12 kB / 1.298 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/1.527, allocations: 4.281 kB / 1.298 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/1.528, allocations: 19.64 kB / 1.298 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/1.528, allocations: 18.25 kB / 1.298 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/1.528, allocations: 16.09 kB / 1.298 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.063e-05/1.528, allocations: 104 kB / 1.298 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008115/1.529, allocations: 191.2 kB / 1.298 GB, free: 175.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.00139/1.53, allocations: 0.8618 MB / 1.299 GB, free: 175 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006778/1.531, allocations: 483.2 kB / 1.3 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.531, allocations: 1.219 kB / 1.3 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/1.531, allocations: 240.5 kB / 1.3 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/1.532, allocations: 72.72 kB / 1.3 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/1.533, allocations: 0.7821 MB / 1.301 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/1.533, allocations: 0.7895 MB / 1.302 GB, free: 173.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.533, allocations: 0 / 1.302 GB, free: 173.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.01542/1.549, allocations: 13.07 MB / 1.314 GB, free: 163.9 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches