Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.0008394/0.0008395, allocations: 100.4 kB / 281.6 MB, free: 5.328 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.1893/0.1893, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.613e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.5051, allocations: 99.14 MB / 0.5915 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.5055, allocations: 91.94 kB / 0.5916 GB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05399/0.5595, allocations: 11.3 MB / 0.6026 GB, free: 1.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5595, allocations: 4 kB / 0.6026 GB, free: 1.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.5596, allocations: 4 kB / 0.6026 GB, free: 1.926 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001158/0.5607, allocations: 0.5744 MB / 0.6032 GB, free: 1.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/0.5608, allocations: 11.98 kB / 0.6032 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.561, allocations: 39.53 kB / 0.6032 GB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.5615, allocations: 242.3 kB / 0.6035 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.5615, allocations: 15.95 kB / 0.6035 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.5616, allocations: 24 kB / 0.6035 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006074/0.5622, allocations: 225.5 kB / 0.6037 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/0.5632, allocations: 0.498 MB / 0.6042 GB, free: 96 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.5632, allocations: 7.938 kB / 0.6042 GB, free: 88 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.5633, allocations: 4 kB / 0.6042 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.5633, allocations: 12 kB / 0.6042 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003877/0.5672, allocations: 3.938 MB / 0.6081 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.5677, allocations: 82.55 kB / 0.6082 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.5678, allocations: 36.91 kB / 0.6082 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.5679, allocations: 0 / 0.6082 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5679, allocations: 34.56 kB / 0.6082 GB, free: 11.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/0.568, allocations: 0 / 0.6082 GB, free: 11.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004077/0.5684, allocations: 101.3 kB / 0.6083 GB, free: 11.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.5684, allocations: 51.41 kB / 0.6084 GB, free: 11.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.5688, allocations: 226.2 kB / 0.6086 GB, free: 11.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.5688, allocations: 29.7 kB / 0.6086 GB, free: 11.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.5691, allocations: 262.7 kB / 0.6089 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.5692, allocations: 31.55 kB / 0.6089 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.5692, allocations: 0 / 0.6089 GB, free: 11.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5694, allocations: 334.8 kB / 0.6092 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.5695, allocations: 36.66 kB / 0.6093 GB, free: 10.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.5699, allocations: 246.1 kB / 0.6095 GB, free: 10.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.5701, allocations: 79.84 kB / 0.6096 GB, free: 10.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.5701, allocations: 4 kB / 0.6096 GB, free: 10.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006229/0.5708, allocations: 261.9 kB / 0.6098 GB, free: 9.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5708, allocations: 9.25 kB / 0.6098 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5708, allocations: 8 kB / 0.6098 GB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.5709, allocations: 8 kB / 0.6098 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.5713, allocations: 111.8 kB / 0.6099 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006418/0.5719, allocations: 1.227 MB / 0.6111 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.5722, allocations: 31.69 kB / 0.6112 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.5722, allocations: 24 kB / 0.6112 GB, free: 8.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/0.5723, allocations: 124.8 kB / 0.6113 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.5724, allocations: 27.66 kB / 0.6113 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.5727, allocations: 135.4 kB / 0.6115 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5727, allocations: 0 / 0.6115 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.5727, allocations: 4 kB / 0.6115 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5727, allocations: 4 kB / 0.6115 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.5729, allocations: 246 kB / 0.6117 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.573, allocations: 7.984 kB / 0.6117 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.5732, allocations: 47.97 kB / 0.6118 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5732, allocations: 0 / 0.6118 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5732, allocations: 4 kB / 0.6118 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005783/0.5738, allocations: 1.215 MB / 0.613 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5738, allocations: 240 / 0.613 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.574, allocations: 187.3 kB / 0.6131 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.5741, allocations: 100.8 kB / 0.6132 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.5741, allocations: 8.172 kB / 0.6132 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.5743, allocations: 4 kB / 0.6132 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.5743, allocations: 15.88 kB / 0.6133 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5743, allocations: 4 kB / 0.6133 GB, free: 6.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.5745, allocations: 166 kB / 0.6134 GB, free: 6.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5745, allocations: 4 kB / 0.6134 GB, free: 6.105 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006386/0.5751, allocations: 115.7 kB / 0.6135 GB, free: 5.992 MB / 426.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004331/0.5756, allocations: 258.2 kB / 0.6138 GB, free: 5.734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.576, allocations: 149.1 kB / 0.6139 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.576, allocations: 0.625 kB / 0.6139 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.5762, allocations: 59.86 kB / 0.614 GB, free: 5.531 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.5764, allocations: 18.19 kB / 0.614 GB, free: 5.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.5769, allocations: 277.9 kB / 0.6143 GB, free: 5.223 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.5773, allocations: 0.7789 MB / 0.615 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.5774, allocations: 26.06 kB / 0.6151 GB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.5774, allocations: 19.44 kB / 0.6151 GB, free: 4.367 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5774, allocations: 0 / 0.6151 GB, free: 4.367 MB / 426.7 MB Notification: Performance of Templates: time 0.009317/0.5868, allocations: 4.952 MB / 0.6199 GB, free: 15.45 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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/kc_roundTube_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches