Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001034/0.001034, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001229/0.001229, allocations: 170 kB / 24.91 MB, free: 9.207 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.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.253/0.253, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.194e-05, allocations: 2.312 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002281/0.002293, allocations: 2.212 MB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.003607, allocations: 1.212 MB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.209e-05/0.003679, allocations: 4 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.003886, allocations: 55.61 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.004061, allocations: 107.2 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.004382, allocations: 191.2 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.004719, allocations: 457.7 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.00477, allocations: 22.91 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.004993, allocations: 203.2 kB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.005142, allocations: 159.5 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.005166, allocations: 12 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.005367, allocations: 135.7 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.005445, allocations: 103.5 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.005523, allocations: 107.5 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.005874, allocations: 438.3 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.005875, allocations: 0 / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005875, allocations: 0 / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.005879, allocations: 0 / 330.7 MB, free: 2.211 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.0005633/0.006442, allocations: 0.5946 MB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.006471, allocations: 8.031 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.006683, allocations: 92.86 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.006874, allocations: 197.8 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.006894, allocations: 33.31 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.006924, allocations: 36.38 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.007271, allocations: 359.9 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.007281, allocations: 192 / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.007304, allocations: 20.36 kB / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.007333, allocations: 28.92 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.007501, allocations: 140.5 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.008299, allocations: 0.9173 MB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.008455, allocations: 161.3 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.008509, allocations: 38.61 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.008538, allocations: 15.88 kB / 333.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.008556, allocations: 34.56 kB / 333.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.008558, allocations: 0 / 333.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002458/0.008803, allocations: 109.6 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.008841, allocations: 111 kB / 333.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.008941, allocations: 191.5 kB / 333.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.008958, allocations: 29.7 kB / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.009035, allocations: 224.1 kB / 334 MB, free: 14.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.009065, allocations: 55.47 kB / 334.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.009121, allocations: 37.69 kB / 334.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.009194, allocations: 334.7 kB / 334.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.009243, allocations: 22.81 kB / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.009308, allocations: 64.31 kB / 334.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.009446, allocations: 110 kB / 334.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.009448, allocations: 0 / 334.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001672/0.009615, allocations: 129.8 kB / 334.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.009624, allocations: 4 kB / 334.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.009657, allocations: 19.98 kB / 334.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.009666, allocations: 0 / 334.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.009752, allocations: 28.14 kB / 334.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.009756, allocations: 4 kB / 334.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.009823, allocations: 27.81 kB / 334.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.00984, allocations: 11.94 kB / 334.8 MB, free: 13.8 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 7.648e-05/0.009916, allocations: 124.6 kB / 334.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.009965, allocations: 12 kB / 335 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.0102, allocations: 166.8 kB / 335.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.0102, allocations: 4 kB / 335.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.0102, allocations: 4 kB / 335.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01021, allocations: 7.984 kB / 335.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.01045, allocations: 169.6 kB / 335.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-05/0.01049, allocations: 23.98 kB / 335.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.01054, allocations: 19.92 kB / 335.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01054, allocations: 0 / 335.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01055, allocations: 11.98 kB / 335.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01055, allocations: 0 / 335.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01056, allocations: 0 / 335.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.0108, allocations: 385.7 kB / 335.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.01082, allocations: 19.89 kB / 335.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.01084, allocations: 8 kB / 335.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.01094, allocations: 8 kB / 335.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.01099, allocations: 19.91 kB / 335.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.01101, allocations: 8 kB / 335.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.01105, allocations: 65.7 kB / 335.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01105, allocations: 0 / 335.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.01135, allocations: 139.4 kB / 336 MB, free: 12.57 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.000181/0.01153, allocations: 136.2 kB / 336.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.0118, allocations: 330.6 kB / 336.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.0118, allocations: 4.312 kB / 336.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.01195, allocations: 286 kB / 336.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.01224, allocations: 35.97 kB / 336.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.01315, allocations: 0.6746 MB / 337.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.497e-05/0.01322, allocations: 123.8 kB / 337.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.037e-05/0.01327, allocations: 13.48 kB / 337.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.01344, allocations: 127.3 kB / 337.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01344, allocations: 4 kB / 337.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of Templates: time 0.006019/0.01946, allocations: 5.014 MB / 342.7 MB, free: 5.754 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.8812702489085495]