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.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.001013/0.001013, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001205/0.001205, allocations: 168.4 kB / 25.61 MB, free: 8.902 MB / 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.9297/0.9297, allocations: 177.1 MB / 206 MB, free: 4.488 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.1309/0.1309, allocations: 34.25 MB / 296.8 MB, free: 14.02 MB / 282.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,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_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.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.317e-05, allocations: 14.25 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003081/0.003104, allocations: 2.052 MB / 381.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.00467, allocations: 1.11 MB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.004776, allocations: 0 / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.005033, allocations: 55.61 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.005241, allocations: 83.39 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.005775, allocations: 187.2 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.006087, allocations: 338.3 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.006141, allocations: 12.94 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.006386, allocations: 155.5 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.006552, allocations: 123.6 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.00658, allocations: 12 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.006845, allocations: 151.7 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.006918, allocations: 83.61 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.006997, allocations: 75.72 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.007403, allocations: 366.7 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.007405, allocations: 0 / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007406, allocations: 0 / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.00741, allocations: 0 / 384.1 MB, free: 18.58 MB / 314.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.0006644/0.008074, allocations: 0.6517 MB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.008108, allocations: 12.03 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.008441, allocations: 80.72 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.008655, allocations: 204 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.008669, allocations: 21.03 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.00869, allocations: 28.12 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.008964, allocations: 290.7 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.008976, allocations: 0 / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.008998, allocations: 12 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.00903, allocations: 20.64 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.009182, allocations: 88.47 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.01005, allocations: 1.013 MB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.01021, allocations: 133.3 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.01025, allocations: 43.05 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.01029, allocations: 11.88 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.01031, allocations: 45.38 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.01031, allocations: 0 / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002687/0.01058, allocations: 137.4 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.0106, allocations: 110.8 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.0107, allocations: 304.1 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.01071, allocations: 25.7 kB / 387.3 MB, free: 15.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.01078, allocations: 258.9 kB / 387.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.0108, allocations: 55.58 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.01086, allocations: 71.55 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.01091, allocations: 0.5117 MB / 388.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.079e-05/0.01095, allocations: 20.22 kB / 388.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.01103, allocations: 191.8 kB / 388.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.01118, allocations: 246.3 kB / 388.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01118, allocations: 0 / 388.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002156/0.0114, allocations: 217.3 kB / 388.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.01141, allocations: 8 kB / 388.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.01143, allocations: 27.94 kB / 388.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.01144, allocations: 4 kB / 388.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01155, allocations: 43.91 kB / 388.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.01156, allocations: 7.938 kB / 388.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.01165, allocations: 39.77 kB / 389 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01167, allocations: 12.28 kB / 389 MB, free: 13.25 MB / 314.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_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 (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 7.981e-05/0.01175, allocations: 184.4 kB / 389.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.0118, allocations: 23.86 kB / 389.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.01198, allocations: 163.7 kB / 389.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01199, allocations: 0 / 389.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01199, allocations: 4 kB / 389.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01199, allocations: 0 / 389.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.01219, allocations: 185.1 kB / 389.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.01221, allocations: 31.94 kB / 389.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.01226, allocations: 19.92 kB / 389.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01226, allocations: 3.984 kB / 389.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01227, allocations: 8 kB / 389.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01227, allocations: 4 kB / 389.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01227, allocations: 0 / 389.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.01244, allocations: 0.4933 MB / 390.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.01246, allocations: 31.72 kB / 390.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.01248, allocations: 8 kB / 390.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-05/0.01258, allocations: 4 kB / 390.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.01262, allocations: 31.89 kB / 390.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01263, allocations: 4 kB / 390.2 MB, free: 12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.707e-05/0.01268, allocations: 189.1 kB / 390.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01268, allocations: 0 / 390.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.01301, allocations: 107.7 kB / 390.5 MB, free: 11.72 MB / 314.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.0001614/0.01317, allocations: 163 kB / 390.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01335, allocations: 278.8 kB / 390.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01335, allocations: 256 / 390.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.01342, allocations: 213.9 kB / 391.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.01372, allocations: 44.41 kB / 391.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.01441, allocations: 0.5158 MB / 391.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.01446, allocations: 119.8 kB / 391.8 MB, free: 10.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.01451, allocations: 17.62 kB / 391.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.01463, allocations: 134.2 kB / 391.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01463, allocations: 0 / 391.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of Templates: time 0.005194/0.01983, allocations: 4.844 MB / 396.8 MB, free: 5.348 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.0886098160408437]