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.0009946/0.0009946, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.0009747/0.0009747, allocations: 169.2 kB / 25.61 MB, free: 8.57 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 0.932/0.932, allocations: 177.1 MB / 206 MB, free: 4.488 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.1476/0.1476, allocations: 32.79 MB / 295.4 MB, free: 15.38 MB / 282.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.062e-06/1.062e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/1.094e-05, allocations: 2.312 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.001811/0.001822, allocations: 2.197 MB / 379.5 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.002704, allocations: 1.055 MB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.00279, allocations: 4 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.002994, allocations: 83.34 kB / 380.6 MB, free: 22.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.003185, allocations: 99.19 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.003374, allocations: 115.5 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.003495, allocations: 190.7 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.003533, allocations: 24.52 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.003673, allocations: 91.61 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.003755, allocations: 71.73 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.00377, allocations: 4 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.00393, allocations: 131.8 kB / 381.4 MB, free: 21.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.003968, allocations: 31.8 kB / 381.4 MB, free: 21.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.004004, allocations: 59.72 kB / 381.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.004222, allocations: 282.7 kB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004223, allocations: 0 / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004224, allocations: 4 kB / 381.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.004227, allocations: 0 / 381.7 MB, free: 21.1 MB / 314.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.0002999/0.004527, allocations: 0.5156 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.004555, allocations: 15.97 kB / 382.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.004613, allocations: 48.75 kB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.00475, allocations: 159.1 kB / 382.5 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.004763, allocations: 20.81 kB / 382.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.004779, allocations: 16.38 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.004946, allocations: 149.4 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.004955, allocations: 3.938 kB / 382.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.004967, allocations: 19.94 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.004973, allocations: 7.984 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.005055, allocations: 83.45 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.005498, allocations: 0.5081 MB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.242e-05/0.00559, allocations: 67 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.005617, allocations: 23.83 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.005636, allocations: 4 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.005648, allocations: 41.33 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.00565, allocations: 0 / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001616/0.005812, allocations: 101.5 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.57e-05/0.005827, allocations: 51.41 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.005906, allocations: 262.6 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.005914, allocations: 25.7 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.005965, allocations: 238.5 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.005979, allocations: 31.69 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.006022, allocations: 63.28 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.00606, allocations: 0.4962 MB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.006087, allocations: 19.98 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.006142, allocations: 159.2 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.006243, allocations: 203.1 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006245, allocations: 0 / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001518/0.006397, allocations: 185.1 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.006408, allocations: 8.438 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006413, allocations: 7.984 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.006421, allocations: 8 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.006624, allocations: 83.91 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002949/0.006919, allocations: 1.829 MB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.006995, allocations: 19.89 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.007006, allocations: 12 kB / 387.2 MB, free: 15.27 MB / 314.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 5.812e-05/0.007064, allocations: 168.5 kB / 387.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.00709, allocations: 27.98 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.00723, allocations: 115.4 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007232, allocations: 3.938 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007234, allocations: 4 kB / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.007237, allocations: 0 / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.007441, allocations: 369.3 kB / 387.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.007442, allocations: 0 / 387.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.007562, allocations: 55.92 kB / 387.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007565, allocations: 4 kB / 387.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.007572, allocations: 3.938 kB / 387.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002183/0.00779, allocations: 1.825 MB / 389.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007792, allocations: 3.938 kB / 389.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.664e-05/0.007888, allocations: 255.3 kB / 390 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.007901, allocations: 23.83 kB / 390 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.007916, allocations: 3.938 kB / 390 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.007974, allocations: 7.984 kB / 390 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.008002, allocations: 15.92 kB / 390 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.008008, allocations: 4 kB / 390 MB, free: 12.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.307e-05/0.008041, allocations: 168.1 kB / 390.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008042, allocations: 0 / 390.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.008257, allocations: 71.83 kB / 390.3 MB, free: 12.02 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.0001352/0.008393, allocations: 156.1 kB / 390.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.008588, allocations: 127.4 kB / 390.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.008589, allocations: 0 / 390.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.438e-05/0.008683, allocations: 71.78 kB / 390.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.008865, allocations: 20.92 kB / 390.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.009405, allocations: 399.1 kB / 391 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.496e-05/0.00943, allocations: 75.83 kB / 391.1 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.009466, allocations: 13.48 kB / 391.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.009522, allocations: 82.2 kB / 391.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009522, allocations: 0 / 391.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of Templates: time 0.00433/0.01385, allocations: 3.672 MB / 394.9 MB, free: 7.434 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.335085707716644]