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_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.001168/0.001168, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001344/0.001344, allocations: 169 kB / 24.91 MB, free: 9.191 MB / 18.57 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.093/1.093, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2602/0.2602, allocations: 32.81 MB / 294.6 MB, free: 1.168 MB / 266.7 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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.811e-05, allocations: 7.188 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002805/0.002833, allocations: 2.208 MB / 325.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.004406, allocations: 1.07 MB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.004538, allocations: 7.938 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.004857, allocations: 87.39 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.005154, allocations: 95.2 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.005483, allocations: 119.5 kB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.005693, allocations: 191.3 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.005743, allocations: 14.55 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.005953, allocations: 95.66 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.006052, allocations: 67.69 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.006071, allocations: 8 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.006312, allocations: 135.8 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.006369, allocations: 27.78 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.006426, allocations: 51.8 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.006768, allocations: 278.7 kB / 327.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006772, allocations: 4 kB / 327.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006774, allocations: 3.938 kB / 327.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006778, allocations: 0 / 327.7 MB, free: 5.156 MB / 298.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.0005934/0.007372, allocations: 409.4 kB / 328.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.00741, allocations: 12.03 kB / 328.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.007467, allocations: 28.91 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.007635, allocations: 149.5 kB / 328.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.007651, allocations: 16.88 kB / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.007673, allocations: 20.38 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.007887, allocations: 172.1 kB / 328.5 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.007899, allocations: 3.938 kB / 328.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.007917, allocations: 12 kB / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.007924, allocations: 4 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.00802, allocations: 83.45 kB / 328.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.008605, allocations: 417.5 kB / 329 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.008722, allocations: 53.39 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.008755, allocations: 24.78 kB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.008777, allocations: 0 / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.008801, allocations: 38.5 kB / 329.1 MB, free: 3.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.008802, allocations: 0 / 329.1 MB, free: 3.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001716/0.008974, allocations: 65.61 kB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.009007, allocations: 55.41 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.009128, allocations: 203.4 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.009141, allocations: 25.7 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.009216, allocations: 176.6 kB / 329.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.009238, allocations: 39.73 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.009294, allocations: 49.62 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.009384, allocations: 326.8 kB / 330 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.009416, allocations: 19.98 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.009496, allocations: 118 kB / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.00964, allocations: 172.5 kB / 330.3 MB, free: 2.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.009643, allocations: 0 / 330.3 MB, free: 2.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001796/0.009823, allocations: 150.3 kB / 330.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.009839, allocations: 11.94 kB / 330.5 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.009846, allocations: 0 / 330.5 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.009863, allocations: 8 kB / 330.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.01011, allocations: 59.91 kB / 330.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005131/0.01062, allocations: 1.203 MB / 331.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.01073, allocations: 27.77 kB / 331.8 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.01075, allocations: 12 kB / 331.8 MB, free: 0.75 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 9.378e-05/0.01084, allocations: 124.5 kB / 331.9 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.01087, allocations: 15.98 kB / 332 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.01103, allocations: 95.48 kB / 332 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01104, allocations: 4 kB / 332 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01104, allocations: 3.938 kB / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01104, allocations: 0 / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.01131, allocations: 276.3 kB / 332.3 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01131, allocations: 0 / 332.3 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01144, allocations: 35.92 kB / 332.4 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.01145, allocations: 4 kB / 332.4 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.01146, allocations: 3.938 kB / 332.4 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004387/0.0119, allocations: 1.201 MB / 333.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.0119, allocations: 3.984 kB / 333.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.01203, allocations: 179.9 kB / 333.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.01206, allocations: 11.91 kB / 333.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.01208, allocations: 4 kB / 333.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.399e-05/0.01214, allocations: 11.98 kB / 333.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.01218, allocations: 7.922 kB / 333.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.01218, allocations: 8.125 kB / 333.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.958e-05/0.01222, allocations: 49.8 kB / 333.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01222, allocations: 0 / 333.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.0125, allocations: 75.77 kB / 333.9 MB, free: 14.52 MB / 314.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.0002297/0.01273, allocations: 136.3 kB / 334 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.01298, allocations: 101.4 kB / 334.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.01298, allocations: 128 / 334.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.01308, allocations: 52.77 kB / 334.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.01326, allocations: 26.06 kB / 334.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007993/0.01406, allocations: 389.3 kB / 334.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.026e-05/0.01411, allocations: 79.77 kB / 334.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.01416, allocations: 21.41 kB / 334.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.01423, allocations: 63.38 kB / 334.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01423, allocations: 0 / 334.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of Templates: time 0.006473/0.0207, allocations: 3.552 MB / 338.3 MB, free: 10.11 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_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.205212691798806]