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.001149/0.001149, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001264/0.001264, allocations: 162.7 kB / 24.99 MB, free: 7.719 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 1.089/1.089, allocations: 177 MB / 205.2 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.3094/0.3094, allocations: 34.86 MB / 296.6 MB, free: 500 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.322e-06/1.322e-06, allocations: 0 / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.963e-05, allocations: 2.312 kB / 378.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002736/0.002756, allocations: 2.296 MB / 381.1 MB, free: 32 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.00511, allocations: 2.091 MB / 383.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.005221, allocations: 7.938 kB / 383.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.005504, allocations: 71.47 kB / 383.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.005714, allocations: 119.2 kB / 383.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.006492, allocations: 458 kB / 383.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.006952, allocations: 0.544 MB / 384.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/0.007025, allocations: 25.27 kB / 384.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.007318, allocations: 243.1 kB / 384.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.007496, allocations: 179.4 kB / 384.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.007525, allocations: 12 kB / 384.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.007976, allocations: 403.2 kB / 385.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.624e-05/0.008072, allocations: 107.4 kB / 385.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.008182, allocations: 135.5 kB / 385.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.008846, allocations: 0.7317 MB / 386.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.008849, allocations: 0 / 386.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00885, allocations: 7.938 kB / 386.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.008856, allocations: 0 / 386.2 MB, free: 10.91 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.0009147/0.009771, allocations: 0.8815 MB / 387.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.009812, allocations: 8.031 kB / 387.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.01009, allocations: 136.5 kB / 387.2 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.01054, allocations: 247.8 kB / 387.4 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.01057, allocations: 41.69 kB / 387.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.01061, allocations: 52.38 kB / 387.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.01116, allocations: 0.5166 MB / 388.1 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.01117, allocations: 3.938 kB / 388.1 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.0112, allocations: 31.98 kB / 388.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.01125, allocations: 21.31 kB / 388.1 MB, free: 8.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.01153, allocations: 207.7 kB / 388.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.0128, allocations: 1.564 MB / 389.9 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.01302, allocations: 165.2 kB / 390 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.01311, allocations: 58.98 kB / 390.1 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.01315, allocations: 15.94 kB / 390.1 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.01317, allocations: 49.31 kB / 390.2 MB, free: 6.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.01318, allocations: 0 / 390.2 MB, free: 6.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004412/0.01362, allocations: 209.5 kB / 390.4 MB, free: 6.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.01366, allocations: 107 kB / 390.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.01391, allocations: 430 kB / 390.9 MB, free: 5.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.01393, allocations: 29.7 kB / 390.9 MB, free: 5.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.01408, allocations: 378.2 kB / 391.3 MB, free: 5.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.01412, allocations: 75.42 kB / 391.4 MB, free: 5.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.01424, allocations: 139.8 kB / 391.5 MB, free: 5.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01437, allocations: 0.5235 MB / 392 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.01448, allocations: 52.97 kB / 392.1 MB, free: 4.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.01473, allocations: 451.7 kB / 392.5 MB, free: 4.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.01514, allocations: 0.5434 MB / 393.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.01515, allocations: 4 kB / 393.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004963/0.01564, allocations: 437.6 kB / 393.5 MB, free: 2.961 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01566, allocations: 8 kB / 393.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/0.01571, allocations: 52.08 kB / 393.5 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01572, allocations: 16 kB / 393.6 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.01587, allocations: 67.83 kB / 393.6 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.01588, allocations: 19.88 kB / 393.6 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.01604, allocations: 67.55 kB / 393.7 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.01607, allocations: 36 kB / 393.8 MB, free: 2.699 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.0001267/0.01619, allocations: 208.3 kB / 394 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.01625, allocations: 35.81 kB / 394 MB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.01678, allocations: 297.9 kB / 394.3 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.01679, allocations: 8 kB / 394.3 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01679, allocations: 0 / 394.3 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.0168, allocations: 3.938 kB / 394.3 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.01715, allocations: 364.4 kB / 394.6 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-05/0.01719, allocations: 39.98 kB / 394.7 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.01724, allocations: 19.98 kB / 394.7 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01725, allocations: 4 kB / 394.7 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.01727, allocations: 12 kB / 394.7 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01727, allocations: 3.938 kB / 394.7 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01727, allocations: 0 / 394.7 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.01761, allocations: 0.5611 MB / 395.3 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.01764, allocations: 35.69 kB / 395.3 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.01767, allocations: 4 kB / 395.3 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.01778, allocations: 11.98 kB / 395.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.01785, allocations: 31.91 kB / 395.4 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.01787, allocations: 16 kB / 395.4 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.01799, allocations: 230.9 kB / 395.6 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01799, allocations: 0 / 395.6 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004566/0.01845, allocations: 223.3 kB / 395.8 MB, free: 0.5508 MB / 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.0003196/0.01877, allocations: 238.8 kB / 396.1 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.01924, allocations: 0.5446 MB / 396.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01925, allocations: 0 / 396.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.01946, allocations: 401.2 kB / 397 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.01984, allocations: 65.31 kB / 397.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.0212, allocations: 0.8379 MB / 397.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.02131, allocations: 156.5 kB / 398.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.02145, allocations: 82.78 kB / 398.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.02149, allocations: 32.5 kB / 398.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.0215, allocations: 0 / 398.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of Templates: time 0.008759/0.03026, allocations: 7.583 MB / 405.7 MB, free: 6.516 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.493414768949151]