Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001883/0.001883, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3582/0.3582, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 377.2 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.125e-05, allocations: 2.312 kB / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004056/0.004087, allocations: 2.04 MB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.006364, allocations: 1.129 MB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.006466, allocations: 3.938 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.006751, allocations: 43.73 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.006997, allocations: 95.33 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.007642, allocations: 183.2 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.008106, allocations: 342.3 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.008161, allocations: 8.938 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.008516, allocations: 159.5 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.00874, allocations: 127.5 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.00878, allocations: 8 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.009138, allocations: 143.8 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.009275, allocations: 83.61 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.009402, allocations: 71.72 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.01004, allocations: 406.5 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01004, allocations: 0 / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01004, allocations: 0 / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.475e-06/0.01005, allocations: 4 kB / 382.1 MB, free: 14.02 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001202/0.01125, allocations: 0.6514 MB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01129, allocations: 8.031 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003928/0.01168, allocations: 80.72 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.01207, allocations: 204 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.01212, allocations: 25.02 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.01217, allocations: 28.12 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.01281, allocations: 334 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.01283, allocations: 0 / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.01286, allocations: 16 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/0.0129, allocations: 20.64 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.0134, allocations: 182.4 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.01536, allocations: 1.125 MB / 384.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.01576, allocations: 165.3 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.01596, allocations: 74.98 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.01601, allocations: 7.984 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.01605, allocations: 41.33 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.01605, allocations: 0 / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007683/0.01682, allocations: 209.4 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.0169, allocations: 106.8 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.01727, allocations: 328.1 kB / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.0173, allocations: 29.95 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.01752, allocations: 262.9 kB / 385.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.01757, allocations: 51.59 kB / 386 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.01771, allocations: 67.59 kB / 386 MB, free: 9.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000309/0.01801, allocations: 0.5196 MB / 386.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.01822, allocations: 56.19 kB / 386.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.01857, allocations: 223.3 kB / 386.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.01917, allocations: 314 kB / 387.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01918, allocations: 0 / 387.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006963/0.01987, allocations: 293.1 kB / 387.4 MB, free: 8.219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.01989, allocations: 4 kB / 387.4 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-05/0.01995, allocations: 24 kB / 387.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.01998, allocations: 7.984 kB / 387.5 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.02019, allocations: 39.92 kB / 387.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.02021, allocations: 11.98 kB / 387.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.02042, allocations: 36.16 kB / 387.5 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.02046, allocations: 19.98 kB / 387.6 MB, free: 8.078 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.0002403/0.0207, allocations: 212.4 kB / 387.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.02079, allocations: 27.8 kB / 387.8 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/0.02131, allocations: 183.4 kB / 388 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.02132, allocations: 4 kB / 388 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.02133, allocations: 0 / 388 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.02133, allocations: 0 / 388 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.02182, allocations: 264.4 kB / 388.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/0.02186, allocations: 23.98 kB / 388.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.02198, allocations: 19.98 kB / 388.3 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.02198, allocations: 0 / 388.3 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.022, allocations: 8 kB / 388.3 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.02202, allocations: 7.938 kB / 388.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.02202, allocations: 0 / 388.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.02275, allocations: 0.5411 MB / 388.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.02281, allocations: 23.8 kB / 388.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.02285, allocations: 4 kB / 388.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.02306, allocations: 15.98 kB / 388.9 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.02315, allocations: 15.98 kB / 388.9 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.02317, allocations: 7.984 kB / 388.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.02338, allocations: 213.1 kB / 389.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02338, allocations: 3.938 kB / 389.1 MB, free: 6.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005758/0.02396, allocations: 107.7 kB / 389.2 MB, free: 6.352 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.0003409/0.0243, allocations: 151.1 kB / 389.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006917/0.02499, allocations: 346.6 kB / 389.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02499, allocations: 3.938 kB / 389.7 MB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.02533, allocations: 233.8 kB / 389.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.02585, allocations: 45.08 kB / 390 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.02705, allocations: 0.53 MB / 390.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.02727, allocations: 181.4 kB / 390.7 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.0274, allocations: 37.59 kB / 390.7 MB, free: 4.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.02746, allocations: 20.48 kB / 390.7 MB, free: 4.668 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02746, allocations: 0 / 390.7 MB, free: 4.668 MB / 362.7 MB Notification: Performance of Templates: time 0.01011/0.03756, allocations: 4.337 MB / 395.1 MB, free: 428 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.197319738916121]