Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001513/0.001514, allocations: 207.1 kB / 8.545 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 91.86 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 45.14 MB / 383.3 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.904e-06/7.935e-06, allocations: 0 / 452.6 MB, free: 76.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 63.24 MB / 0.5038 GB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.971/2.135, allocations: 0.7328 GB / 1.237 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/2.136, allocations: 72.5 kB / 1.237 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1203/2.256, allocations: 62.94 MB / 1.298 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.711e-05/2.256, allocations: 4 kB / 1.298 GB, free: 65.22 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.0007986/2.257, allocations: 470.5 kB / 1.299 GB, free: 64.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/2.257, allocations: 8.031 kB / 1.299 GB, free: 64.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005637/2.263, allocations: 0.8576 MB / 1.299 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/2.263, allocations: 282.7 kB / 1.3 GB, free: 63.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/2.263, allocations: 7.984 kB / 1.3 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/2.263, allocations: 15.91 kB / 1.3 GB, free: 63.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001117/2.264, allocations: 0.629 MB / 1.3 GB, free: 62.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/2.265, allocations: 408.5 kB / 1.301 GB, free: 62.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/2.265, allocations: 4 kB / 1.301 GB, free: 62.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/2.265, allocations: 4 kB / 1.301 GB, free: 62.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/2.265, allocations: 8 kB / 1.301 GB, free: 62.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/2.268, allocations: 1.303 MB / 1.302 GB, free: 61.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/2.268, allocations: 324.1 kB / 1.302 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/2.269, allocations: 225.7 kB / 1.302 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008056/2.27, allocations: 367.2 kB / 1.303 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/2.27, allocations: 38.56 kB / 1.303 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.767e-06/2.27, allocations: 0 / 1.303 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0009533/2.271, allocations: 443.8 kB / 1.303 GB, free: 59.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/2.271, allocations: 81.11 kB / 1.303 GB, free: 59.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/2.271, allocations: 117.9 kB / 1.303 GB, free: 59.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/2.271, allocations: 25.7 kB / 1.303 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/2.271, allocations: 116.4 kB / 1.304 GB, free: 59.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/2.271, allocations: 102.5 kB / 1.304 GB, free: 59.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/2.271, allocations: 3.938 kB / 1.304 GB, free: 59.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.214e-05/2.271, allocations: 330.8 kB / 1.304 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/2.271, allocations: 203.9 kB / 1.304 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/2.272, allocations: 308.9 kB / 1.305 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/2.272, allocations: 235.8 kB / 1.305 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/2.272, allocations: 3.938 kB / 1.305 GB, free: 58.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00081/2.273, allocations: 0.5327 MB / 1.305 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/2.273, allocations: 4 kB / 1.305 GB, free: 57.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/2.273, allocations: 11.84 kB / 1.305 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/2.273, allocations: 7.984 kB / 1.305 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/2.273, allocations: 87.83 kB / 1.305 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/2.274, allocations: 4 kB / 1.305 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/2.274, allocations: 43.66 kB / 1.305 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/2.274, allocations: 20.12 kB / 1.305 GB, free: 57.34 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.0001415/2.274, allocations: 118.7 kB / 1.306 GB, free: 57.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/2.274, allocations: 19.81 kB / 1.306 GB, free: 57.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/2.275, allocations: 0.5291 MB / 1.306 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/2.275, allocations: 4 kB / 1.306 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/2.275, allocations: 0 / 1.306 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/2.275, allocations: 7.984 kB / 1.306 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/2.276, allocations: 0.5082 MB / 1.307 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/2.276, allocations: 4 kB / 1.307 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/2.277, allocations: 59.95 kB / 1.307 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/2.277, allocations: 0 / 1.307 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/2.277, allocations: 7.984 kB / 1.307 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/2.277, allocations: 11.88 kB / 1.307 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.277, allocations: 0 / 1.307 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009347/2.278, allocations: 0.7354 MB / 1.307 GB, free: 55.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/2.278, allocations: 100.8 kB / 1.307 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/2.278, allocations: 0 / 1.307 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/2.278, allocations: 19.92 kB / 1.308 GB, free: 55.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/2.278, allocations: 19.97 kB / 1.308 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/2.279, allocations: 19.98 kB / 1.308 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.879e-05/2.279, allocations: 103.6 kB / 1.308 GB, free: 54.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009324/2.28, allocations: 195.8 kB / 1.308 GB, free: 54.8 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.001477/2.281, allocations: 0.8695 MB / 1.309 GB, free: 53.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007037/2.282, allocations: 475.7 kB / 1.309 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.282, allocations: 0.8125 kB / 1.309 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/2.282, allocations: 242.9 kB / 1.309 GB, free: 53.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/2.283, allocations: 75.92 kB / 1.309 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/2.284, allocations: 0.7766 MB / 1.31 GB, free: 52.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/2.284, allocations: 0.7829 MB / 1.311 GB, free: 51.54 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/2.284, allocations: 4 kB / 1.311 GB, free: 51.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.01668/2.301, allocations: 13 MB / 1.324 GB, free: 38.55 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches