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.001935/0.001935, allocations: 89.92 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002331/0.002331, allocations: 158.2 kB / 23.95 MB, free: 4.152 MB / 14.72 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.478/1.478, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 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.2526/0.2526, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 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.943e-06/1.943e-06, allocations: 0 / 442.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/3.79e-05, allocations: 2.281 kB / 442.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.005059/0.005097, allocations: 1.984 MB / 444.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.007874, allocations: 1.051 MB / 445.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.007997, allocations: 0 / 445.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.008385, allocations: 55.62 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.008717, allocations: 91.38 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.009349, allocations: 183.2 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.00977, allocations: 338.3 kB / 446.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.009827, allocations: 12.94 kB / 446.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.01015, allocations: 159.4 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.01035, allocations: 119.6 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.01039, allocations: 8 kB / 446.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.01071, allocations: 155.7 kB / 446.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.01093, allocations: 75.67 kB / 446.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.01105, allocations: 79.72 kB / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.01163, allocations: 398.6 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.01163, allocations: 4 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.01164, allocations: 7.984 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.01164, allocations: 0 / 447.4 MB, free: 0.5352 MB / 366.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.2671/0.2787, allocations: 0.5433 MB / 447.9 MB, free: 19.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2788, allocations: 9.25 kB / 447.9 MB, free: 19.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006289/0.2794, allocations: 69.55 kB / 448 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.2798, allocations: 210.7 kB / 448.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.2799, allocations: 18.47 kB / 448.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.2799, allocations: 26.53 kB / 448.3 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2809, allocations: 435.7 kB / 448.7 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.2809, allocations: 3.375 kB / 448.7 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.281, allocations: 15.56 kB / 448.7 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.281, allocations: 18.94 kB / 448.7 MB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.2821, allocations: 323.6 kB / 449 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.2837, allocations: 0.9348 MB / 450 MB, free: 18.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.2844, allocations: 232.8 kB / 450.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.2848, allocations: 111.5 kB / 450.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.2848, allocations: 8.266 kB / 450.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2849, allocations: 43.03 kB / 450.3 MB, free: 18.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.2849, allocations: 0 / 450.3 MB, free: 18.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.00148/0.2863, allocations: 345.6 kB / 450.7 MB, free: 18.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.2864, allocations: 105 kB / 450.8 MB, free: 18.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.2867, allocations: 258.4 kB / 451 MB, free: 17.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.2867, allocations: 31.08 kB / 451.1 MB, free: 17.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.2869, allocations: 211.2 kB / 451.3 MB, free: 17.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.2869, allocations: 46.34 kB / 451.3 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.2871, allocations: 71.61 kB / 451.4 MB, free: 17.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.2871, allocations: 330.1 kB / 451.7 MB, free: 17.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.2876, allocations: 115.6 kB / 451.8 MB, free: 17.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.2881, allocations: 238.1 kB / 452.1 MB, free: 17.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.2891, allocations: 360.9 kB / 452.4 MB, free: 16.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2891, allocations: 1.375 kB / 452.4 MB, free: 16.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001235/0.2903, allocations: 396.3 kB / 452.8 MB, free: 16.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2903, allocations: 7.531 kB / 452.8 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.416e-05/0.2904, allocations: 23.66 kB / 452.8 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.2904, allocations: 5.5 kB / 452.8 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.2908, allocations: 48.73 kB / 452.9 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.2908, allocations: 6.688 kB / 452.9 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.2911, allocations: 46.42 kB / 452.9 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.2912, allocations: 23.02 kB / 453 MB, free: 16.84 MB / 366.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.000225/0.2914, allocations: 174.1 kB / 453.1 MB, free: 16.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.2916, allocations: 24.03 kB / 453.2 MB, free: 16.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008623/0.2924, allocations: 273.9 kB / 453.4 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.2924, allocations: 7.922 kB / 453.4 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2924, allocations: 3.281 kB / 453.4 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2924, allocations: 1.5 kB / 453.4 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.293, allocations: 222.5 kB / 453.7 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-05/0.2931, allocations: 24.12 kB / 453.7 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.2933, allocations: 23.34 kB / 453.7 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2933, allocations: 2.328 kB / 453.7 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.2933, allocations: 8.719 kB / 453.7 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2933, allocations: 7.359 kB / 453.7 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2933, allocations: 0 / 453.7 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009742/0.2943, allocations: 0.4959 MB / 454.2 MB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.2944, allocations: 28.95 kB / 454.2 MB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.2944, allocations: 6.828 kB / 454.2 MB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.2949, allocations: 16.16 kB / 454.3 MB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.295, allocations: 15.94 kB / 454.3 MB, free: 16.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.295, allocations: 15.33 kB / 454.3 MB, free: 16.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.2952, allocations: 177.8 kB / 454.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2952, allocations: 0 / 454.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009268/0.2961, allocations: 106.4 kB / 454.6 MB, free: 15.95 MB / 366.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.0003691/0.2965, allocations: 171.4 kB / 454.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2975, allocations: 425.3 kB / 455.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2975, allocations: 0 / 455.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004534/0.298, allocations: 268 kB / 455.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.2987, allocations: 34.66 kB / 455.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.3, allocations: 0.5679 MB / 456 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3003, allocations: 189.5 kB / 456.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.3005, allocations: 49.75 kB / 456.2 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.3005, allocations: 18.41 kB / 456.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3005, allocations: 1.594 kB / 456.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Templates: time 0.009799/0.3103, allocations: 4.321 MB / 460.6 MB, free: 14.55 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] 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.401657085865736]