Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.001025/0.001025, allocations: 82.66 kB / 21.43 MB, free: 3.07 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.0009754/0.0009754, allocations: 167.8 kB / 24.82 MB, free: 8.938 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 1.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2903/0.2903, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.12e-05, allocations: 2.312 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002474/0.002495, allocations: 2.289 MB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.004827, allocations: 2.063 MB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.004965, allocations: 8 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.005242, allocations: 71.47 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.005465, allocations: 123.2 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/0.006369, allocations: 446.1 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.006784, allocations: 0.544 MB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.006846, allocations: 29.2 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.007151, allocations: 243.1 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.007341, allocations: 175.4 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.007374, allocations: 16 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.007871, allocations: 403.2 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.149e-05/0.007963, allocations: 107.5 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.926e-05/0.008062, allocations: 131.4 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006526/0.008714, allocations: 0.7395 MB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.008716, allocations: 7.938 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.008717, allocations: 0 / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.008722, allocations: 0 / 383.9 MB, free: 12.96 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.0008784/0.009601, allocations: 0.8853 MB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.00964, allocations: 8.031 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.009891, allocations: 132.5 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.01012, allocations: 231.8 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.01015, allocations: 45.69 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.01019, allocations: 52.38 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.01067, allocations: 496.9 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.01068, allocations: 3.938 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.01071, allocations: 20 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.01074, allocations: 25.31 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.01094, allocations: 173 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.01217, allocations: 1.428 MB / 387.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.01235, allocations: 157.2 kB / 387.5 MB, free: 9.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.01241, allocations: 54.98 kB / 387.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.01245, allocations: 23.8 kB / 387.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.01248, allocations: 45.39 kB / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.01248, allocations: 0 / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003519/0.01283, allocations: 199.4 kB / 387.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.01287, allocations: 110.8 kB / 387.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.01312, allocations: 417.9 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.01314, allocations: 25.95 kB / 388.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.01331, allocations: 390.2 kB / 388.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.01336, allocations: 71.42 kB / 388.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.01348, allocations: 143.7 kB / 389 MB, free: 7.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.01362, allocations: 0.5312 MB / 389.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.0137, allocations: 40.97 kB / 389.5 MB, free: 7.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.01395, allocations: 439.7 kB / 390 MB, free: 6.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.01436, allocations: 0.5355 MB / 390.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.01436, allocations: 4 kB / 390.5 MB, free: 5.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004326/0.01479, allocations: 408.9 kB / 390.9 MB, free: 5.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01481, allocations: 8 kB / 390.9 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.864e-05/0.01486, allocations: 51.98 kB / 391 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.01487, allocations: 12.81 kB / 391 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.015, allocations: 67.83 kB / 391 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.01501, allocations: 15.94 kB / 391.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.01517, allocations: 71.48 kB / 391.1 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.0152, allocations: 36 kB / 391.2 MB, free: 5.047 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_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.0001392/0.01534, allocations: 212.3 kB / 391.4 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.0154, allocations: 31.81 kB / 391.4 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.01576, allocations: 282.4 kB / 391.7 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.01577, allocations: 4 kB / 391.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01577, allocations: 0 / 391.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.01578, allocations: 4 kB / 391.7 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.01609, allocations: 260.9 kB / 391.9 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-05/0.01613, allocations: 43.98 kB / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.01618, allocations: 19.92 kB / 392 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01618, allocations: 0 / 392 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.0162, allocations: 12 kB / 392 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.0162, allocations: 8 kB / 392 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.0162, allocations: 3.984 kB / 392 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.01653, allocations: 0.5442 MB / 392.6 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.01656, allocations: 23.81 kB / 392.6 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.01658, allocations: 4 kB / 392.6 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.01669, allocations: 15.92 kB / 392.6 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.01674, allocations: 31.84 kB / 392.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.01676, allocations: 16 kB / 392.7 MB, free: 3.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.01686, allocations: 222.9 kB / 392.9 MB, free: 3.273 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01686, allocations: 4 kB / 392.9 MB, free: 3.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004582/0.01732, allocations: 215.3 kB / 393.1 MB, free: 3.059 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.0003138/0.01763, allocations: 266.7 kB / 393.3 MB, free: 2.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.01804, allocations: 0.5337 MB / 393.9 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01804, allocations: 0 / 393.9 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.01824, allocations: 388 kB / 394.3 MB, free: 1.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.01858, allocations: 52.81 kB / 394.3 MB, free: 1.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.01975, allocations: 0.8341 MB / 395.1 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01985, allocations: 152.5 kB / 395.3 MB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.01994, allocations: 34.84 kB / 395.3 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.02016, allocations: 186.1 kB / 395.5 MB, free: 416 kB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02016, allocations: 4 kB / 395.5 MB, free: 412 kB / 362.7 MB Notification: Performance of Templates: time 0.009664/0.02983, allocations: 8.46 MB / 404 MB, free: 8.004 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.32375958096236]