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.001588/0.001588, allocations: 91.61 kB / 21.19 MB, free: 3.387 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.001515/0.001515, allocations: 164.5 kB / 24.56 MB, free: 24 kB / 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 1.064/1.064, allocations: 177 MB / 204.8 MB, free: 5.586 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.2572/0.2572, allocations: 34.87 MB / 296.3 MB, free: 492 kB / 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.783e-06/1.783e-06, allocations: 0 / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.81e-05, allocations: 2.312 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002759/0.002787, allocations: 2.309 MB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.00522, allocations: 2.102 MB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.005345, allocations: 0 / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.005654, allocations: 75.47 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.005897, allocations: 119.2 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.006983, allocations: 454 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.007487, allocations: 0.5479 MB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.992e-05/0.007567, allocations: 21.28 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.007962, allocations: 239.1 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.008197, allocations: 179.4 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.008234, allocations: 16 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006172/0.008851, allocations: 407.2 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.008971, allocations: 111.4 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.009098, allocations: 127.5 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008272/0.009925, allocations: 0.7434 MB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.009927, allocations: 3.938 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.009928, allocations: 0 / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.009936, allocations: 0 / 386.2 MB, free: 10.57 MB / 362.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.0009253/0.01086, allocations: 0.8737 MB / 387.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.0109, allocations: 12.03 kB / 387.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.0112, allocations: 132.5 kB / 387.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.0115, allocations: 255.8 kB / 387.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.01154, allocations: 37.69 kB / 387.5 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.01158, allocations: 52.38 kB / 387.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.01217, allocations: 0.5127 MB / 388.1 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.01219, allocations: 7.938 kB / 388.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.01222, allocations: 20 kB / 388.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.01226, allocations: 37.3 kB / 388.2 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.01257, allocations: 211.7 kB / 388.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.01422, allocations: 1.556 MB / 389.9 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.01455, allocations: 165.2 kB / 390.1 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.01468, allocations: 55.05 kB / 390.1 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.398e-05/0.01474, allocations: 19.86 kB / 390.1 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.01477, allocations: 45.39 kB / 390.2 MB, free: 6.402 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/0.01478, allocations: 0 / 390.2 MB, free: 6.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006453/0.01542, allocations: 219.6 kB / 390.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.01548, allocations: 110.8 kB / 390.5 MB, free: 6.051 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.01588, allocations: 418 kB / 390.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.0159, allocations: 29.7 kB / 391 MB, free: 5.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.01615, allocations: 378.2 kB / 391.3 MB, free: 5.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.01623, allocations: 75.42 kB / 391.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.01642, allocations: 143.7 kB / 391.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.0166, allocations: 0.5157 MB / 392.1 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.01678, allocations: 60.95 kB / 392.1 MB, free: 4.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.01717, allocations: 448 kB / 392.5 MB, free: 3.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.01779, allocations: 0.5515 MB / 393.1 MB, free: 3.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.01779, allocations: 0 / 393.1 MB, free: 3.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007855/0.01858, allocations: 437.6 kB / 393.5 MB, free: 2.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.0186, allocations: 11.98 kB / 393.5 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.937e-05/0.01868, allocations: 48 kB / 393.6 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.0187, allocations: 12 kB / 393.6 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.01892, allocations: 63.83 kB / 393.7 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.01894, allocations: 23.86 kB / 393.7 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.01924, allocations: 67.56 kB / 393.7 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.0193, allocations: 39.98 kB / 393.8 MB, free: 2.363 MB / 362.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_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * 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.0002012/0.0195, allocations: 212.4 kB / 394 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.01961, allocations: 39.8 kB / 394 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005892/0.0202, allocations: 290.2 kB / 394.3 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.02021, allocations: 4 kB / 394.3 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.02021, allocations: 0 / 394.3 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.02022, allocations: 7.922 kB / 394.3 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005779/0.0208, allocations: 364.4 kB / 394.7 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-05/0.02086, allocations: 39.98 kB / 394.7 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.02095, allocations: 23.92 kB / 394.7 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.02096, allocations: 0 / 394.7 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.02099, allocations: 15.98 kB / 394.8 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.02099, allocations: 4 kB / 394.8 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.02099, allocations: 0 / 394.8 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.02154, allocations: 0.561 MB / 395.3 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.02158, allocations: 31.69 kB / 395.4 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.02162, allocations: 0 / 395.4 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.02183, allocations: 19.98 kB / 395.4 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.02192, allocations: 27.91 kB / 395.4 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.02195, allocations: 20 kB / 395.4 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.02215, allocations: 235 kB / 395.7 MB, free: 436 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02215, allocations: 0 / 395.7 MB, free: 436 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008678/0.02302, allocations: 219.3 kB / 395.9 MB, free: 216 kB / 362.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.0004924/0.02351, allocations: 230.9 kB / 396.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007208/0.02423, allocations: 0.5456 MB / 396.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02423, allocations: 0 / 396.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.02454, allocations: 399.9 kB / 397 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.02516, allocations: 61.03 kB / 397.1 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.02678, allocations: 0.8456 MB / 397.9 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.02688, allocations: 152.5 kB / 398.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.02702, allocations: 86.8 kB / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.02707, allocations: 24.5 kB / 398.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02707, allocations: 0 / 398.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of Templates: time 0.01015/0.03722, allocations: 8.844 MB / 407 MB, free: 4.922 MB / 378.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.528220137115568]