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.001153/0.001153, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001568/0.001568, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2827/0.2827, allocations: 34.25 MB / 296.1 MB, free: 0.6758 MB / 266.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.373e-06/1.373e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.665e-05, allocations: 3.078 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004029/0.004055, allocations: 2.201 MB / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.00641, allocations: 1.375 MB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.006545, allocations: 4 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.00691, allocations: 91.33 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.007125, allocations: 63.38 kB / 329 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.007811, allocations: 211 kB / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.00806, allocations: 158.9 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.317e-05/0.008123, allocations: 11.06 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.008392, allocations: 95.59 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.008493, allocations: 43.78 kB / 329.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.008511, allocations: 4 kB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.009022, allocations: 219.6 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.009095, allocations: 19.86 kB / 329.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.009162, allocations: 47.8 kB / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.009725, allocations: 374.6 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.009729, allocations: 3.938 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.00973, allocations: 3.938 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.009735, allocations: 0 / 330.2 MB, free: 2.723 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005239/0.01026, allocations: 397.1 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.0103, allocations: 12.03 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.01035, allocations: 24.92 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.01053, allocations: 152.1 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.01056, allocations: 20.38 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.01058, allocations: 16.38 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.01083, allocations: 155.5 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.01085, allocations: 3.938 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.01086, allocations: 4 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.01087, allocations: 8 kB / 331 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.847e-05/0.01096, allocations: 52.3 kB / 331 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.01163, allocations: 383.9 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.01173, allocations: 22.58 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.01176, allocations: 16.95 kB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.01179, allocations: 4 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.01182, allocations: 38.5 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.01182, allocations: 0 / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002047/0.01203, allocations: 49.62 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.01207, allocations: 55.41 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.01224, allocations: 198.8 kB / 331.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01226, allocations: 25.7 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.01236, allocations: 168.4 kB / 332 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.01238, allocations: 19.83 kB / 332 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.01246, allocations: 45.64 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.01256, allocations: 326.8 kB / 332.4 MB, free: 428 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.0126, allocations: 12 kB / 332.4 MB, free: 416 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.01269, allocations: 108.8 kB / 332.5 MB, free: 260 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.01285, allocations: 143.4 kB / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.01286, allocations: 4 kB / 332.6 MB, free: 64 kB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002118/0.01307, allocations: 125.7 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.01308, allocations: 7.938 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.01311, allocations: 8 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01313, allocations: 4 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.01324, allocations: 27.92 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.01324, allocations: 11.98 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.905e-05/0.01334, allocations: 23.84 kB / 332.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.01336, allocations: 4 kB / 332.8 MB, free: 15.85 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 9.206e-05/0.01345, allocations: 124.6 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.01349, allocations: 11.92 kB / 333 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.01368, allocations: 90.89 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01368, allocations: 4 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01369, allocations: 0 / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01369, allocations: 0 / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.01387, allocations: 101.8 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.01389, allocations: 0 / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.01393, allocations: 15.98 kB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01393, allocations: 0 / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01394, allocations: 4 kB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01394, allocations: 3.938 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01394, allocations: 0 / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.01407, allocations: 135.5 kB / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.01409, allocations: 16.08 kB / 333.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.01411, allocations: 3.938 kB / 333.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.01418, allocations: 11.94 kB / 333.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.01422, allocations: 3.984 kB / 333.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.01423, allocations: 4 kB / 333.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.748e-05/0.01428, allocations: 57.8 kB / 333.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01428, allocations: 0 / 333.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004088/0.01469, allocations: 79.7 kB / 333.5 MB, free: 15.14 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.0003432/0.01504, allocations: 160.1 kB / 333.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.01528, allocations: 125.4 kB / 333.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.01528, allocations: 0 / 333.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.01538, allocations: 80.81 kB / 333.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.0156, allocations: 11.94 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008787/0.01648, allocations: 366.1 kB / 334.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.432e-05/0.01654, allocations: 71.83 kB / 334.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.01659, allocations: 12.97 kB / 334.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.01665, allocations: 59.38 kB / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01666, allocations: 0 / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of Templates: time 0.008582/0.02524, allocations: 3.956 MB / 338.3 MB, free: 10.29 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 -s gbode -gbm=radauIIA3 -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.15202078782022]