Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.001037/0.001037, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001055/0.001055, allocations: 161 kB / 24.56 MB, free: 8 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 1.108/1.108, allocations: 177.1 MB / 205 MB, free: 5.617 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.2603/0.2603, allocations: 34.27 MB / 295.7 MB, free: 0.7539 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.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.207e-05, allocations: 2.312 kB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.004507/0.004539, allocations: 2.305 MB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.008054, allocations: 2.106 MB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.008265, allocations: 3.938 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.008637, allocations: 71.53 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.009006, allocations: 119.2 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.01085, allocations: 458 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.01148, allocations: 0.5401 MB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.491e-05/0.01155, allocations: 25.22 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.01187, allocations: 243.1 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.01206, allocations: 175.3 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.01209, allocations: 16 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006525/0.01274, allocations: 403.3 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.01285, allocations: 107.4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.01296, allocations: 135.5 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008323/0.01379, allocations: 0.7395 MB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.01379, allocations: 0 / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01379, allocations: 0 / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.0138, allocations: 0 / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0008618/0.01466, allocations: 0.8776 MB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.0147, allocations: 12.02 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.01496, allocations: 132.5 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.01523, allocations: 259.7 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.01526, allocations: 37.69 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.0153, allocations: 56.36 kB / 386.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.01586, allocations: 0.5166 MB / 387.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.01587, allocations: 3.938 kB / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.0159, allocations: 24 kB / 387.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.01594, allocations: 29.3 kB / 387.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.01623, allocations: 207.7 kB / 387.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.01796, allocations: 1.556 MB / 389.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.01818, allocations: 161.2 kB / 389.3 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.01828, allocations: 59.05 kB / 389.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.01832, allocations: 15.92 kB / 389.4 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.01834, allocations: 45.33 kB / 389.5 MB, free: 6.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.01834, allocations: 0 / 389.5 MB, free: 6.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004399/0.01878, allocations: 211.3 kB / 389.7 MB, free: 6.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.01882, allocations: 110.8 kB / 389.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.01908, allocations: 422.3 kB / 390.2 MB, free: 6.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.0191, allocations: 33.64 kB / 390.2 MB, free: 6.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.01925, allocations: 382.2 kB / 390.6 MB, free: 5.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.01929, allocations: 71.44 kB / 390.7 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.01942, allocations: 143.7 kB / 390.8 MB, free: 5.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01954, allocations: 0.5157 MB / 391.3 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.01965, allocations: 60.95 kB / 391.4 MB, free: 4.977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.01991, allocations: 447.8 kB / 391.8 MB, free: 4.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.02035, allocations: 0.5478 MB / 392.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.02035, allocations: 4 kB / 392.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005062/0.02086, allocations: 437.7 kB / 392.8 MB, free: 3.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.02088, allocations: 8 kB / 392.8 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-05/0.02092, allocations: 51.98 kB / 392.9 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.02094, allocations: 16.03 kB / 392.9 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.02109, allocations: 59.84 kB / 392.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.0211, allocations: 23.86 kB / 393 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.02127, allocations: 75.48 kB / 393 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.02131, allocations: 36 kB / 393.1 MB, free: 2.941 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0001389/0.02145, allocations: 204.4 kB / 393.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.02151, allocations: 43.75 kB / 393.3 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.02191, allocations: 302.9 kB / 393.6 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.02191, allocations: 7.984 kB / 393.6 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.02192, allocations: 0 / 393.6 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.02192, allocations: 3.938 kB / 393.6 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.02228, allocations: 360.4 kB / 394 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-05/0.02231, allocations: 39.98 kB / 394 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.02237, allocations: 19.98 kB / 394 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.02237, allocations: 7.984 kB / 394 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.02239, allocations: 12 kB / 394 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.02239, allocations: 4 kB / 394 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.02239, allocations: 3.938 kB / 394 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.02276, allocations: 0.5576 MB / 394.6 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.02279, allocations: 27.8 kB / 394.6 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.02281, allocations: 0 / 394.6 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.02292, allocations: 12 kB / 394.6 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.02299, allocations: 31.84 kB / 394.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.02301, allocations: 19.98 kB / 394.7 MB, free: 1.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.02313, allocations: 235 kB / 394.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02313, allocations: 0 / 394.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005721/0.02371, allocations: 219.3 kB / 395.1 MB, free: 0.7969 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003845/0.02409, allocations: 238.8 kB / 395.4 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007365/0.02483, allocations: 0.5525 MB / 395.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02483, allocations: 4 kB / 395.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.02502, allocations: 388 kB / 396.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.02537, allocations: 61.81 kB / 396.4 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.02667, allocations: 0.8418 MB / 397.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.02677, allocations: 156.5 kB / 397.4 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.02691, allocations: 82.78 kB / 397.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.02695, allocations: 32.48 kB / 397.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02695, allocations: 0 / 397.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of Templates: time 0.01064/0.03759, allocations: 8.838 MB / 406.3 MB, free: 5.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.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.441972407978028]