Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001536/0.001536, allocations: 83.73 kB / 20.52 MB, free: 1.117 MB / 14.72 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.001567/0.001567, allocations: 166.9 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 158.6 MB / 185.5 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2204/0.2204, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 67.91 kB / 407.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1436, allocations: 61.04 MB / 468.8 MB, free: 8.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004557/0.1482, allocations: 1.962 MB / 470.8 MB, free: 6.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.1504, allocations: 1.017 MB / 471.8 MB, free: 5.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.1506, allocations: 0 / 471.8 MB, free: 5.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.151, allocations: 63.61 kB / 471.9 MB, free: 5.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.1513, allocations: 79.53 kB / 472 MB, free: 5.129 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.152, allocations: 155.4 kB / 472.1 MB, free: 4.977 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.1525, allocations: 326.5 kB / 472.4 MB, free: 4.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.715e-05/0.1526, allocations: 12.94 kB / 472.4 MB, free: 4.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.1529, allocations: 127.4 kB / 472.6 MB, free: 4.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.1532, allocations: 135.4 kB / 472.7 MB, free: 4.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.1532, allocations: 8 kB / 472.7 MB, free: 4.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.1535, allocations: 139.8 kB / 472.8 MB, free: 4.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1537, allocations: 71.67 kB / 472.9 MB, free: 4.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1538, allocations: 99.34 kB / 473 MB, free: 4.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007538/0.1546, allocations: 386.2 kB / 473.4 MB, free: 3.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1546, allocations: 0 / 473.4 MB, free: 3.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1546, allocations: 4 kB / 473.4 MB, free: 3.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.1546, allocations: 0 / 473.4 MB, free: 3.691 MB / 446.1 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.0014/0.156, allocations: 0.548 MB / 473.9 MB, free: 3.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.156, allocations: 8.031 kB / 473.9 MB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.043e-05/0.1561, allocations: 40.7 kB / 474 MB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.1565, allocations: 209.7 kB / 474.2 MB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.1565, allocations: 20.66 kB / 474.2 MB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.1566, allocations: 28 kB / 474.2 MB, free: 2.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008104/0.1574, allocations: 434.6 kB / 474.7 MB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1574, allocations: 3.938 kB / 474.7 MB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.1574, allocations: 15.98 kB / 474.7 MB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.1575, allocations: 12.66 kB / 474.7 MB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.1582, allocations: 326.3 kB / 475 MB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.1598, allocations: 0.9344 MB / 475.9 MB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.1603, allocations: 235.7 kB / 476.2 MB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.1607, allocations: 106.4 kB / 476.3 MB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.1607, allocations: 8 kB / 476.3 MB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1607, allocations: 34.56 kB / 476.3 MB, free: 0.5938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.1607, allocations: 0 / 476.3 MB, free: 0.5938 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001085/0.1618, allocations: 345.5 kB / 476.7 MB, free: 256 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.1619, allocations: 110.8 kB / 476.8 MB, free: 120 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2468/0.4087, allocations: 258.7 kB / 477 MB, free: 50.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.4088, allocations: 32.58 kB / 477 MB, free: 50.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.4089, allocations: 205.2 kB / 477.2 MB, free: 50.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/0.409, allocations: 53.83 kB / 477.3 MB, free: 50.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.4092, allocations: 65.09 kB / 477.4 MB, free: 50.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.4093, allocations: 333.5 kB / 477.7 MB, free: 49.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.4096, allocations: 115 kB / 477.8 MB, free: 49.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.4099, allocations: 236.1 kB / 478 MB, free: 49.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.4106, allocations: 364.4 kB / 478.4 MB, free: 49.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.4106, allocations: 3.344 kB / 478.4 MB, free: 49.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007972/0.4114, allocations: 385.4 kB / 478.8 MB, free: 49.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4114, allocations: 6.031 kB / 478.8 MB, free: 49.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.606e-05/0.4115, allocations: 27.86 kB / 478.8 MB, free: 49.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.4115, allocations: 5.406 kB / 478.8 MB, free: 49.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.4117, allocations: 54.95 kB / 478.9 MB, free: 49.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.4117, allocations: 6.281 kB / 478.9 MB, free: 49.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.412, allocations: 51.2 kB / 478.9 MB, free: 49.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.412, allocations: 15.34 kB / 478.9 MB, free: 49.52 MB / 446.1 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.0001792/0.4122, allocations: 176.6 kB / 479.1 MB, free: 49.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.318e-05/0.4123, allocations: 23.77 kB / 479.1 MB, free: 49.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/0.4129, allocations: 272.8 kB / 479.4 MB, free: 49.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.4129, allocations: 3.188 kB / 479.4 MB, free: 49.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4129, allocations: 2.812 kB / 479.4 MB, free: 49.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4129, allocations: 0 / 479.4 MB, free: 49.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.4133, allocations: 225.9 kB / 479.6 MB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/0.4133, allocations: 22.81 kB / 479.6 MB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.4135, allocations: 29.47 kB / 479.7 MB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.4135, allocations: 5.344 kB / 479.7 MB, free: 49.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.4135, allocations: 10.81 kB / 479.7 MB, free: 49.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.4135, allocations: 9.422 kB / 479.7 MB, free: 49.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4135, allocations: 6.719 kB / 479.7 MB, free: 49.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007527/0.4143, allocations: 496.4 kB / 480.2 MB, free: 48.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.4143, allocations: 22.06 kB / 480.2 MB, free: 48.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.4144, allocations: 3.219 kB / 480.2 MB, free: 48.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.4146, allocations: 20.67 kB / 480.2 MB, free: 48.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.4147, allocations: 24.25 kB / 480.3 MB, free: 48.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4147, allocations: 9.125 kB / 480.3 MB, free: 48.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.4149, allocations: 177.3 kB / 480.4 MB, free: 48.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4149, allocations: 0 / 480.4 MB, free: 48.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.4154, allocations: 106.7 kB / 480.5 MB, free: 48.81 MB / 446.1 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.0002646/0.4157, allocations: 152 kB / 480.7 MB, free: 48.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006968/0.4164, allocations: 428.5 kB / 481.1 MB, free: 48.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4164, allocations: 0 / 481.1 MB, free: 48.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.4167, allocations: 272.2 kB / 481.4 MB, free: 48.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.4172, allocations: 31.81 kB / 481.4 MB, free: 48.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4182, allocations: 0.59 MB / 482 MB, free: 48.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.4183, allocations: 186.4 kB / 482.2 MB, free: 47.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.4185, allocations: 52.97 kB / 482.2 MB, free: 47.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.4185, allocations: 29.25 kB / 482.3 MB, free: 47.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4185, allocations: 0 / 482.3 MB, free: 47.96 MB / 446.1 MB Notification: Performance of Templates: time 0.007489/0.426, allocations: 4.267 MB / 486.5 MB, free: 47.54 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.426674954011105]