Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001897/0.001897, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002243/0.002243, allocations: 165.3 kB / 24.28 MB, free: 148 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.674/1.674, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.349/0.349, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/3.989e-05, allocations: 13.77 kB / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003864/0.003904, allocations: 2.036 MB / 377.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.006065, allocations: 1.114 MB / 378.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.00617, allocations: 3.938 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.00646, allocations: 51.69 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.006704, allocations: 91.38 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.007316, allocations: 191.1 kB / 378.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.00777, allocations: 342.2 kB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.007826, allocations: 12.94 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.008151, allocations: 151.5 kB / 379.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.008363, allocations: 127.6 kB / 379.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.008403, allocations: 8 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.008746, allocations: 151.7 kB / 379.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.008866, allocations: 79.67 kB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.008991, allocations: 75.72 kB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.009616, allocations: 402.5 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.00962, allocations: 0 / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009621, allocations: 4 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.433e-06/0.009628, allocations: 0 / 380.1 MB, free: 120 kB / 346.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.001226/0.01085, allocations: 0.6515 MB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.0109, allocations: 8.031 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/0.01141, allocations: 84.72 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.01181, allocations: 196.1 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.01184, allocations: 25.02 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.0119, allocations: 28.12 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.01255, allocations: 338 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.01257, allocations: 4 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.0126, allocations: 12 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.01264, allocations: 16.66 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.01315, allocations: 194.4 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.01498, allocations: 1.121 MB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.01538, allocations: 165.3 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.01558, allocations: 74.97 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.916e-05/0.01563, allocations: 8 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.01567, allocations: 41.33 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.01567, allocations: 0 / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007653/0.01643, allocations: 201.5 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.01652, allocations: 110.8 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.01687, allocations: 324.2 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.0169, allocations: 25.95 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.01711, allocations: 270.9 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.01716, allocations: 47.59 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.01729, allocations: 71.58 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002709/0.01756, allocations: 0.5118 MB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.01777, allocations: 60.19 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.01813, allocations: 235.2 kB / 384.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005792/0.01871, allocations: 310 kB / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01872, allocations: 0 / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007034/0.01942, allocations: 289.2 kB / 385.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.01944, allocations: 7.984 kB / 385.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.473e-05/0.0195, allocations: 24 kB / 385.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.01952, allocations: 4 kB / 385.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.01974, allocations: 47.91 kB / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.01975, allocations: 4 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.01997, allocations: 36.14 kB / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.02001, allocations: 20 kB / 385.6 MB, free: 10.18 MB / 362.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_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].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 0.0002467/0.02025, allocations: 216.3 kB / 385.8 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.02035, allocations: 27.84 kB / 385.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.02088, allocations: 191.6 kB / 386 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.02089, allocations: 4 kB / 386 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.0209, allocations: 0 / 386 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.0209, allocations: 4 kB / 386 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.02137, allocations: 260.4 kB / 386.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/0.02141, allocations: 20 kB / 386.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.02152, allocations: 15.98 kB / 386.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.02153, allocations: 0 / 386.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.02155, allocations: 15.92 kB / 386.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.02156, allocations: 4 kB / 386.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02156, allocations: 0 / 386.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.02226, allocations: 0.5372 MB / 386.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.02231, allocations: 35.78 kB / 386.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.02235, allocations: 0 / 386.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.02255, allocations: 8 kB / 386.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.02264, allocations: 23.91 kB / 387 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.02266, allocations: 8 kB / 387 MB, free: 8.758 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.02287, allocations: 209.1 kB / 387.2 MB, free: 8.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02287, allocations: 0 / 387.2 MB, free: 8.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005663/0.02344, allocations: 115.6 kB / 387.3 MB, free: 8.441 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 (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.0003516/0.02379, allocations: 163 kB / 387.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007/0.02449, allocations: 342 kB / 387.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02449, allocations: 0 / 387.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.02484, allocations: 233.8 kB / 388 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.02534, allocations: 33.23 kB / 388 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.02662, allocations: 0.5256 MB / 388.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.02684, allocations: 181.5 kB / 388.7 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.02697, allocations: 37.58 kB / 388.8 MB, free: 6.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.02703, allocations: 20.5 kB / 388.8 MB, free: 6.77 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02703, allocations: 0 / 388.8 MB, free: 6.77 MB / 362.7 MB Notification: Performance of Templates: time 0.01022/0.03725, allocations: 4.336 MB / 393.1 MB, free: 2.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.395331584964879]