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_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 213.5 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2563/0.2563, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 75.86 kB / 0.4935 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3527, allocations: 65.48 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004271/0.357, allocations: 2.035 MB / 0.5595 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.359, allocations: 1.256 MB / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.3591, allocations: 0 / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.3594, allocations: 83.36 kB / 0.5608 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.3595, allocations: 71.41 kB / 0.5609 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.3601, allocations: 218.8 kB / 0.5611 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3603, allocations: 151 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.3603, allocations: 8.594 kB / 0.5612 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.3605, allocations: 59.66 kB / 0.5613 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3606, allocations: 67.52 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3606, allocations: 4 kB / 0.5613 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.361, allocations: 211.7 kB / 0.5615 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.3611, allocations: 23.86 kB / 0.5616 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.106e-05/0.3612, allocations: 55.56 kB / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.3617, allocations: 378.4 kB / 0.562 GB, free: 2.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3617, allocations: 4 kB / 0.562 GB, free: 2.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3617, allocations: 4 kB / 0.562 GB, free: 2.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3617, allocations: 0 / 0.562 GB, free: 2.828 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006729/0.3624, allocations: 429.1 kB / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3625, allocations: 15.98 kB / 0.5624 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.3625, allocations: 20.8 kB / 0.5624 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.3627, allocations: 159.7 kB / 0.5626 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3627, allocations: 12.38 kB / 0.5626 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.3628, allocations: 24.12 kB / 0.5626 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.3632, allocations: 202.7 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3632, allocations: 0 / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.3632, allocations: 12 kB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3632, allocations: 7.984 kB / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.3635, allocations: 152.2 kB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008239/0.3644, allocations: 482.5 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3646, allocations: 62.44 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.3647, allocations: 40.88 kB / 0.5635 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.3647, allocations: 0 / 0.5635 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3647, allocations: 34.56 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3647, allocations: 0 / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004763/0.3652, allocations: 129.5 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.3653, allocations: 59.28 kB / 0.5637 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.3655, allocations: 194.8 kB / 0.5639 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3655, allocations: 29.7 kB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3657, allocations: 183.9 kB / 0.5641 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.3657, allocations: 27.78 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.3658, allocations: 33.7 kB / 0.5642 GB, free: 416 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3659, allocations: 330.8 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.366, allocations: 35.97 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.3662, allocations: 131.2 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.3666, allocations: 184.6 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3666, allocations: 0 / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004048/0.367, allocations: 193.7 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.367, allocations: 15.94 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.3671, allocations: 12 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3671, allocations: 4 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3672, allocations: 27.97 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.3672, allocations: 11.94 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3673, allocations: 23.84 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3673, allocations: 8 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.3675, allocations: 137.7 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3675, allocations: 7.953 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.3679, allocations: 142.5 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3679, allocations: 0 / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3679, allocations: 192 / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3679, allocations: 0 / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.3681, allocations: 173.2 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.3682, allocations: 8 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.3682, allocations: 4 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3682, allocations: 0 / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3682, allocations: 7.984 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3682, allocations: 0 / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3682, allocations: 0 / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.3685, allocations: 203.3 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.3686, allocations: 11.91 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3686, allocations: 8 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.3687, allocations: 7.984 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.3687, allocations: 7.938 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-06/0.3687, allocations: 3.984 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.812e-05/0.3688, allocations: 124.5 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3688, allocations: 7.938 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.3692, allocations: 83.69 kB / 0.566 GB, free: 14.36 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003205/0.3695, allocations: 167 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004816/0.37, allocations: 167.3 kB / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.37, allocations: 0 / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.3702, allocations: 104.1 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.3706, allocations: 14.94 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.3713, allocations: 356.8 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.3714, allocations: 124.6 kB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.607e-05/0.3715, allocations: 4.984 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.3715, allocations: 11.44 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3715, allocations: 7.938 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of Templates: time 0.008155/0.3797, allocations: 3.713 MB / 0.5706 GB, free: 9.688 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5033960044384]