Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") [: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.001988/0.001988, allocations: 195.1 kB / 8.537 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 225.5 MB / 234.4 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008907/0.0008909, allocations: 89.34 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 45.14 MB / 383.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.128e-06/9.488e-06, allocations: 0 / 452.6 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 63.24 MB / 0.5038 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5438, allocations: 101.1 MB / 0.6025 GB, free: 1.762 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/0.5443, allocations: 92.81 kB / 0.6026 GB, free: 1.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03193/0.5762, allocations: 10.38 MB / 0.6128 GB, free: 9.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.5763, allocations: 4 kB / 0.6128 GB, free: 9.352 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006757/0.577, allocations: 0.4921 MB / 0.6132 GB, free: 8.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.577, allocations: 8.031 kB / 0.6133 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.5771, allocations: 23.72 kB / 0.6133 GB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.5773, allocations: 210.9 kB / 0.6135 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.5774, allocations: 4 kB / 0.6135 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.5774, allocations: 12 kB / 0.6135 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001991/0.5776, allocations: 119 kB / 0.6136 GB, free: 8.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.5779, allocations: 220.5 kB / 0.6138 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5779, allocations: 0 / 0.6138 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.5779, allocations: 3.938 kB / 0.6138 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.578, allocations: 7.984 kB / 0.6138 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009263/0.5789, allocations: 0.8541 MB / 0.6147 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.579, allocations: 46.25 kB / 0.6147 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.5791, allocations: 24.36 kB / 0.6147 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.5791, allocations: 0 / 0.6147 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.5791, allocations: 34.59 kB / 0.6148 GB, free: 7.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.5791, allocations: 4 kB / 0.6148 GB, free: 7.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000232/0.5794, allocations: 71.69 kB / 0.6148 GB, free: 7.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.5794, allocations: 55.34 kB / 0.6149 GB, free: 7.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.5796, allocations: 172.9 kB / 0.6151 GB, free: 7.031 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.5796, allocations: 29.69 kB / 0.6151 GB, free: 6.996 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.5797, allocations: 187.9 kB / 0.6153 GB, free: 6.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.5797, allocations: 19.41 kB / 0.6153 GB, free: 6.805 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.5797, allocations: 0 / 0.6153 GB, free: 6.805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5799, allocations: 325 kB / 0.6156 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.5799, allocations: 32.09 kB / 0.6156 GB, free: 6.457 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.5801, allocations: 169.6 kB / 0.6158 GB, free: 6.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.905e-05/0.5802, allocations: 57.59 kB / 0.6158 GB, free: 6.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5802, allocations: 4 kB / 0.6158 GB, free: 6.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002949/0.5805, allocations: 193.9 kB / 0.616 GB, free: 6.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5805, allocations: 4 kB / 0.616 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.5805, allocations: 15.98 kB / 0.616 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5806, allocations: 8 kB / 0.6161 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.5807, allocations: 56.08 kB / 0.6161 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.5808, allocations: 7.984 kB / 0.6161 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.5809, allocations: 35.62 kB / 0.6161 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.581, allocations: 15.94 kB / 0.6162 GB, free: 5.871 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.471e-05/0.5811, allocations: 116.8 kB / 0.6163 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.5811, allocations: 23.7 kB / 0.6163 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.5814, allocations: 128.8 kB / 0.6164 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.5814, allocations: 0 / 0.6164 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5814, allocations: 0 / 0.6164 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5815, allocations: 4 kB / 0.6164 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.5817, allocations: 194.3 kB / 0.6166 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/0.5817, allocations: 11.91 kB / 0.6166 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.5818, allocations: 11.98 kB / 0.6166 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5818, allocations: 0 / 0.6166 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5818, allocations: 4 kB / 0.6166 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5818, allocations: 0 / 0.6166 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5818, allocations: 0 / 0.6166 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001798/0.582, allocations: 177.2 kB / 0.6168 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.5821, allocations: 92.91 kB / 0.6169 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.5821, allocations: 0 / 0.6169 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.5823, allocations: 8 kB / 0.6169 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.5823, allocations: 15.89 kB / 0.6169 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.5823, allocations: 4 kB / 0.6169 GB, free: 5.047 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001034/0.5824, allocations: 134 kB / 0.617 GB, free: 4.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006246/0.5831, allocations: 122.8 kB / 0.6172 GB, free: 4.816 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005256/0.5836, allocations: 246.9 kB / 0.6174 GB, free: 4.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.584, allocations: 166 kB / 0.6176 GB, free: 4.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.584, allocations: 4 kB / 0.6176 GB, free: 4.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.5841, allocations: 94.2 kB / 0.6177 GB, free: 4.309 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.5843, allocations: 15.42 kB / 0.6177 GB, free: 4.297 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.5849, allocations: 204.8 kB / 0.6179 GB, free: 4.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.5852, allocations: 0.7471 MB / 0.6186 GB, free: 3.316 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5852, allocations: 0 / 0.6186 GB, free: 3.316 MB / 410.7 MB Notification: Performance of Templates: time 0.01029/0.5955, allocations: 5.608 MB / 0.6241 GB, free: 13.75 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches