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_turbulent.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.001244/0.001244, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001335/0.001335, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9548/0.9548, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.309/0.309, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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_turbulent,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,]+.|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_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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,]+.|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_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.289e-05, allocations: 9.469 kB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002619/0.002642, allocations: 2.115 MB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.004115, allocations: 1.142 MB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.004208, allocations: 0 / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.004446, allocations: 55.61 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.004627, allocations: 83.41 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.005117, allocations: 179.2 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.005429, allocations: 350.8 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.005481, allocations: 14.89 kB / 329.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.005717, allocations: 155.5 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.005864, allocations: 111.6 kB / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.005889, allocations: 16 kB / 329.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.006174, allocations: 159.7 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.006261, allocations: 79.67 kB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.006334, allocations: 79.66 kB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.006712, allocations: 370.6 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006715, allocations: 0 / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006716, allocations: 0 / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.006721, allocations: 0 / 330.2 MB, free: 2.707 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0005979/0.007319, allocations: 0.5089 MB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.007352, allocations: 16.03 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.007568, allocations: 68.88 kB / 330.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.008016, allocations: 177.3 kB / 331 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.008034, allocations: 17.03 kB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.008059, allocations: 32.12 kB / 331 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.008367, allocations: 290.1 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.008377, allocations: 0 / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.008395, allocations: 12 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.008421, allocations: 16.66 kB / 331.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.008557, allocations: 114.1 kB / 331.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.009297, allocations: 0.7556 MB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.009453, allocations: 156.1 kB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.009497, allocations: 30.58 kB / 332.4 MB, free: 396 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.009525, allocations: 11.92 kB / 332.4 MB, free: 384 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.009546, allocations: 38.5 kB / 332.4 MB, free: 336 kB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.009548, allocations: 4 kB / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002209/0.009769, allocations: 97.58 kB / 332.5 MB, free: 228 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.009807, allocations: 106.8 kB / 332.6 MB, free: 96 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.009945, allocations: 236.8 kB / 332.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.00996, allocations: 25.7 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.01004, allocations: 200.2 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.01007, allocations: 47.62 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.01014, allocations: 57.86 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.01022, allocations: 330.8 kB / 333.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.01026, allocations: 27.05 kB / 333.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.321e-05/0.01036, allocations: 133.1 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.01053, allocations: 209.2 kB / 333.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01053, allocations: 0 / 333.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002068/0.01074, allocations: 184.6 kB / 334 MB, free: 14.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01075, allocations: 8 kB / 334.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.01078, allocations: 15.98 kB / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01079, allocations: 4 kB / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.0109, allocations: 43.91 kB / 334.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01091, allocations: 4 kB / 334.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.01101, allocations: 44.14 kB / 334.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.01103, allocations: 16 kB / 334.2 MB, free: 14.37 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.926e-05/0.01113, allocations: 138.9 kB / 334.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.01118, allocations: 15.98 kB / 334.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.01138, allocations: 135.3 kB / 334.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.01138, allocations: 4 kB / 334.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01139, allocations: 0 / 334.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01139, allocations: 3.984 kB / 334.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.01161, allocations: 153.7 kB / 334.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.01162, allocations: 8 kB / 334.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.01168, allocations: 19.92 kB / 334.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01169, allocations: 4 kB / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.0117, allocations: 3.984 kB / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.0117, allocations: 0 / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.0117, allocations: 7.938 kB / 334.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.01191, allocations: 374.1 kB / 335 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.01193, allocations: 19.8 kB / 335 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.01196, allocations: 4 kB / 335.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01206, allocations: 15.98 kB / 335.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.01211, allocations: 15.98 kB / 335.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.01212, allocations: 3.984 kB / 335.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.261e-05/0.01217, allocations: 70.78 kB / 335.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01217, allocations: 0 / 335.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003576/0.01253, allocations: 107.7 kB / 335.3 MB, free: 13.24 MB / 314.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002203/0.01275, allocations: 148.1 kB / 335.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.01299, allocations: 256 kB / 335.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.013, allocations: 8.125 kB / 335.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.995e-05/0.0131, allocations: 199 kB / 335.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01338, allocations: 43.41 kB / 335.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008826/0.01426, allocations: 0.5217 MB / 336.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.728e-05/0.01433, allocations: 107.9 kB / 336.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.505e-05/0.0144, allocations: 25.61 kB / 336.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.01455, allocations: 111.3 kB / 336.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.01455, allocations: 0 / 336.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of Templates: time 0.006687/0.02123, allocations: 4.599 MB / 341.3 MB, free: 7.184 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.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: 2.9327898588962853]