Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.0009445/0.0009445, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009937/0.0009937, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.019/1.019, 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.242/0.242, allocations: 32.81 MB / 294.6 MB, free: 1.191 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.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|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,]+.|Re|Pr.[0-9,]+.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|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,]+.|Re|Pr.[0-9,]+.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 3.938 kB / 323.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.498e-05, allocations: 4.797 kB / 323.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.00245/0.002475, allocations: 2.154 MB / 325.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.003938, allocations: 1.207 MB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.004049, allocations: 4 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.004297, allocations: 63.53 kB / 326.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.004502, allocations: 103.3 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.005011, allocations: 199.1 kB / 327 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000389/0.0054, allocations: 457.7 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.982e-05/0.00546, allocations: 22.89 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.005738, allocations: 207.2 kB / 327.7 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.005903, allocations: 151.5 kB / 327.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.005929, allocations: 12 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.006154, allocations: 135.7 kB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.009e-05/0.006244, allocations: 95.48 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.006346, allocations: 107.6 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.006794, allocations: 442.3 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.006797, allocations: 0 / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006798, allocations: 0 / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.006803, allocations: 0 / 328.6 MB, free: 4.355 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0007263/0.00753, allocations: 0.5983 MB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.007564, allocations: 8.031 kB / 329.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.007781, allocations: 88.86 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.008014, allocations: 201.7 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.008042, allocations: 29.38 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.008078, allocations: 40.38 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.008467, allocations: 363.8 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.00848, allocations: 192 / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.008501, allocations: 16.38 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/0.008538, allocations: 28.88 kB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.008719, allocations: 140.6 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009731/0.009692, allocations: 0.9172 MB / 331 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.009848, allocations: 157.3 kB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.009901, allocations: 38.52 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.009936, allocations: 11.92 kB / 331.2 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.009965, allocations: 38.56 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.009967, allocations: 0 / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002881/0.01026, allocations: 103.8 kB / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.01032, allocations: 114.7 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.01044, allocations: 187.5 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.01046, allocations: 33.95 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01056, allocations: 224.1 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.0106, allocations: 55.47 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.01066, allocations: 37.69 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.01074, allocations: 338.7 kB / 332.3 MB, free: 412 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.01079, allocations: 22.81 kB / 332.3 MB, free: 388 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.01086, allocations: 57.12 kB / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.01099, allocations: 114 kB / 332.5 MB, free: 176 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01099, allocations: 4 kB / 332.5 MB, free: 172 kB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001882/0.01118, allocations: 124.8 kB / 332.6 MB, free: 36 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01119, allocations: 8 kB / 332.6 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.01123, allocations: 16 kB / 332.6 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01124, allocations: 0 / 332.6 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01134, allocations: 27.97 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01135, allocations: 4.156 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.01142, allocations: 27.88 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.01144, allocations: 7.938 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 9.084e-05/0.01153, allocations: 124.6 kB / 332.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.01157, allocations: 15.98 kB / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.01183, allocations: 170.8 kB / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.01183, allocations: 4 kB / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01184, allocations: 0 / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01184, allocations: 0 / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.0121, allocations: 177.5 kB / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/0.01214, allocations: 20 kB / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/0.01221, allocations: 19.97 kB / 333.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01221, allocations: 7.984 kB / 333.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.01222, allocations: 0 / 333.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.01223, allocations: 7.984 kB / 333.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01223, allocations: 0 / 333.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.01249, allocations: 399.8 kB / 333.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.01251, allocations: 11.91 kB / 333.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.01253, allocations: 8 kB / 333.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.01263, allocations: 7.984 kB / 333.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.01268, allocations: 19.98 kB / 333.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.0127, allocations: 11.98 kB / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.01274, allocations: 53.72 kB / 333.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01274, allocations: 0 / 333.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.01311, allocations: 143.4 kB / 333.9 MB, free: 14.71 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002251/0.01333, allocations: 140.1 kB / 334 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.01361, allocations: 327.9 kB / 334.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.01362, allocations: 8 kB / 334.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.01375, allocations: 280.4 kB / 334.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.01406, allocations: 37.11 kB / 334.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.0152, allocations: 0.6752 MB / 335.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.565e-05/0.01529, allocations: 127.8 kB / 335.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.297e-05/0.01534, allocations: 9.484 kB / 335.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.01553, allocations: 123.3 kB / 335.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01553, allocations: 4 kB / 335.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of Templates: time 0.007373/0.0229, allocations: 5.025 MB / 340.6 MB, free: 7.898 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/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.3618720723316073]