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.0009739/0.0009739, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00099/0.00099, allocations: 174.3 kB / 24.92 MB, free: 8.77 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.9886/0.9886, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2975/0.2975, allocations: 32.8 MB / 294.6 MB, free: 1.211 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_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.173e-06/1.173e-06, allocations: 0 / 323.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.552e-05, allocations: 4.172 kB / 323.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002594/0.002619, allocations: 2.071 MB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.004469, allocations: 1.121 MB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.004645, allocations: 7.938 kB / 326.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.004925, allocations: 55.67 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.005138, allocations: 95.31 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.005714, allocations: 179.3 kB / 326.8 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.006039, allocations: 350.3 kB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.006094, allocations: 23.45 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.006351, allocations: 151.5 kB / 327.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.006506, allocations: 119.6 kB / 327.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.00653, allocations: 8 kB / 327.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.006812, allocations: 151.7 kB / 327.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.904e-05/0.006901, allocations: 83.62 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.547e-05/0.006976, allocations: 75.7 kB / 327.7 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.007413, allocations: 374.6 kB / 328.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.007417, allocations: 3.984 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.007419, allocations: 0 / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.007424, allocations: 0 / 328.1 MB, free: 4.859 MB / 298.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.0006355/0.00806, allocations: 0.497 MB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.008093, allocations: 8.031 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.00832, allocations: 84.86 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.008527, allocations: 169.3 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.008547, allocations: 24.97 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.008577, allocations: 28.12 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.008896, allocations: 294.2 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.008907, allocations: 0 / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.008925, allocations: 12 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.008956, allocations: 16.64 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.009086, allocations: 110.2 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007639/0.00985, allocations: 0.7556 MB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.01002, allocations: 160.1 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.01006, allocations: 26.58 kB / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.01009, allocations: 15.92 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.01012, allocations: 38.5 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.01012, allocations: 0 / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002379/0.01036, allocations: 98.84 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.0104, allocations: 106.8 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.01054, allocations: 232.9 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.01055, allocations: 29.7 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.01063, allocations: 192.2 kB / 331 MB, free: 1.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.01066, allocations: 47.62 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.01072, allocations: 65.84 kB / 331.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.01081, allocations: 330.8 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.01086, allocations: 23.75 kB / 331.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/0.01095, allocations: 136.4 kB / 331.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.01112, allocations: 210.2 kB / 331.7 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01112, allocations: 4 kB / 331.8 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002105/0.01134, allocations: 187 kB / 331.9 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.01135, allocations: 4 kB / 331.9 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.01138, allocations: 16 kB / 332 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01139, allocations: 7.984 kB / 332 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.01151, allocations: 39.91 kB / 332 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.01151, allocations: 11.94 kB / 332 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/0.01161, allocations: 35.77 kB / 332 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.01164, allocations: 19.98 kB / 332.1 MB, free: 0.5273 MB / 298.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 0.0001083/0.01174, allocations: 136.6 kB / 332.2 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.01179, allocations: 15.98 kB / 332.2 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.01199, allocations: 131.4 kB / 332.3 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.012, allocations: 3.984 kB / 332.3 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.012, allocations: 4 kB / 332.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.012, allocations: 0 / 332.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.01223, allocations: 145.7 kB / 332.5 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.01225, allocations: 8 kB / 332.5 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.01231, allocations: 23.92 kB / 332.5 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01231, allocations: 4 kB / 332.5 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01232, allocations: 3.984 kB / 332.5 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.01233, allocations: 4 kB / 332.5 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01233, allocations: 0 / 332.5 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.01255, allocations: 378.1 kB / 332.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.01258, allocations: 19.8 kB / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.0126, allocations: 4 kB / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.0127, allocations: 11.98 kB / 332.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.01274, allocations: 11.98 kB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01276, allocations: 11.98 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.01281, allocations: 74.72 kB / 333 MB, free: 15.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01281, allocations: 0 / 333 MB, free: 15.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.01315, allocations: 111.7 kB / 333.1 MB, free: 15.39 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.0002276/0.01337, allocations: 148.2 kB / 333.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.01361, allocations: 256.1 kB / 333.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.01362, allocations: 8 kB / 333.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.76e-05/0.01371, allocations: 191.1 kB / 333.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.014, allocations: 52.45 kB / 333.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.01507, allocations: 0.5177 MB / 334.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.255e-05/0.01517, allocations: 103.9 kB / 334.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.466e-05/0.01525, allocations: 21.62 kB / 334.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.01544, allocations: 111.3 kB / 334.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01544, allocations: 0 / 334.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of Templates: time 0.01705/0.03248, allocations: 4.596 MB / 339.1 MB, free: 9.348 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.143051507882774]