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.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.0009711/0.0009711, allocations: 72.33 kB / 22.21 MB, free: 2.301 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.0009907/0.0009907, allocations: 165.2 kB / 25.61 MB, free: 8.91 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.9335/0.9335, allocations: 177.1 MB / 206.1 MB, free: 4.516 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.1495/0.1495, allocations: 32.8 MB / 295.4 MB, free: 15.4 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.582e-06, allocations: 4 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/3.408e-05, allocations: 4.172 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002203/0.002237, allocations: 2.149 MB / 379.5 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.005212, allocations: 1.347 MB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.005387, allocations: 0 / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.005757, allocations: 79.41 kB / 380.9 MB, free: 21.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.005973, allocations: 79.3 kB / 381 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.006627, allocations: 211 kB / 381.2 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.006845, allocations: 158.9 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.985e-05/0.006914, allocations: 24.52 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.00718, allocations: 83.66 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.007282, allocations: 47.78 kB / 381.5 MB, free: 21.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.007302, allocations: 4 kB / 381.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.007717, allocations: 207.7 kB / 381.7 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.007775, allocations: 23.8 kB / 381.7 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.007832, allocations: 43.86 kB / 381.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005455/0.008378, allocations: 374.5 kB / 382.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.008382, allocations: 0 / 382.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.008384, allocations: 0 / 382.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.008389, allocations: 0 / 382.1 MB, free: 20.76 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.0005073/0.008896, allocations: 0.5267 MB / 382.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.008927, allocations: 16.02 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.008969, allocations: 32.8 kB / 382.7 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.009077, allocations: 155.2 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.009089, allocations: 16.38 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.009102, allocations: 16.38 kB / 382.9 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.009261, allocations: 136 kB / 383 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.009271, allocations: 3.938 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.009282, allocations: 8 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.009289, allocations: 4 kB / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.009337, allocations: 60.3 kB / 383.1 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.009761, allocations: 482.6 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.87e-05/0.00984, allocations: 47.05 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.009859, allocations: 11.69 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.009879, allocations: 7.938 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.009892, allocations: 37.33 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.009893, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001461/0.01004, allocations: 73.64 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.01006, allocations: 51.41 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.01014, allocations: 266 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.01014, allocations: 25.7 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.0102, allocations: 230.6 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.779e-06/0.01021, allocations: 11.91 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.01025, allocations: 55.3 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.01029, allocations: 0.4962 MB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.01032, allocations: 19.92 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.073e-05/0.01037, allocations: 149.2 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.872e-05/0.01046, allocations: 183.3 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01046, allocations: 4 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001288/0.01059, allocations: 157.1 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.0106, allocations: 8 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.01062, allocations: 19.98 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.01063, allocations: 4.438 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.0107, allocations: 27.98 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.0107, allocations: 7.938 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.01076, allocations: 19.89 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.01077, allocations: 12 kB / 385.4 MB, free: 17.1 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.291e-05/0.01082, allocations: 168.5 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.01085, allocations: 15.84 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.01098, allocations: 98.75 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01098, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01098, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01098, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.01109, allocations: 141.2 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.0111, allocations: 12 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.01112, allocations: 4 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.01112, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.01112, allocations: 4 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01113, allocations: 7.922 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01113, allocations: 4 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.415e-05/0.01121, allocations: 211.8 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.01122, allocations: 11.91 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.01123, allocations: 4 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.01127, allocations: 11.88 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.01131, allocations: 12.17 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.01131, allocations: 4 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.01135, allocations: 166.9 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01135, allocations: 0 / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.0116, allocations: 79.69 kB / 386.4 MB, free: 16.1 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.0002114/0.01181, allocations: 184 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.01199, allocations: 136.3 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01199, allocations: 0 / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.163e-05/0.01204, allocations: 87.64 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01223, allocations: 16 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.01279, allocations: 355.2 kB / 387.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.889e-05/0.01282, allocations: 75.81 kB / 387.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.985e-05/0.01285, allocations: 12.92 kB / 387.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.01289, allocations: 82.19 kB / 387.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01289, allocations: 0 / 387.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.005192/0.01808, allocations: 4.041 MB / 391.3 MB, free: 11.11 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_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.1394366468302906]