Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.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.001418/0.001418, allocations: 179.1 kB / 8.48 MB, free: 1.871 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.74/1.74, allocations: 205.2 MB / 214.1 MB, free: 5.156 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.001325/0.001325, allocations: 78.33 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.448e-06, allocations: 4 kB / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1271, allocations: 47.58 MB / 362.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.833/1.961, allocations: 0.7538 GB / 1.108 GB, free: 136.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/1.961, allocations: 79.06 kB / 1.108 GB, free: 136.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1162/2.077, allocations: 61.18 MB / 1.168 GB, free: 74.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/2.077, allocations: 7.984 kB / 1.168 GB, free: 74.35 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007677/2.078, allocations: 470.5 kB / 1.168 GB, free: 73.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/2.078, allocations: 12.03 kB / 1.168 GB, free: 73.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005793/2.084, allocations: 0.842 MB / 1.169 GB, free: 72.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/2.084, allocations: 282.7 kB / 1.169 GB, free: 72.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/2.084, allocations: 7.938 kB / 1.169 GB, free: 72.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/2.084, allocations: 12 kB / 1.169 GB, free: 72.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001081/2.086, allocations: 0.6446 MB / 1.17 GB, free: 72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/2.086, allocations: 424.4 kB / 1.17 GB, free: 71.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/2.086, allocations: 4 kB / 1.17 GB, free: 71.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/2.086, allocations: 0 / 1.17 GB, free: 71.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/2.086, allocations: 11.94 kB / 1.17 GB, free: 71.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/2.089, allocations: 1.314 MB / 1.172 GB, free: 70.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/2.089, allocations: 324.2 kB / 1.172 GB, free: 69.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/2.09, allocations: 229.7 kB / 1.172 GB, free: 69.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/2.09, allocations: 246.3 kB / 1.172 GB, free: 69.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/2.09, allocations: 42.5 kB / 1.172 GB, free: 69.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/2.09, allocations: 0 / 1.172 GB, free: 69.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.000855/2.091, allocations: 449.6 kB / 1.173 GB, free: 68.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/2.091, allocations: 85.11 kB / 1.173 GB, free: 68.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/2.091, allocations: 118.8 kB / 1.173 GB, free: 68.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/2.091, allocations: 25.7 kB / 1.173 GB, free: 68.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/2.091, allocations: 116.3 kB / 1.173 GB, free: 68.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/2.092, allocations: 98.56 kB / 1.173 GB, free: 68.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/2.092, allocations: 0 / 1.173 GB, free: 68.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/2.092, allocations: 330.7 kB / 1.174 GB, free: 68.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/2.092, allocations: 207.9 kB / 1.174 GB, free: 67.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/2.092, allocations: 304.6 kB / 1.174 GB, free: 67.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/2.093, allocations: 231.8 kB / 1.174 GB, free: 67.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/2.093, allocations: 0 / 1.174 GB, free: 67.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008229/2.093, allocations: 0.54 MB / 1.175 GB, free: 66.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/2.093, allocations: 4 kB / 1.175 GB, free: 66.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/2.093, allocations: 4 kB / 1.175 GB, free: 66.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/2.093, allocations: 4 kB / 1.175 GB, free: 66.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/2.094, allocations: 83.88 kB / 1.175 GB, free: 66.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/2.094, allocations: 8.344 kB / 1.175 GB, free: 66.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/2.094, allocations: 39.67 kB / 1.175 GB, free: 66.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/2.095, allocations: 23.98 kB / 1.175 GB, free: 66.58 MB / 426.7 MB 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.000123/2.095, allocations: 108.9 kB / 1.175 GB, free: 66.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/2.095, allocations: 15.81 kB / 1.175 GB, free: 66.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/2.096, allocations: 0.5528 MB / 1.176 GB, free: 65.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/2.096, allocations: 0 / 1.176 GB, free: 65.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/2.096, allocations: 7.906 kB / 1.176 GB, free: 65.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/2.096, allocations: 3.984 kB / 1.176 GB, free: 65.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/2.097, allocations: 0.4971 MB / 1.176 GB, free: 65.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/2.097, allocations: 4 kB / 1.176 GB, free: 65.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/2.097, allocations: 63.89 kB / 1.176 GB, free: 65.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/2.097, allocations: 0 / 1.176 GB, free: 65.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/2.097, allocations: 15.89 kB / 1.176 GB, free: 65.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/2.097, allocations: 0 / 1.176 GB, free: 65.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/2.097, allocations: 4 kB / 1.176 GB, free: 65.26 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008915/2.098, allocations: 0.7358 MB / 1.177 GB, free: 64.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/2.098, allocations: 92.95 kB / 1.177 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/2.098, allocations: 4 kB / 1.177 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/2.099, allocations: 19.83 kB / 1.177 GB, free: 64.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/2.099, allocations: 19.97 kB / 1.177 GB, free: 64.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/2.099, allocations: 15.98 kB / 1.177 GB, free: 64.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.445e-05/2.099, allocations: 107.1 kB / 1.177 GB, free: 64.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009199/2.1, allocations: 199.9 kB / 1.177 GB, free: 64.03 MB / 426.7 MB 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.001424/2.101, allocations: 0.8747 MB / 1.178 GB, free: 63.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006223/2.102, allocations: 475.7 kB / 1.179 GB, free: 62.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.102, allocations: 4 kB / 1.179 GB, free: 62.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/2.102, allocations: 240.6 kB / 1.179 GB, free: 62.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/2.103, allocations: 83.78 kB / 1.179 GB, free: 62.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/2.104, allocations: 0.7833 MB / 1.18 GB, free: 61.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/2.105, allocations: 0.779 MB / 1.181 GB, free: 60.75 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/2.105, allocations: 0 / 1.181 GB, free: 60.75 MB / 426.7 MB Notification: Performance of Templates: time 0.01635/2.121, allocations: 13.16 MB / 1.193 GB, free: 47.57 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches