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.001312/0.001312, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001393/0.001393, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9801/0.9801, allocations: 177.1 MB / 205 MB, free: 5.633 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.2446/0.2446, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.844e-06/1.844e-06, allocations: 3.938 kB / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.734e-05, allocations: 2.312 kB / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00251/0.002537, allocations: 2.23 MB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.003706, allocations: 1.071 MB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.003778, allocations: 3.938 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.00402, allocations: 71.48 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.004251, allocations: 99.19 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.004469, allocations: 123.5 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.004636, allocations: 190.7 kB / 379.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.004679, allocations: 16.53 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.004861, allocations: 99.59 kB / 380 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.004952, allocations: 63.75 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.004968, allocations: 8 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.005155, allocations: 135.8 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.005201, allocations: 31.8 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.00525, allocations: 51.78 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.005519, allocations: 278.8 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.005523, allocations: 0 / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005524, allocations: 0 / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005529, allocations: 0 / 380.5 MB, free: 140 kB / 346.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.0004401/0.005969, allocations: 0.5276 MB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.006002, allocations: 12.03 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.006062, allocations: 40.75 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.00621, allocations: 164.1 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.006226, allocations: 20.88 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.006247, allocations: 28.31 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.006475, allocations: 172.9 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006485, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.006503, allocations: 8 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.006512, allocations: 4 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.006641, allocations: 107 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.007246, allocations: 0.5466 MB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.00738, allocations: 75 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.007421, allocations: 23.75 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.007441, allocations: 8.078 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.007461, allocations: 33.39 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.007463, allocations: 0 / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002138/0.007676, allocations: 101.5 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.007703, allocations: 55.34 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.007837, allocations: 274.5 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.007848, allocations: 25.7 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.007931, allocations: 234.7 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.00795, allocations: 31.7 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.008002, allocations: 55.36 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.008102, allocations: 0.5001 MB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.008147, allocations: 23.98 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.008247, allocations: 167.3 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.008398, allocations: 207 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.008401, allocations: 3.938 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002096/0.008611, allocations: 193.4 kB / 384.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.008625, allocations: 4 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.008632, allocations: 7.984 kB / 384.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.008647, allocations: 4 kB / 384.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.008876, allocations: 83.91 kB / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005014/0.009377, allocations: 1.83 MB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.962e-05/0.009457, allocations: 35.81 kB / 386.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.009468, allocations: 8 kB / 386.1 MB, free: 10.17 MB / 362.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_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 (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 8.173e-05/0.00955, allocations: 168.5 kB / 386.2 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.009575, allocations: 23.84 kB / 386.3 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.009748, allocations: 123.4 kB / 386.4 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.00975, allocations: 4 kB / 386.4 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.009755, allocations: 0 / 386.4 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.009758, allocations: 0 / 386.4 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.01005, allocations: 412.6 kB / 386.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01005, allocations: 0 / 386.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.01017, allocations: 59.91 kB / 386.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01018, allocations: 4 kB / 386.9 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.01018, allocations: 0 / 386.9 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004511/0.01063, allocations: 1.829 MB / 388.7 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01064, allocations: 7.938 kB / 388.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.01078, allocations: 255.1 kB / 388.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.01079, allocations: 19.89 kB / 389 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01081, allocations: 11.94 kB / 389 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.01087, allocations: 4 kB / 389 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.01091, allocations: 11.98 kB / 389 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01091, allocations: 7.984 kB / 389 MB, free: 7.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.101e-05/0.01097, allocations: 168.1 kB / 389.2 MB, free: 6.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01097, allocations: 4.094 kB / 389.2 MB, free: 6.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.0112, allocations: 79.75 kB / 389.2 MB, free: 6.855 MB / 362.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.0001911/0.01139, allocations: 139.2 kB / 389.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01164, allocations: 140.1 kB / 389.5 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01164, allocations: 0 / 389.5 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.01175, allocations: 75.59 kB / 389.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.01194, allocations: 21.31 kB / 389.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/0.01267, allocations: 400 kB / 390 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.01271, allocations: 71.83 kB / 390.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.98e-05/0.01275, allocations: 17.48 kB / 390.1 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.01278, allocations: 16.44 kB / 390.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01279, allocations: 0 / 390.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of Templates: time 0.0054/0.01819, allocations: 3.756 MB / 393.9 MB, free: 2.227 MB / 362.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.2379999170079827]