Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001718/0.001718, allocations: 170.5 kB / 8.146 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 91.19 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2642/0.2642, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/8.025e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2883, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.751/2.039, allocations: 0.7634 GB / 1.229 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/2.04, allocations: 80.05 kB / 1.229 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.2097/2.249, allocations: 61.32 MB / 1.289 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.504e-05/2.249, allocations: 4 kB / 1.289 GB, free: 105.8 MB / 0.4948 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.0007987/2.25, allocations: 470.5 kB / 1.289 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/2.25, allocations: 12.03 kB / 1.289 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/2.261, allocations: 0.8381 MB / 1.29 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/2.262, allocations: 270.8 kB / 1.29 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/2.262, allocations: 7.984 kB / 1.29 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/2.262, allocations: 15.91 kB / 1.29 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001893/2.264, allocations: 0.6446 MB / 1.291 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009524/2.265, allocations: 416.5 kB / 1.291 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/2.265, allocations: 3.938 kB / 1.291 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.161e-05/2.265, allocations: 8 kB / 1.291 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/2.265, allocations: 7.938 kB / 1.291 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/2.27, allocations: 1.325 MB / 1.293 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/2.271, allocations: 320.2 kB / 1.293 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/2.271, allocations: 225.7 kB / 1.293 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/2.272, allocations: 246.1 kB / 1.293 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/2.272, allocations: 46.48 kB / 1.293 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.966e-06/2.272, allocations: 0 / 1.293 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.001468/2.273, allocations: 444.9 kB / 1.294 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/2.274, allocations: 77.11 kB / 1.294 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/2.274, allocations: 125 kB / 1.294 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/2.274, allocations: 25.7 kB / 1.294 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/2.274, allocations: 186.7 kB / 1.294 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/2.274, allocations: 106.4 kB / 1.294 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/2.274, allocations: 0 / 1.294 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.281e-05/2.274, allocations: 322.8 kB / 1.295 GB, free: 99.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/2.275, allocations: 203.9 kB / 1.295 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/2.275, allocations: 300.6 kB / 1.295 GB, free: 98.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/2.276, allocations: 240.1 kB / 1.295 GB, free: 98.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/2.276, allocations: 0 / 1.295 GB, free: 98.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001497/2.277, allocations: 0.5323 MB / 1.296 GB, free: 98.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/2.277, allocations: 7.984 kB / 1.296 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/2.277, allocations: 4 kB / 1.296 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/2.277, allocations: 4 kB / 1.296 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/2.279, allocations: 83.89 kB / 1.296 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/2.279, allocations: 11.92 kB / 1.296 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000835/2.279, allocations: 40.08 kB / 1.296 GB, free: 97.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.595e-05/2.279, allocations: 23.98 kB / 1.296 GB, free: 97.96 MB / 0.4948 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.000182/2.28, allocations: 29.64 kB / 1.296 GB, free: 97.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/2.28, allocations: 19.81 kB / 1.296 GB, free: 97.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/2.282, allocations: 0.552 MB / 1.297 GB, free: 97.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/2.282, allocations: 4 kB / 1.297 GB, free: 97.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/2.282, allocations: 7.891 kB / 1.297 GB, free: 97.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/2.282, allocations: 0 / 1.297 GB, free: 97.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/2.283, allocations: 0.5044 MB / 1.297 GB, free: 96.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/2.283, allocations: 0 / 1.297 GB, free: 96.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/2.284, allocations: 71.89 kB / 1.297 GB, free: 96.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/2.284, allocations: 0 / 1.297 GB, free: 96.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/2.284, allocations: 11.92 kB / 1.297 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/2.284, allocations: 4 kB / 1.297 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.284, allocations: 0 / 1.297 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001634/2.286, allocations: 0.731 MB / 1.298 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/2.286, allocations: 96.89 kB / 1.298 GB, free: 95.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/2.286, allocations: 7.906 kB / 1.298 GB, free: 95.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009863/2.287, allocations: 19.97 kB / 1.298 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/2.287, allocations: 15.92 kB / 1.298 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.82e-05/2.287, allocations: 23.97 kB / 1.298 GB, free: 95.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.067e-05/2.287, allocations: 103.6 kB / 1.298 GB, free: 95.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001095/2.289, allocations: 187.9 kB / 1.298 GB, free: 95.49 MB / 0.4948 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.002071/2.291, allocations: 0.8712 MB / 1.299 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001176/2.292, allocations: 479.7 kB / 1.3 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/2.292, allocations: 4 kB / 1.3 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00053/2.292, allocations: 235.8 kB / 1.3 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/2.293, allocations: 80.66 kB / 1.3 GB, free: 93.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/2.295, allocations: 0.8123 MB / 1.301 GB, free: 92.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007088/2.296, allocations: 0.7868 MB / 1.302 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/2.296, allocations: 0 / 1.302 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.01799/2.314, allocations: 9.93 MB / 1.311 GB, free: 82.23 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches