Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.001244/0.001244, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 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.00163/0.00163, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9828/0.9828, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1268/0.1268, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 348.2 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.332e-05, allocations: 2.312 kB / 348.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002281/0.002305, allocations: 2.207 MB / 350.4 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003476, allocations: 1.052 MB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.003594, allocations: 0 / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.003873, allocations: 83.34 kB / 351.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.004144, allocations: 95.2 kB / 351.6 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.004437, allocations: 119.5 kB / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.00459, allocations: 190.7 kB / 351.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.004636, allocations: 12.59 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.00479, allocations: 91.61 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.004885, allocations: 67.73 kB / 352.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.004904, allocations: 8 kB / 352.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.005124, allocations: 131.8 kB / 352.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.005183, allocations: 35.73 kB / 352.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.005233, allocations: 47.78 kB / 352.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.005502, allocations: 282.7 kB / 352.6 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005506, allocations: 0 / 352.6 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005507, allocations: 0 / 352.6 MB, free: 4.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.005512, allocations: 0 / 352.6 MB, free: 4.703 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004026/0.005915, allocations: 0.5156 MB / 353.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.005957, allocations: 8.031 kB / 353.1 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.006007, allocations: 52.69 kB / 353.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.006127, allocations: 164.1 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.00614, allocations: 16.88 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.006155, allocations: 20.38 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.006327, allocations: 157.4 kB / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.006336, allocations: 3.938 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.006347, allocations: 8 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.006353, allocations: 4 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.00643, allocations: 91.38 kB / 353.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.006973, allocations: 0.5003 MB / 354.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.007086, allocations: 71.11 kB / 354.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.007112, allocations: 19.77 kB / 354.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.007133, allocations: 8 kB / 354.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.007153, allocations: 41.27 kB / 354.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.007155, allocations: 0 / 354.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001976/0.007352, allocations: 97.47 kB / 354.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.007372, allocations: 55.39 kB / 354.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.00747, allocations: 266.5 kB / 354.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.007479, allocations: 29.7 kB / 354.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.007546, allocations: 230.6 kB / 354.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.007562, allocations: 31.7 kB / 354.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.007617, allocations: 55.34 kB / 355 MB, free: 2.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.007688, allocations: 0.5118 MB / 355.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.00772, allocations: 15.98 kB / 355.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.00779, allocations: 165.5 kB / 355.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.007932, allocations: 203 kB / 355.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.007935, allocations: 0 / 355.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002005/0.008136, allocations: 185.3 kB / 356 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.008155, allocations: 8 kB / 356.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.008165, allocations: 4 kB / 356.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.008182, allocations: 8 kB / 356.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.008401, allocations: 83.91 kB / 356.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000608/0.009009, allocations: 1.829 MB / 358 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.009126, allocations: 28.14 kB / 358 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.009141, allocations: 16 kB / 358 MB, free: 14.86 MB / 298.7 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_1.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 (25): * Single equations (assignments): 23 * 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.0001023/0.009243, allocations: 172.5 kB / 358.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.009274, allocations: 19.84 kB / 358.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.009472, allocations: 111.4 kB / 358.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.009477, allocations: 11.94 kB / 358.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.009479, allocations: 0 / 358.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.009482, allocations: 0 / 358.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.009815, allocations: 373.2 kB / 358.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.009818, allocations: 0 / 358.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.00996, allocations: 55.98 kB / 358.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.009964, allocations: 0 / 358.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.009973, allocations: 7.938 kB / 358.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008912/0.01086, allocations: 1.822 MB / 360.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.01087, allocations: 7.938 kB / 360.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.01103, allocations: 251.2 kB / 360.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.01105, allocations: 15.84 kB / 360.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.01106, allocations: 0 / 360.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.01113, allocations: 8 kB / 360.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.01117, allocations: 11.92 kB / 360.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.01118, allocations: 4 kB / 360.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.351e-05/0.01125, allocations: 173.4 kB / 361 MB, free: 11.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01125, allocations: 0 / 361 MB, free: 11.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.01154, allocations: 75.88 kB / 361.1 MB, free: 11.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0002296/0.01177, allocations: 155 kB / 361.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.01205, allocations: 135.4 kB / 361.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01205, allocations: 0 / 361.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.01216, allocations: 68.61 kB / 361.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01239, allocations: 25.47 kB / 361.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/0.01319, allocations: 393.2 kB / 361.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.01324, allocations: 79.81 kB / 362 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.219e-05/0.01328, allocations: 9.5 kB / 362 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.01335, allocations: 90.19 kB / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01335, allocations: 0 / 362.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Templates: time 0.006136/0.01949, allocations: 3.599 MB / 365.6 MB, free: 7.059 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.323239332996309]