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.0008958/0.0008958, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001389/0.001389, allocations: 165.5 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.9156/0.9156, allocations: 177 MB / 205.2 MB, free: 5.402 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.251/0.251, allocations: 34.87 MB / 296.6 MB, free: 0.5195 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,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_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.[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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/1.998e-05, allocations: 2.312 kB / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002541/0.002561, allocations: 2.067 MB / 328 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.004091, allocations: 1.138 MB / 329.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.004191, allocations: 3.938 kB / 329.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.004424, allocations: 51.73 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.004609, allocations: 87.33 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.005153, allocations: 195.1 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.005472, allocations: 343.1 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.005521, allocations: 22.88 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.005788, allocations: 155.5 kB / 330 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.005953, allocations: 123.5 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.005978, allocations: 12 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.006256, allocations: 143.8 kB / 330.3 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.754e-05/0.006354, allocations: 79.61 kB / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.006434, allocations: 75.72 kB / 330.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.006818, allocations: 374.6 kB / 330.8 MB, free: 2.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.006821, allocations: 4 kB / 330.8 MB, free: 2.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.006822, allocations: 0 / 330.8 MB, free: 2.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.006826, allocations: 0 / 330.8 MB, free: 2.273 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0005862/0.007413, allocations: 0.5088 MB / 331.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.007448, allocations: 12.03 kB / 331.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.007657, allocations: 68.88 kB / 331.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.007855, allocations: 173.3 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.007873, allocations: 21.03 kB / 331.6 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.007901, allocations: 32.12 kB / 331.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.008203, allocations: 286.2 kB / 331.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.008212, allocations: 0 / 331.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.008231, allocations: 16 kB / 331.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.008258, allocations: 16.66 kB / 331.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.008389, allocations: 110.1 kB / 332 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.009152, allocations: 0.7556 MB / 332.8 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.009315, allocations: 152.2 kB / 332.9 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.009375, allocations: 34.56 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.009405, allocations: 11.88 kB / 333 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.009423, allocations: 34.5 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.009425, allocations: 8 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.000224/0.009649, allocations: 98.23 kB / 333.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.009694, allocations: 106.8 kB / 333.2 MB, free: 15.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.009829, allocations: 224.9 kB / 333.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.009845, allocations: 25.7 kB / 333.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.009929, allocations: 200.2 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.009956, allocations: 47.56 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.01003, allocations: 65.84 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.01011, allocations: 326.8 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.01016, allocations: 27.3 kB / 334.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.01025, allocations: 140.4 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.01043, allocations: 206.1 kB / 334.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01044, allocations: 0 / 334.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002129/0.01065, allocations: 193.1 kB / 334.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01066, allocations: 8 kB / 334.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.01069, allocations: 15.98 kB / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.0107, allocations: 4 kB / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01081, allocations: 39.91 kB / 334.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.01081, allocations: 8 kB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01092, allocations: 40.25 kB / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.01093, allocations: 15.98 kB / 334.8 MB, free: 13.95 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 9.831e-05/0.01103, allocations: 132.5 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.01108, allocations: 15.98 kB / 334.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.01128, allocations: 129.3 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01128, allocations: 0 / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.01128, allocations: 4 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01129, allocations: 0 / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.01152, allocations: 149.7 kB / 335.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.01153, allocations: 15.98 kB / 335.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.01158, allocations: 27.92 kB / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01158, allocations: 0 / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.01159, allocations: 4 kB / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.0116, allocations: 0 / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0116, allocations: 3.938 kB / 335.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.01182, allocations: 373.9 kB / 335.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.01184, allocations: 31.77 kB / 335.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.01186, allocations: 4 kB / 335.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.01196, allocations: 15.98 kB / 335.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.012, allocations: 11.98 kB / 335.7 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01201, allocations: 8 kB / 335.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.287e-05/0.01207, allocations: 62.8 kB / 335.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01207, allocations: 0 / 335.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003215/0.01239, allocations: 115.6 kB / 335.8 MB, free: 12.81 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.000211/0.0126, allocations: 140.2 kB / 336 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.01283, allocations: 263.2 kB / 336.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.01284, allocations: 4 kB / 336.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.723e-05/0.01294, allocations: 195 kB / 336.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.01321, allocations: 40.91 kB / 336.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.01405, allocations: 0.5289 MB / 337 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.01412, allocations: 103.9 kB / 337.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.01417, allocations: 21.62 kB / 337.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.01432, allocations: 119.2 kB / 337.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01432, allocations: 3.938 kB / 337.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of Templates: time 0.006151/0.02047, allocations: 4.602 MB / 341.8 MB, free: 6.758 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8605096149258316]