Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000813/0.000813, allocations: 98.12 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2743/0.2743, allocations: 45.22 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002182/0.0002181, allocations: 8 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3148, allocations: 63.24 MB / 0.5192 GB, free: 43.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4286, allocations: 101.1 MB / 0.618 GB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4288, allocations: 103.7 kB / 0.6181 GB, free: 4.391 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03285/0.4617, allocations: 11.72 MB / 0.6295 GB, free: 8.676 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4618, allocations: 0 / 0.6295 GB, free: 8.676 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4618, allocations: 7.938 kB / 0.6295 GB, free: 8.668 MB / 442.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.0007607/0.4625, allocations: 0.6004 MB / 0.6301 GB, free: 8.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4626, allocations: 8.031 kB / 0.6301 GB, free: 8.012 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.4627, allocations: 39.53 kB / 0.6301 GB, free: 7.973 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.463, allocations: 238.5 kB / 0.6304 GB, free: 7.699 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.463, allocations: 25 kB / 0.6304 GB, free: 7.676 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.463, allocations: 36 kB / 0.6304 GB, free: 7.641 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.4637, allocations: 0.5735 MB / 0.631 GB, free: 6.938 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4638, allocations: 11.88 kB / 0.631 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.4638, allocations: 20 kB / 0.631 GB, free: 6.906 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.4638, allocations: 16 kB / 0.631 GB, free: 6.891 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.4644, allocations: 333.1 kB / 0.6313 GB, free: 6.566 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.4667, allocations: 4.054 MB / 0.6353 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.467, allocations: 102.5 kB / 0.6354 GB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.4671, allocations: 0 / 0.6354 GB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4671, allocations: 46.62 kB / 0.6355 GB, free: 2.145 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4671, allocations: 0 / 0.6355 GB, free: 2.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005046/0.4676, allocations: 177.3 kB / 0.6356 GB, free: 1.965 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.4677, allocations: 59.41 kB / 0.6357 GB, free: 1.895 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.468, allocations: 361 kB / 0.636 GB, free: 1.527 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.468, allocations: 29.7 kB / 0.636 GB, free: 1.492 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4682, allocations: 247 kB / 0.6363 GB, free: 1.246 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.4682, allocations: 31.64 kB / 0.6363 GB, free: 1.215 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.4682, allocations: 8 kB / 0.6363 GB, free: 1.207 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4684, allocations: 346.8 kB / 0.6367 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.4685, allocations: 60.61 kB / 0.6367 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.4688, allocations: 270.4 kB / 0.637 GB, free: 440 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.469, allocations: 95.91 kB / 0.6371 GB, free: 344 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.469, allocations: 4 kB / 0.6371 GB, free: 340 kB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006032/0.4696, allocations: 360.7 kB / 0.6374 GB, free: 15.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4696, allocations: 8 kB / 0.6374 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4697, allocations: 4 kB / 0.6374 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4697, allocations: 12.78 kB / 0.6374 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.4701, allocations: 119.8 kB / 0.6375 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006184/0.4707, allocations: 1.219 MB / 0.6387 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.471, allocations: 71.47 kB / 0.6388 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.471, allocations: 16 kB / 0.6388 GB, free: 14.48 MB / 458.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 () * Number of clocked 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 0.0001404/0.4712, allocations: 153.1 kB / 0.639 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.4712, allocations: 39.53 kB / 0.639 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.4717, allocations: 184.7 kB / 0.6392 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4717, allocations: 4 kB / 0.6392 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4717, allocations: 7.953 kB / 0.6392 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4717, allocations: 0 / 0.6392 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.472, allocations: 277.5 kB / 0.6395 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.472, allocations: 0 / 0.6395 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4722, allocations: 51.97 kB / 0.6395 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4723, allocations: 0 / 0.6395 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4723, allocations: 7.984 kB / 0.6395 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005713/0.4729, allocations: 1.207 MB / 0.6407 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4729, allocations: 0 / 0.6407 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.4732, allocations: 247.1 kB / 0.6409 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.4733, allocations: 108.6 kB / 0.641 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.4733, allocations: 4 kB / 0.641 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4735, allocations: 11.98 kB / 0.641 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.4736, allocations: 4 kB / 0.641 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.4736, allocations: 11.98 kB / 0.6411 GB, free: 12.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002333/0.4738, allocations: 263.2 kB / 0.6413 GB, free: 11.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4738, allocations: 0 / 0.6413 GB, free: 11.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005861/0.4744, allocations: 143.9 kB / 0.6414 GB, free: 11.65 MB / 458.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 () * Number of clocked 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.0005284/0.4749, allocations: 269.5 kB / 0.6417 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.4755, allocations: 209.6 kB / 0.6419 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4755, allocations: 0 / 0.6419 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.4758, allocations: 71.89 kB / 0.642 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.476, allocations: 37.91 kB / 0.642 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008833/0.4769, allocations: 0.5757 MB / 0.6426 GB, free: 10.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.4772, allocations: 0.7758 MB / 0.6433 GB, free: 9.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.4774, allocations: 46.89 kB / 0.6434 GB, free: 9.625 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.4774, allocations: 27.38 kB / 0.6434 GB, free: 9.598 MB / 458.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4774, allocations: 0 / 0.6434 GB, free: 9.598 MB / 458.7 MB Notification: Performance of Templates: time 0.01124/0.4887, allocations: 6.733 MB / 0.65 GB, free: 2.922 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches