Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001406/0.001406, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001728/0.001728, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.9783/0.9783, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1413/0.1413, allocations: 34.25 MB / 296.8 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.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.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.127e-05, allocations: 2.312 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002011/0.002032, allocations: 2.141 MB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003172, allocations: 1.343 MB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.003243, allocations: 0 / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.00346, allocations: 87.34 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.003571, allocations: 63.38 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.003907, allocations: 223 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.004021, allocations: 158.9 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.004062, allocations: 12.53 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.004202, allocations: 83.61 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.004262, allocations: 51.78 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.004275, allocations: 4 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.004504, allocations: 211.7 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.00455, allocations: 27.8 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.004583, allocations: 35.88 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.004875, allocations: 378.5 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004877, allocations: 0 / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004878, allocations: 0 / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.004882, allocations: 0 / 384.1 MB, free: 18.55 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0003445/0.005227, allocations: 0.5266 MB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.005259, allocations: 12.03 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.0053, allocations: 40.8 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.005402, allocations: 155.1 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.005413, allocations: 12.38 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.005426, allocations: 16.38 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.005565, allocations: 140 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005574, allocations: 3.938 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.005583, allocations: 4 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.00559, allocations: 8 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.005635, allocations: 52.34 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.006028, allocations: 494.5 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.78e-05/0.006096, allocations: 39.06 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.006115, allocations: 15.72 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.006132, allocations: 4 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.006144, allocations: 37.33 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.006145, allocations: 0 / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001442/0.006289, allocations: 73.59 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.006308, allocations: 55.41 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.006399, allocations: 258 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.006405, allocations: 25.7 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.006455, allocations: 230.6 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.006464, allocations: 19.89 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.006502, allocations: 55.23 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.006543, allocations: 0.5001 MB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.006561, allocations: 8 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.81e-05/0.006609, allocations: 154 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.006694, allocations: 187.1 kB / 387.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.006696, allocations: 3.984 kB / 387.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001281/0.006824, allocations: 157.2 kB / 387.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.006835, allocations: 5.719 kB / 387.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.006853, allocations: 12 kB / 387.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.006865, allocations: 4 kB / 387.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.006932, allocations: 31.92 kB / 387.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.006936, allocations: 8.422 kB / 387.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.006987, allocations: 23.89 kB / 387.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.006997, allocations: 8 kB / 387.4 MB, free: 14.89 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 (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 5.071e-05/0.007048, allocations: 168.5 kB / 387.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.007069, allocations: 19.84 kB / 387.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.007191, allocations: 90.7 kB / 387.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.007194, allocations: 7.984 kB / 387.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007196, allocations: 4.188 kB / 387.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.007198, allocations: 0 / 387.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.815e-05/0.007296, allocations: 145.2 kB / 387.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.007305, allocations: 8 kB / 387.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.007324, allocations: 4 kB / 387.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.007325, allocations: 0 / 387.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.007331, allocations: 4 kB / 387.9 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.007332, allocations: 3.938 kB / 387.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007333, allocations: 144 / 387.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.692e-05/0.00741, allocations: 215.8 kB / 388.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.00742, allocations: 15.91 kB / 388.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.007432, allocations: 4 kB / 388.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.007471, allocations: 7.922 kB / 388.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.007496, allocations: 7.938 kB / 388.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.007501, allocations: 4 kB / 388.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.007534, allocations: 172.1 kB / 388.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007534, allocations: 0 / 388.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.007766, allocations: 83.7 kB / 388.4 MB, free: 13.88 MB / 314.7 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.0001909/0.007957, allocations: 179.9 kB / 388.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.008114, allocations: 127.5 kB / 388.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.008116, allocations: 4 kB / 388.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/0.008167, allocations: 92.52 kB / 388.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.008358, allocations: 15.97 kB / 388.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.008896, allocations: 359.1 kB / 389.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.405e-05/0.00892, allocations: 71.83 kB / 389.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.781e-05/0.008948, allocations: 12.91 kB / 389.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.008985, allocations: 82.2 kB / 389.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008985, allocations: 0 / 389.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of Templates: time 0.004746/0.01373, allocations: 4.04 MB / 393.4 MB, free: 8.879 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.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.2057398669421673]