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.0007768/0.0007768, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001874, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001257/0.001257, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002739, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.148/1.148, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09187/1.24, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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.2761/0.2761, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02662/0.3027, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.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.563e-06/1.563e-06, allocations: 0 / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.291e-05, allocations: 6.25 kB / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003277/0.0033, allocations: 1.986 MB / 295.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.004708, allocations: 0.8342 MB / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.0048, allocations: 0 / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.005015, allocations: 55.67 kB / 296.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.00531, allocations: 83.5 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.005613, allocations: 91.64 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.005929, allocations: 274.5 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.005986, allocations: 14.56 kB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.006252, allocations: 143.4 kB / 297.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.006432, allocations: 103.6 kB / 297.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.006454, allocations: 8 kB / 297.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.006655, allocations: 75.89 kB / 297.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.006735, allocations: 59.78 kB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.006805, allocations: 55.81 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.007145, allocations: 247 kB / 297.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.525e-05/0.00716, allocations: 0 / 297.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.007161, allocations: 0 / 297.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.007186, allocations: 0 / 297.9 MB, free: 1.145 MB / 282.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.0007439/0.00793, allocations: 0.493 MB / 298.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.007966, allocations: 8.922 kB / 298.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.008041, allocations: 40.91 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.008248, allocations: 169.3 kB / 298.6 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.008267, allocations: 16.88 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.008308, allocations: 28.38 kB / 298.6 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.008646, allocations: 221 kB / 298.9 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.008659, allocations: 3.938 kB / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.008679, allocations: 8 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.00873, allocations: 24.64 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.008913, allocations: 100.6 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.009768, allocations: 0.5179 MB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.00996, allocations: 136 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.01001, allocations: 24.78 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.01004, allocations: 8 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.01006, allocations: 38.56 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.01006, allocations: 0 / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002565/0.01032, allocations: 95.47 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.01036, allocations: 55.41 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.01048, allocations: 182.4 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.0105, allocations: 29.7 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.01059, allocations: 176.4 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.01063, allocations: 59.47 kB / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.01071, allocations: 57.84 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.0108, allocations: 330.8 kB / 300.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.01086, allocations: 31.22 kB / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01097, allocations: 124 kB / 300.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.01116, allocations: 168.4 kB / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01117, allocations: 4 kB / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000239/0.01141, allocations: 146.6 kB / 301.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.01142, allocations: 8.375 kB / 301.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01143, allocations: 4 kB / 301.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01145, allocations: 7.938 kB / 301.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.01191, allocations: 103.9 kB / 301.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.01353, allocations: 3.557 MB / 304.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.01367, allocations: 31.78 kB / 304.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.01369, allocations: 8 kB / 304.9 MB, free: 9.777 MB / 298.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.0001362/0.01382, allocations: 128.6 kB / 305 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.01386, allocations: 19.98 kB / 305 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.01415, allocations: 155.9 kB / 305.2 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.01416, allocations: 8.062 kB / 305.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01416, allocations: 0 / 305.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01416, allocations: 0 / 305.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.01437, allocations: 129.8 kB / 305.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01437, allocations: 0 / 305.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.01471, allocations: 79.94 kB / 305.4 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.01474, allocations: 19.83 kB / 305.4 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.01474, allocations: 4 kB / 305.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.01476, allocations: 7.938 kB / 305.4 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.01626, allocations: 3.571 MB / 309 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01626, allocations: 0 / 309 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.01646, allocations: 230.8 kB / 309.2 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.01649, allocations: 4.344 kB / 309.2 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.01659, allocations: 8 kB / 309.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.01664, allocations: 19.97 kB / 309.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.01665, allocations: 3.938 kB / 309.2 MB, free: 5.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.0167, allocations: 36.81 kB / 309.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0167, allocations: 0 / 309.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.01708, allocations: 95.72 kB / 309.4 MB, free: 5.07 MB / 298.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.000246/0.01733, allocations: 114.7 kB / 309.5 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005128/0.01784, allocations: 194.4 kB / 309.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.01785, allocations: 4 kB / 309.7 MB, free: 4.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.0182, allocations: 148 kB / 309.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.01876, allocations: 47.91 kB / 309.9 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.02153, allocations: 0.5004 MB / 310.4 MB, free: 3.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.583e-05/0.02161, allocations: 107.8 kB / 310.5 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.102e-05/0.0217, allocations: 17.48 kB / 310.5 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.02181, allocations: 75.36 kB / 310.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02181, allocations: 0 / 310.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of Templates: time 0.008173/0.02998, allocations: 4.499 MB / 315.1 MB, free: 15.36 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 -ignoreHideResult -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.187066393904388]