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_KC.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.00095/0.00095, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.000939/0.000939, allocations: 161 kB / 24.55 MB, free: 16 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 0.9887/0.9887, allocations: 177.1 MB / 205 MB, free: 5.59 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.2531/0.2531, allocations: 34.27 MB / 295.7 MB, free: 0.7695 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_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|kc.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.568e-05, allocations: 2.312 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002576/0.002602, allocations: 1.95 MB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003715, allocations: 0.8217 MB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.003779, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.00403, allocations: 51.69 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.004288, allocations: 87.48 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.004525, allocations: 91.58 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.004786, allocations: 270.6 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.004841, allocations: 8.594 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.005122, allocations: 139.4 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.005281, allocations: 107.6 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.005304, allocations: 4 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.005454, allocations: 75.88 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.00553, allocations: 71.69 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.005599, allocations: 67.73 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.005906, allocations: 263 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.005909, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005911, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.005918, allocations: 0 / 382 MB, free: 14.61 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006273/0.006545, allocations: 0.5972 MB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.006592, allocations: 11.97 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.015e-05/0.006673, allocations: 44.75 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.006869, allocations: 172.3 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.006887, allocations: 28.86 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.006916, allocations: 28.31 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.007223, allocations: 214.2 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.007235, allocations: 3.938 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.007255, allocations: 8 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.0073, allocations: 28.62 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.007481, allocations: 131.9 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008344/0.008316, allocations: 0.6909 MB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.008502, allocations: 103 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/0.008567, allocations: 39.73 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.008596, allocations: 4 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.008619, allocations: 37.33 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.00862, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003253/0.008946, allocations: 149.6 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.008982, allocations: 55.41 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.009147, allocations: 249.8 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.009167, allocations: 33.7 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.009269, allocations: 239 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.009303, allocations: 55.53 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/0.009382, allocations: 67.55 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.009508, allocations: 0.5079 MB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.328e-05/0.009572, allocations: 28.45 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.009692, allocations: 160.8 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.009887, allocations: 210.9 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.009891, allocations: 4 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002513/0.01014, allocations: 197.6 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01016, allocations: 13.69 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.01017, allocations: 4 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.01019, allocations: 7.938 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.01052, allocations: 127.9 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.01217, allocations: 5.407 MB / 391.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01227, allocations: 35.77 kB / 391.7 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.01229, allocations: 12 kB / 391.7 MB, free: 4.465 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.01242, allocations: 168.5 kB / 391.9 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.01245, allocations: 31.84 kB / 391.9 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.01273, allocations: 199.2 kB / 392.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01274, allocations: 7.984 kB / 392.1 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01274, allocations: 0 / 392.1 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01274, allocations: 0 / 392.1 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.01295, allocations: 236.5 kB / 392.3 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01295, allocations: 0 / 392.3 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.01318, allocations: 103.9 kB / 392.4 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01318, allocations: 7.938 kB / 392.4 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01319, allocations: 4 kB / 392.4 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.01463, allocations: 5.414 MB / 397.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01464, allocations: 4 kB / 397.9 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.01485, allocations: 282.1 kB / 398.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.01487, allocations: 19.84 kB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01489, allocations: 8.297 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.01496, allocations: 8 kB / 398.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.01501, allocations: 15.97 kB / 398.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.01502, allocations: 8 kB / 398.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.864e-05/0.01509, allocations: 164.2 kB / 398.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01509, allocations: 0 / 398.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.01538, allocations: 87.78 kB / 398.4 MB, free: 13.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002236/0.01561, allocations: 143 kB / 398.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.016, allocations: 203.3 kB / 398.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.016, allocations: 0.75 kB / 398.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.01622, allocations: 143.5 kB / 398.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01645, allocations: 31.03 kB / 399 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008706/0.01733, allocations: 486.8 kB / 399.4 MB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.066e-05/0.01739, allocations: 103.9 kB / 399.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.743e-05/0.01748, allocations: 53.41 kB / 399.6 MB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.01753, allocations: 28.42 kB / 399.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01753, allocations: 0 / 399.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of Templates: time 0.005768/0.0233, allocations: 4.064 MB / 403.7 MB, free: 8.281 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.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: 3.3736286950297654]