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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 76.16 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4491, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004458/0.4537, allocations: 2.695 MB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.4563, allocations: 1.479 MB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.4565, allocations: 1.156 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.4569, allocations: 112.4 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.4574, allocations: 141.3 kB / 0.536 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.4581, allocations: 262.3 kB / 0.5363 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.4584, allocations: 288 kB / 0.5365 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.677e-05/0.4585, allocations: 25.62 kB / 0.5366 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.4586, allocations: 93.41 kB / 0.5367 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.4588, allocations: 130.7 kB / 0.5368 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.4589, allocations: 6.5 kB / 0.5368 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.4599, allocations: 0.6069 MB / 0.5374 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.46, allocations: 42.41 kB / 0.5374 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.4602, allocations: 138.7 kB / 0.5376 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007605/0.461, allocations: 0.553 MB / 0.5381 GB, free: 8.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.461, allocations: 0 / 0.5381 GB, free: 8.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.461, allocations: 1.031 kB / 0.5381 GB, free: 8.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.461, allocations: 0 / 0.5381 GB, free: 8.719 MB / 398.1 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.0008667/0.4619, allocations: 0.629 MB / 0.5387 GB, free: 8.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.4619, allocations: 9.969 kB / 0.5387 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.462, allocations: 43.94 kB / 0.5388 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.4623, allocations: 244.6 kB / 0.539 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.4623, allocations: 23.44 kB / 0.539 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.4624, allocations: 43.34 kB / 0.5391 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.4631, allocations: 0.5803 MB / 0.5396 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.4632, allocations: 6.812 kB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.4632, allocations: 15.22 kB / 0.5396 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.4632, allocations: 15.34 kB / 0.5397 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.4638, allocations: 335.2 kB / 0.54 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.4665, allocations: 4.046 MB / 0.5439 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.4668, allocations: 91.62 kB / 0.544 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.4669, allocations: 32.97 kB / 0.544 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.467, allocations: 9.344 kB / 0.5441 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.467, allocations: 36.06 kB / 0.5441 GB, free: 2.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 5.54e-06/0.467, allocations: 4 kB / 0.5441 GB, free: 2.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000545/0.4676, allocations: 159.1 kB / 0.5442 GB, free: 2.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.4677, allocations: 52.53 kB / 0.5443 GB, free: 2.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.4682, allocations: 413 kB / 0.5447 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.4682, allocations: 25.7 kB / 0.5447 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.4684, allocations: 253.2 kB / 0.545 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.4685, allocations: 24.8 kB / 0.545 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.4686, allocations: 82.45 kB / 0.5451 GB, free: 2.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4688, allocations: 351.3 kB / 0.5454 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.469, allocations: 54.3 kB / 0.5454 GB, free: 1.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.4693, allocations: 266.5 kB / 0.5457 GB, free: 1.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.4699, allocations: 352.2 kB / 0.546 GB, free: 1.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4699, allocations: 2.344 kB / 0.546 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006824/0.4706, allocations: 356.7 kB / 0.5464 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4706, allocations: 8.281 kB / 0.5464 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.4706, allocations: 7.219 kB / 0.5464 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.4706, allocations: 9.688 kB / 0.5464 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.4712, allocations: 110.6 kB / 0.5465 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008509/0.472, allocations: 1.22 MB / 0.5477 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.4724, allocations: 69.16 kB / 0.5478 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.4724, allocations: 18.31 kB / 0.5478 GB, free: 15.7 MB / 414.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.4726, allocations: 153.1 kB / 0.5479 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.4727, allocations: 40 kB / 0.548 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.4732, allocations: 167.9 kB / 0.5481 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4732, allocations: 0 / 0.5481 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4732, allocations: 1.281 kB / 0.5481 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4732, allocations: 0 / 0.5481 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.4736, allocations: 275.2 kB / 0.5484 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.4736, allocations: 7.922 kB / 0.5484 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.4739, allocations: 60.81 kB / 0.5485 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4739, allocations: 1.062 kB / 0.5485 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.4739, allocations: 2.5 kB / 0.5485 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007726/0.4747, allocations: 1.207 MB / 0.5496 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4747, allocations: 0 / 0.5496 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.4751, allocations: 236.3 kB / 0.5499 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4752, allocations: 109.5 kB / 0.55 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.4753, allocations: 3.938 kB / 0.55 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.4755, allocations: 16.55 kB / 0.55 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.4755, allocations: 3.375 kB / 0.55 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4756, allocations: 3.469 kB / 0.55 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.4759, allocations: 275.6 kB / 0.5503 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4759, allocations: 1.281 kB / 0.5503 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006616/0.4766, allocations: 115.9 kB / 0.5504 GB, free: 13.42 MB / 414.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004475/0.477, allocations: 186.1 kB / 0.5505 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006701/0.4777, allocations: 201 kB / 0.5507 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4777, allocations: 1.625 kB / 0.5507 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.478, allocations: 79.36 kB / 0.5508 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.4785, allocations: 43.67 kB / 0.5509 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.4796, allocations: 0.5267 MB / 0.5514 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.4799, allocations: 0.7639 MB / 0.5521 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.48, allocations: 31.44 kB / 0.5521 GB, free: 11.79 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.48, allocations: 0 / 0.5521 GB, free: 11.79 MB / 414.1 MB Notification: Performance of Templates: time 0.009704/0.4897, allocations: 6.815 MB / 0.5588 GB, free: 4.992 MB / 414.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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