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_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.001077/0.001077, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001211/0.001211, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9779/0.9779, allocations: 177.1 MB / 206.1 MB, free: 4.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.1685/0.1685, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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_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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.912e-05, allocations: 2.312 kB / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002138/0.002157, allocations: 2.047 MB / 379.4 MB, free: 23.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003443, allocations: 1.114 MB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.003582, allocations: 7.938 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.003828, allocations: 51.67 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.004002, allocations: 91.38 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.004468, allocations: 183.2 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.004724, allocations: 342.2 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.004774, allocations: 8.938 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.004974, allocations: 155.5 kB / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.005099, allocations: 123.6 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.00512, allocations: 8 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.005338, allocations: 155.7 kB / 381.6 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.005401, allocations: 79.67 kB / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.005461, allocations: 79.72 kB / 381.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.005773, allocations: 366.6 kB / 382.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005775, allocations: 0 / 382.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005776, allocations: 0 / 382.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.00578, allocations: 0 / 382.1 MB, free: 20.74 MB / 314.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.0005306/0.006311, allocations: 0.6556 MB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.006343, allocations: 11.98 kB / 382.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.00656, allocations: 80.72 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.006735, allocations: 196 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.006752, allocations: 21.03 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.006775, allocations: 28.12 kB / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.007038, allocations: 290.7 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.007049, allocations: 8 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.007064, allocations: 11.94 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.007094, allocations: 20.64 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.0072, allocations: 84.47 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.007876, allocations: 1.016 MB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.008018, allocations: 141.3 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.008059, allocations: 39.05 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.008084, allocations: 11.94 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.008102, allocations: 45.33 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.008103, allocations: 0 / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002597/0.008363, allocations: 136 kB / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.008394, allocations: 102.8 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.008527, allocations: 308 kB / 385.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.00854, allocations: 29.7 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.008608, allocations: 262.9 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.008634, allocations: 47.58 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.008698, allocations: 71.56 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.008754, allocations: 0.512 MB / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.008794, allocations: 28.16 kB / 386.2 MB, free: 16.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.008881, allocations: 199.8 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.009041, allocations: 238.1 kB / 386.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009044, allocations: 0 / 386.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002248/0.009269, allocations: 217.1 kB / 386.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.00928, allocations: 4 kB / 386.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.009307, allocations: 27.98 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.009318, allocations: 4 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.009414, allocations: 40.44 kB / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.009422, allocations: 8 kB / 386.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.323e-05/0.009516, allocations: 39.78 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.009532, allocations: 15.98 kB / 387 MB, free: 15.41 MB / 314.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_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].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 7.842e-05/0.00961, allocations: 180.4 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.00966, allocations: 27.8 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.009858, allocations: 163.3 kB / 387.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.009862, allocations: 4 kB / 387.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.009865, allocations: 0 / 387.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.00987, allocations: 8 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.01009, allocations: 185.1 kB / 387.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.01011, allocations: 27.92 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.01016, allocations: 15.98 kB / 387.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01016, allocations: 0 / 387.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.01017, allocations: 4 kB / 387.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01017, allocations: 3.938 kB / 387.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01018, allocations: 4 kB / 387.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.01037, allocations: 0.4919 MB / 388.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.0104, allocations: 27.73 kB / 388.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.01042, allocations: 4 kB / 388.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.01051, allocations: 11.98 kB / 388.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.01056, allocations: 15.98 kB / 388.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.01057, allocations: 11.98 kB / 388.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.096e-05/0.01062, allocations: 185.1 kB / 388.3 MB, free: 14 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01062, allocations: 3.938 kB / 388.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.01094, allocations: 115.6 kB / 388.4 MB, free: 13.88 MB / 314.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.0001729/0.01111, allocations: 163 kB / 388.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.01132, allocations: 282.5 kB / 388.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.01132, allocations: 4 kB / 388.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.0114, allocations: 205.8 kB / 389.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.0117, allocations: 36.41 kB / 389.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007392/0.01244, allocations: 0.5285 MB / 389.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.295e-05/0.0125, allocations: 111.8 kB / 389.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.433e-05/0.01255, allocations: 17.64 kB / 389.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.01268, allocations: 142.2 kB / 389.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01268, allocations: 0 / 389.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of Templates: time 0.005734/0.01841, allocations: 4.834 MB / 394.8 MB, free: 7.523 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3707758877426386]