Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 182.8 kB / 8.518 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.4 MB / 230.3 MB, free: 7.746 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 84.75 kB / 281.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3533/0.3533, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.24e-05/1.243e-05, allocations: 8 kB / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1605, allocations: 61.9 MB / 0.4941 GB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.762/1.922, allocations: 0.7317 GB / 1.226 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.923, allocations: 68.72 kB / 1.226 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1239/2.046, allocations: 62.9 MB / 1.287 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.467e-05/2.047, allocations: 4 kB / 1.287 GB, free: 33.62 MB / 0.5261 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.0006822/2.047, allocations: 482.1 kB / 1.288 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/2.047, allocations: 11.97 kB / 1.288 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005891/2.053, allocations: 0.8537 MB / 1.289 GB, free: 32.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/2.054, allocations: 278.8 kB / 1.289 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/2.054, allocations: 8 kB / 1.289 GB, free: 31.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/2.054, allocations: 15.91 kB / 1.289 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001076/2.055, allocations: 0.629 MB / 1.29 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/2.055, allocations: 412.5 kB / 1.29 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/2.055, allocations: 0 / 1.29 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/2.056, allocations: 3.938 kB / 1.29 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/2.056, allocations: 8 kB / 1.29 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/2.058, allocations: 1.312 MB / 1.291 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/2.059, allocations: 320.2 kB / 1.292 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/2.059, allocations: 225.7 kB / 1.292 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008743/2.06, allocations: 367.3 kB / 1.292 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/2.06, allocations: 38.5 kB / 1.292 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.465e-06/2.06, allocations: 4 kB / 1.292 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0008891/2.061, allocations: 441.6 kB / 1.293 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/2.061, allocations: 81.11 kB / 1.293 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/2.061, allocations: 117 kB / 1.293 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/2.061, allocations: 25.7 kB / 1.293 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/2.061, allocations: 108.4 kB / 1.293 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/2.061, allocations: 114.4 kB / 1.293 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/2.061, allocations: 0 / 1.293 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/2.061, allocations: 330.8 kB / 1.293 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/2.062, allocations: 199.9 kB / 1.293 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/2.062, allocations: 300.8 kB / 1.294 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/2.062, allocations: 238.5 kB / 1.294 GB, free: 26.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/2.062, allocations: 4 kB / 1.294 GB, free: 26.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008914/2.063, allocations: 0.5361 MB / 1.295 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/2.063, allocations: 4 kB / 1.295 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/2.063, allocations: 4 kB / 1.295 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/2.063, allocations: 8.312 kB / 1.295 GB, free: 25.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/2.064, allocations: 91.81 kB / 1.295 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/2.064, allocations: 4 kB / 1.295 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/2.065, allocations: 35.67 kB / 1.295 GB, free: 25.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/2.065, allocations: 27.92 kB / 1.295 GB, free: 25.75 MB / 0.5261 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.0001213/2.065, allocations: 108.9 kB / 1.295 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/2.065, allocations: 19.81 kB / 1.295 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/2.066, allocations: 0.547 MB / 1.295 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/2.066, allocations: 4 kB / 1.295 GB, free: 25.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.066, allocations: 0 / 1.295 GB, free: 25.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/2.066, allocations: 0 / 1.295 GB, free: 25.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/2.067, allocations: 0.5118 MB / 1.296 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/2.067, allocations: 0 / 1.296 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/2.067, allocations: 63.89 kB / 1.296 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/2.067, allocations: 7.984 kB / 1.296 GB, free: 24.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/2.067, allocations: 4 kB / 1.296 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/2.067, allocations: 0 / 1.296 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/2.067, allocations: 0 / 1.296 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009026/2.068, allocations: 0.7352 MB / 1.297 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/2.068, allocations: 92.86 kB / 1.297 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/2.068, allocations: 7.984 kB / 1.297 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/2.069, allocations: 11.98 kB / 1.297 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/2.069, allocations: 23.91 kB / 1.297 GB, free: 23.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/2.069, allocations: 15.98 kB / 1.297 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.142e-05/2.069, allocations: 103.6 kB / 1.297 GB, free: 23.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000861/2.07, allocations: 207.8 kB / 1.297 GB, free: 23.2 MB / 0.5261 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.001651/2.072, allocations: 0.8577 MB / 1.298 GB, free: 22.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006576/2.072, allocations: 479.7 kB / 1.298 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.072, allocations: 0 / 1.298 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/2.073, allocations: 239.8 kB / 1.299 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005928/2.073, allocations: 84.66 kB / 1.299 GB, free: 21.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/2.074, allocations: 0.7728 MB / 1.299 GB, free: 20.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/2.075, allocations: 0.7829 MB / 1.3 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/2.075, allocations: 0 / 1.3 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.01732/2.092, allocations: 13.02 MB / 1.313 GB, free: 6.961 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches