Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.001562/0.001562, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001398/0.001398, allocations: 164.7 kB / 24.99 MB, free: 8.797 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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3065/0.3065, allocations: 34.26 MB / 296 MB, free: 0.7891 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 378.1 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.474e-05, allocations: 2.312 kB / 378.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004009/0.004044, allocations: 2.071 MB / 380.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.006071, allocations: 1.122 MB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.006217, allocations: 4 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.006546, allocations: 51.62 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.006815, allocations: 99.31 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.007519, allocations: 175.3 kB / 381.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000479/0.007998, allocations: 342.3 kB / 381.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.054e-05/0.008068, allocations: 8.938 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.008406, allocations: 159.4 kB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.008609, allocations: 123.6 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.008643, allocations: 8 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.008993, allocations: 155.7 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.009102, allocations: 75.62 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.009215, allocations: 79.7 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.009814, allocations: 370.6 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.009817, allocations: 0 / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.009819, allocations: 0 / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.009827, allocations: 0 / 382.9 MB, free: 14.14 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001064/0.01089, allocations: 0.6518 MB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.01094, allocations: 8.031 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/0.01132, allocations: 84.66 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.01167, allocations: 200.1 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.0117, allocations: 21.03 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.01175, allocations: 32.11 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.01231, allocations: 302.8 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.01233, allocations: 3.938 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.01236, allocations: 19.98 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.01241, allocations: 16.66 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.0127, allocations: 107.8 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.01416, allocations: 1.086 MB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.01446, allocations: 145.2 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.01457, allocations: 50.98 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.01462, allocations: 4 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.01466, allocations: 41.39 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.256e-06/0.01466, allocations: 4 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005046/0.01517, allocations: 149.3 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.01523, allocations: 106.8 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.01551, allocations: 304.2 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.01553, allocations: 25.7 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.01574, allocations: 266.9 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.01579, allocations: 47.59 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.01591, allocations: 75.58 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.01608, allocations: 0.504 MB / 387.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.01619, allocations: 32.47 kB / 387.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.01639, allocations: 203.2 kB / 387.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.01673, allocations: 250.1 kB / 387.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.01673, allocations: 4 kB / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004587/0.01719, allocations: 229 kB / 387.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.01721, allocations: 11.98 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-05/0.01726, allocations: 24 kB / 387.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.01728, allocations: 8 kB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.01748, allocations: 43.91 kB / 387.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.01749, allocations: 4.531 kB / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.01768, allocations: 43.77 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.01771, allocations: 12 kB / 387.9 MB, free: 8.641 MB / 362.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_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].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 0.0001548/0.01786, allocations: 187.4 kB / 388.1 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.01796, allocations: 27.86 kB / 388.1 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.01833, allocations: 167.4 kB / 388.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.01834, allocations: 4 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01835, allocations: 0 / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01835, allocations: 4 kB / 388.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.01879, allocations: 248.4 kB / 388.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.513e-05/0.01882, allocations: 23.98 kB / 388.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.01892, allocations: 15.98 kB / 388.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01892, allocations: 0 / 388.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.01894, allocations: 8 kB / 388.6 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.01895, allocations: 4 kB / 388.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01895, allocations: 0 / 388.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.01938, allocations: 0.5135 MB / 389.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.01942, allocations: 15.91 kB / 389.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.01945, allocations: 4 kB / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.01965, allocations: 15.98 kB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.01974, allocations: 15.98 kB / 389.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.01975, allocations: 11.98 kB / 389.2 MB, free: 7.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.01991, allocations: 193.1 kB / 389.4 MB, free: 7.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01991, allocations: 0 / 389.4 MB, free: 7.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006802/0.02059, allocations: 115.6 kB / 389.5 MB, free: 7.023 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 (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.0003546/0.02095, allocations: 159 kB / 389.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004476/0.02139, allocations: 282.5 kB / 389.9 MB, free: 6.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.0214, allocations: 4.125 kB / 389.9 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.02158, allocations: 213.8 kB / 390.1 MB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.02217, allocations: 32.48 kB / 390.1 MB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.02343, allocations: 0.53 MB / 390.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.193e-05/0.02352, allocations: 111.9 kB / 390.8 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.394e-05/0.02361, allocations: 37.59 kB / 390.8 MB, free: 5.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.02366, allocations: 32.42 kB / 390.9 MB, free: 5.477 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02366, allocations: 0 / 390.9 MB, free: 5.477 MB / 362.7 MB Notification: Performance of Templates: time 0.006701/0.03036, allocations: 4.326 MB / 395.2 MB, free: 1.238 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.480577629059553]