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.0009989/0.0009989, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001104/0.001104, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9897/0.9897, allocations: 177.1 MB / 205 MB, free: 5.586 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.2493/0.2493, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.793e-06/1.793e-06, allocations: 0 / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.317e-05, allocations: 6.25 kB / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.0044/0.004433, allocations: 2.071 MB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.006252, allocations: 1.133 MB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.006399, allocations: 0 / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.006743, allocations: 51.62 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.007011, allocations: 87.45 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.007783, allocations: 191.1 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.008268, allocations: 330.4 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.552e-05/0.008333, allocations: 20.86 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.008673, allocations: 151.5 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.008867, allocations: 123.5 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.008895, allocations: 8 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.009215, allocations: 147.8 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.009328, allocations: 83.61 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.009433, allocations: 79.72 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.009976, allocations: 366.6 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.009982, allocations: 11.92 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.009984, allocations: 3.938 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.00999, allocations: 0 / 382.9 MB, free: 13.75 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.0008661/0.01086, allocations: 0.644 MB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.0109, allocations: 12.03 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.01118, allocations: 80.72 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.01145, allocations: 196.1 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.01147, allocations: 21.03 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.01151, allocations: 32.11 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.01197, allocations: 298.8 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01198, allocations: 4 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.012, allocations: 8 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.01205, allocations: 24.64 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.01225, allocations: 107.8 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01344, allocations: 1.094 MB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.01367, allocations: 149.2 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.01375, allocations: 46.94 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.01379, allocations: 7.984 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.01382, allocations: 41.39 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.01382, allocations: 3.938 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003961/0.01422, allocations: 141.7 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.01427, allocations: 106.8 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.01453, allocations: 308.2 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.01455, allocations: 25.7 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.01469, allocations: 262.9 kB / 386.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.01474, allocations: 55.58 kB / 386.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.01484, allocations: 67.59 kB / 386.6 MB, free: 9.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.015, allocations: 0.5117 MB / 387.1 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.01509, allocations: 24.22 kB / 387.1 MB, free: 9.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.01526, allocations: 207.2 kB / 387.3 MB, free: 8.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.01554, allocations: 254.1 kB / 387.6 MB, free: 8.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01554, allocations: 0 / 387.6 MB, free: 8.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003744/0.01592, allocations: 233.5 kB / 387.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.01594, allocations: 8 kB / 387.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.749e-05/0.01597, allocations: 23.98 kB / 387.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.01599, allocations: 8 kB / 387.8 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01614, allocations: 39.91 kB / 387.9 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.01615, allocations: 7.938 kB / 387.9 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.01629, allocations: 39.77 kB / 387.9 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.01632, allocations: 20 kB / 388 MB, free: 8.25 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.000123/0.01644, allocations: 183.6 kB / 388.1 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.01652, allocations: 23.86 kB / 388.2 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.01683, allocations: 167.7 kB / 388.3 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.01683, allocations: 7.938 kB / 388.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01684, allocations: 0 / 388.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01684, allocations: 7.984 kB / 388.3 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.0172, allocations: 240.5 kB / 388.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.01723, allocations: 20 kB / 388.6 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.01731, allocations: 19.98 kB / 388.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.01731, allocations: 3.984 kB / 388.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01733, allocations: 12 kB / 388.6 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01733, allocations: 0 / 388.6 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01734, allocations: 3.984 kB / 388.6 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.0177, allocations: 0.5128 MB / 389.1 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.01773, allocations: 15.89 kB / 389.2 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.01776, allocations: 8 kB / 389.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.01792, allocations: 8 kB / 389.2 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.01798, allocations: 15.97 kB / 389.2 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.018, allocations: 12 kB / 389.2 MB, free: 6.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.01812, allocations: 197.1 kB / 389.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01812, allocations: 0 / 389.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005457/0.01866, allocations: 111.7 kB / 389.5 MB, free: 6.641 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.0002761/0.01894, allocations: 159.1 kB / 389.7 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.01929, allocations: 289.5 kB / 389.9 MB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01929, allocations: 0 / 389.9 MB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.01943, allocations: 210.9 kB / 390.1 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.01991, allocations: 48.53 kB / 390.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.02109, allocations: 0.5217 MB / 390.7 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.02119, allocations: 107.9 kB / 390.8 MB, free: 5.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.02129, allocations: 41.58 kB / 390.9 MB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.02135, allocations: 24.5 kB / 390.9 MB, free: 5.094 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02135, allocations: 0 / 390.9 MB, free: 5.094 MB / 362.7 MB Notification: Performance of Templates: time 0.007379/0.02872, allocations: 4.337 MB / 395.2 MB, free: 0.8477 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.2574408669024706]