Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.0009852/0.0009852, allocations: 84.73 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.00114/0.00114, allocations: 161 kB / 24.91 MB, free: 9.184 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.994/0.994, allocations: 177 MB / 205.2 MB, free: 5.465 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.2441/0.2441, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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_overall,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,]+.|Nu_3.[0-9,]+.|Nu_4.[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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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,]+.|Nu_3.[0-9,]+.|Nu_4.[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_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.934e-05, allocations: 6.312 kB / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002895/0.002924, allocations: 2.292 MB / 328.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.005487, allocations: 2.119 MB / 330.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.005639, allocations: 4 kB / 330.4 MB, free: 2.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.005917, allocations: 71.47 kB / 330.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.006181, allocations: 123.2 kB / 330.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.007352, allocations: 450 kB / 331 MB, free: 2.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.007864, allocations: 0.5558 MB / 331.6 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.007951, allocations: 37.19 kB / 331.6 MB, free: 1.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.008332, allocations: 243.1 kB / 331.8 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.00855, allocations: 179.3 kB / 332 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.008581, allocations: 12 kB / 332 MB, free: 1.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006593/0.00924, allocations: 407.2 kB / 332.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.00938, allocations: 111.4 kB / 332.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.009507, allocations: 123.5 kB / 332.6 MB, free: 412 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008733/0.01038, allocations: 0.7473 MB / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01038, allocations: 0 / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01038, allocations: 0 / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.01039, allocations: 4 kB / 333.4 MB, free: 15.65 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0008485/0.01124, allocations: 0.7268 MB / 334.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.01127, allocations: 8.031 kB / 334.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.01155, allocations: 112.8 kB / 334.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.01182, allocations: 213 kB / 334.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.01185, allocations: 49.61 kB / 334.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.0119, allocations: 56.38 kB / 334.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.01238, allocations: 480.4 kB / 335 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.01239, allocations: 3.938 kB / 335 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.01242, allocations: 20 kB / 335 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.01246, allocations: 29.31 kB / 335.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.01269, allocations: 210.7 kB / 335.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01392, allocations: 1.137 MB / 336.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.01412, allocations: 169.3 kB / 336.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.01418, allocations: 34.56 kB / 336.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.01422, allocations: 15.92 kB / 336.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.01424, allocations: 38.56 kB / 336.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.01424, allocations: 0 / 336.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002968/0.01454, allocations: 126.9 kB / 336.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.01458, allocations: 106.8 kB / 336.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.01478, allocations: 318.7 kB / 337.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.0148, allocations: 29.95 kB / 337.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.01493, allocations: 307.5 kB / 337.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.01498, allocations: 75.39 kB / 337.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01509, allocations: 106 kB / 337.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.01519, allocations: 350.7 kB / 338.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.01528, allocations: 51.81 kB / 338.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.01548, allocations: 304.9 kB / 338.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.01585, allocations: 443.8 kB / 338.8 MB, free: 9.719 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.01586, allocations: 4 kB / 338.8 MB, free: 9.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004446/0.0163, allocations: 342.9 kB / 339.2 MB, free: 9.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01632, allocations: 8 kB / 339.2 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/0.01636, allocations: 32.89 kB / 339.2 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01638, allocations: 12 kB / 339.2 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.01652, allocations: 71.77 kB / 339.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.01653, allocations: 15.94 kB / 339.3 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.0167, allocations: 67.55 kB / 339.4 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.01673, allocations: 27.94 kB / 339.4 MB, free: 9.141 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0001458/0.01687, allocations: 168.5 kB / 339.6 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.01694, allocations: 19.98 kB / 339.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.01725, allocations: 220.3 kB / 339.8 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.01726, allocations: 8 kB / 339.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01726, allocations: 3.938 kB / 339.8 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01726, allocations: 0 / 339.8 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.01757, allocations: 201.5 kB / 340 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.0176, allocations: 19.98 kB / 340 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.01766, allocations: 19.98 kB / 340 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01766, allocations: 0 / 340 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01768, allocations: 12 kB / 340.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.01768, allocations: 7.984 kB / 340.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01768, allocations: 0 / 340.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.01796, allocations: 410.2 kB / 340.5 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.01799, allocations: 27.8 kB / 340.5 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.01802, allocations: 4 kB / 340.5 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.01813, allocations: 11.98 kB / 340.5 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.01818, allocations: 23.97 kB / 340.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.0182, allocations: 4 kB / 340.5 MB, free: 7.953 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.01827, allocations: 92.62 kB / 340.6 MB, free: 7.859 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01827, allocations: 4 kB / 340.6 MB, free: 7.855 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005471/0.01882, allocations: 227.2 kB / 340.9 MB, free: 7.633 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003537/0.01918, allocations: 228.7 kB / 341.1 MB, free: 7.402 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004027/0.01958, allocations: 0.4999 MB / 341.6 MB, free: 6.828 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/0.01959, allocations: 4.5 kB / 341.6 MB, free: 6.824 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.01978, allocations: 373.2 kB / 341.9 MB, free: 6.383 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.02009, allocations: 48.09 kB / 342 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.02132, allocations: 0.8254 MB / 342.8 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.934e-05/0.02141, allocations: 141 kB / 343 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.69e-05/0.02149, allocations: 30.91 kB / 343 MB, free: 5.289 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.0217, allocations: 155.3 kB / 343.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0217, allocations: 0 / 343.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of Templates: time 0.01037/0.03207, allocations: 8.294 MB / 351.4 MB, free: 12.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.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.0958803449757397]