Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.001128/0.001128, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001294/0.001294, allocations: 161.8 kB / 24.91 MB, free: 8.766 MB / 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 0.9257/0.9257, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] 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.2662/0.2662, allocations: 34.86 MB / 296.6 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] 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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.289e-05, allocations: 5.469 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.005764/0.005787, allocations: 1.931 MB / 327.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.007057, allocations: 0.8419 MB / 328.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.007135, allocations: 4 kB / 328.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.007376, allocations: 47.67 kB / 328.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.009294, allocations: 91.48 kB / 328.9 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.009588, allocations: 91.59 kB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.009873, allocations: 271.3 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.009925, allocations: 22.48 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.01016, allocations: 135.5 kB / 329.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.01031, allocations: 103.6 kB / 329.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.01034, allocations: 4 kB / 329.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.01051, allocations: 75.88 kB / 329.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.0106, allocations: 67.7 kB / 329.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.01069, allocations: 71.72 kB / 329.7 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.01103, allocations: 267.9 kB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01103, allocations: 0 / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01103, allocations: 0 / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.01104, allocations: 0 / 329.9 MB, free: 3.141 MB / 298.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.0005563/0.01159, allocations: 465.2 kB / 330.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.01163, allocations: 8.031 kB / 330.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.01169, allocations: 32.92 kB / 330.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.01187, allocations: 162.6 kB / 330.6 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.01189, allocations: 28.86 kB / 330.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.01192, allocations: 24.38 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.01218, allocations: 221 kB / 330.9 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.01219, allocations: 3.938 kB / 330.9 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.01221, allocations: 12 kB / 330.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.01224, allocations: 24.64 kB / 330.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.01235, allocations: 96.55 kB / 331 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.01297, allocations: 0.5179 MB / 331.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.0131, allocations: 132.1 kB / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.01314, allocations: 32.78 kB / 331.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.01316, allocations: 8 kB / 331.7 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.01319, allocations: 34.55 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.01319, allocations: 0 / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001944/0.01338, allocations: 96.12 kB / 331.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.01341, allocations: 63.33 kB / 331.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.01352, allocations: 178.4 kB / 332 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.01354, allocations: 25.7 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.01362, allocations: 180.3 kB / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.01365, allocations: 63.5 kB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.01372, allocations: 53.86 kB / 332.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.0138, allocations: 330.8 kB / 332.7 MB, free: 244 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.01385, allocations: 35.22 kB / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.01393, allocations: 100.1 kB / 332.8 MB, free: 68 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.0141, allocations: 164.6 kB / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0141, allocations: 0 / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001744/0.01428, allocations: 154.7 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.01429, allocations: 12.03 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01429, allocations: 7.938 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.01431, allocations: 4 kB / 333.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.01457, allocations: 95.88 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.01559, allocations: 3.561 MB / 336.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.01568, allocations: 23.84 kB / 336.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.01569, allocations: 8 kB / 336.8 MB, free: 11.84 MB / 314.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_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].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.0001004/0.01579, allocations: 140.5 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.01582, allocations: 12 kB / 337 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.01602, allocations: 156.3 kB / 337.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01602, allocations: 3.984 kB / 337.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01602, allocations: 0 / 337.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01602, allocations: 0 / 337.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.01617, allocations: 133.7 kB / 337.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01617, allocations: 0 / 337.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.01637, allocations: 79.94 kB / 337.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01637, allocations: 0 / 337.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01638, allocations: 8 kB / 337.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009588/0.01734, allocations: 3.567 MB / 340.9 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01734, allocations: 4 kB / 340.9 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.0175, allocations: 235.5 kB / 341.2 MB, free: 7.316 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.01751, allocations: 15.84 kB / 341.2 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01753, allocations: 8.312 kB / 341.2 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.01759, allocations: 12 kB / 341.2 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.01762, allocations: 19.84 kB / 341.2 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.01763, allocations: 4 kB / 341.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.058e-05/0.01767, allocations: 41.86 kB / 341.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01767, allocations: 0 / 341.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.01791, allocations: 95.72 kB / 341.4 MB, free: 7.121 MB / 314.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.000162/0.01807, allocations: 108.3 kB / 341.5 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.01839, allocations: 153.8 kB / 341.6 MB, free: 6.855 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.01839, allocations: 4 kB / 341.6 MB, free: 6.852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.01859, allocations: 104.7 kB / 341.7 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.01874, allocations: 31.84 kB / 341.7 MB, free: 6.715 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.01943, allocations: 495.8 kB / 342.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.697e-05/0.01949, allocations: 107.8 kB / 342.3 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.175e-05/0.01955, allocations: 25.45 kB / 342.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.01963, allocations: 75.36 kB / 342.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01963, allocations: 0 / 342.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of Templates: time 0.005574/0.02521, allocations: 4.404 MB / 346.8 MB, free: 1.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.040008148178458]