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.001323/0.001323, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001572/0.001572, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2223/0.2223, allocations: 44.93 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] 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.00235/0.00235, allocations: 67.91 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3213, allocations: 65.48 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003585/0.3249, allocations: 2.051 MB / 0.5602 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.327, allocations: 1.254 MB / 0.5615 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.596e-05/0.3271, allocations: 0 / 0.5615 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3274, allocations: 75.48 kB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.3276, allocations: 67.36 kB / 0.5616 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.3281, allocations: 221.7 kB / 0.5618 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.3283, allocations: 143 kB / 0.5619 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.042e-05/0.3284, allocations: 16.58 kB / 0.562 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.3286, allocations: 67.59 kB / 0.562 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3287, allocations: 63.53 kB / 0.5621 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3287, allocations: 4 kB / 0.5621 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.3291, allocations: 203.8 kB / 0.5623 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.3292, allocations: 27.8 kB / 0.5623 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.3292, allocations: 59.55 kB / 0.5624 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.3298, allocations: 382.4 kB / 0.5627 GB, free: 2.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3298, allocations: 0 / 0.5627 GB, free: 2.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3298, allocations: 0 / 0.5627 GB, free: 2.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3298, allocations: 0 / 0.5627 GB, free: 2.84 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.0006622/0.3304, allocations: 429.1 kB / 0.5631 GB, free: 2.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3305, allocations: 11.98 kB / 0.5631 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.3305, allocations: 24.8 kB / 0.5632 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3307, allocations: 163.7 kB / 0.5633 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3308, allocations: 20.38 kB / 0.5633 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.3308, allocations: 16.12 kB / 0.5634 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.3312, allocations: 206.7 kB / 0.5636 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3312, allocations: 0 / 0.5636 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3312, allocations: 4 kB / 0.5636 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3312, allocations: 11.98 kB / 0.5636 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.3316, allocations: 152.2 kB / 0.5637 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.3324, allocations: 486.5 kB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3326, allocations: 62.42 kB / 0.5642 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3327, allocations: 36.88 kB / 0.5643 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.3327, allocations: 4 kB / 0.5643 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3328, allocations: 30.56 kB / 0.5643 GB, free: 1.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3328, allocations: 0 / 0.5643 GB, free: 1.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004653/0.3332, allocations: 129.5 kB / 0.5644 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.3333, allocations: 55.39 kB / 0.5645 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.3335, allocations: 198.8 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3335, allocations: 25.7 kB / 0.5647 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3336, allocations: 183.8 kB / 0.5649 GB, free: 496 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.3337, allocations: 19.8 kB / 0.5649 GB, free: 476 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.411e-05/0.3337, allocations: 41.7 kB / 0.5649 GB, free: 428 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3339, allocations: 326.8 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.334, allocations: 35.97 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.3343, allocations: 140.8 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.3346, allocations: 176.7 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3346, allocations: 0 / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004269/0.335, allocations: 201.5 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.335, allocations: 4 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.3351, allocations: 19.94 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3351, allocations: 4 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3352, allocations: 27.98 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3352, allocations: 7.938 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3354, allocations: 32.2 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3354, allocations: 12 kB / 0.5659 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.0001249/0.3355, allocations: 125.8 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.3355, allocations: 19.88 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.3359, allocations: 126.6 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3359, allocations: 11.98 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3359, allocations: 0 / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3359, allocations: 0 / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.3362, allocations: 161.2 kB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.3362, allocations: 12 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.3362, allocations: 7.984 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3362, allocations: 0 / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3362, allocations: 4 kB / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3362, allocations: 0 / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3362, allocations: 0 / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.3366, allocations: 207.3 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.3366, allocations: 11.91 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3366, allocations: 4 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.3367, allocations: 7.984 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3368, allocations: 0 / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3368, allocations: 8 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.3369, allocations: 128.5 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3369, allocations: 7.875 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.3373, allocations: 83.7 kB / 0.5668 GB, free: 14.37 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.0003103/0.3376, allocations: 171 kB / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.338, allocations: 164.3 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.338, allocations: 3.938 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.3382, allocations: 95.47 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.3386, allocations: 18.83 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.3393, allocations: 390.5 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.3394, allocations: 124.6 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.3394, allocations: 11.44 kB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3394, allocations: 4 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Templates: time 0.007226/0.3467, allocations: 4.241 MB / 0.5718 GB, free: 9.098 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/jenkins1/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/jenkins1/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: 8.03333568572998]