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_KC.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.0008825/0.0008825, 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.001211/0.001211, allocations: 173.9 kB / 24.92 MB, free: 9.18 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.9462/0.9462, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2787/0.2787, allocations: 32.8 MB / 294.6 MB, free: 1.238 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_KC,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,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,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,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.883e-05, allocations: 7.516 kB / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.00344/0.003469, allocations: 2.062 MB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.004847, allocations: 0.9156 MB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.004951, allocations: 4 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.005287, allocations: 67.53 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.005657, allocations: 131.2 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.005911, allocations: 87.66 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.00628, allocations: 421.8 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.006338, allocations: 18.89 kB / 327 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.006619, allocations: 191.3 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.006807, allocations: 163.4 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.00683, allocations: 11.98 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.006985, allocations: 71.83 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.788e-05/0.007073, allocations: 103.5 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.846e-05/0.007151, allocations: 103.6 kB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.007484, allocations: 378.4 kB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.007488, allocations: 4 kB / 328 MB, free: 4.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007489, allocations: 0 / 328 MB, free: 4.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.007494, allocations: 0 / 328 MB, free: 4.953 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006138/0.008108, allocations: 0.5439 MB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.008143, allocations: 12.03 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.008215, allocations: 56.88 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.008403, allocations: 187.7 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.008427, allocations: 33.36 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.00847, allocations: 36.38 kB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.008796, allocations: 310.5 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.008806, allocations: 192 / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.008829, allocations: 20.36 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.008876, allocations: 48.89 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.00906, allocations: 162.9 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/0.009866, allocations: 0.7145 MB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.01007, allocations: 163 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.01014, allocations: 32.84 kB / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.01016, allocations: 8 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.01019, allocations: 38.56 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.01019, allocations: 0 / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003036/0.0105, allocations: 125.5 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.01053, allocations: 55.41 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.01063, allocations: 142.6 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01065, allocations: 25.7 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.01075, allocations: 212.4 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.01082, allocations: 75.31 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.134e-05/0.0109, allocations: 45.67 kB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.01101, allocations: 334.7 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.01107, allocations: 22.81 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.01113, allocations: 26.98 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.01127, allocations: 74.44 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01128, allocations: 3.938 kB / 331.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002035/0.01148, allocations: 108.8 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01149, allocations: 4 kB / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.0115, allocations: 0 / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01151, allocations: 7.938 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.012, allocations: 107.9 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.01403, allocations: 5.359 MB / 337 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.01412, allocations: 15.89 kB / 337 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.01414, allocations: 8 kB / 337 MB, free: 11.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.01426, allocations: 128.5 kB / 337.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.01431, allocations: 15.98 kB / 337.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.01462, allocations: 182.7 kB / 337.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01463, allocations: 7.875 kB / 337.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.01463, allocations: 3.984 kB / 337.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01463, allocations: 64 / 337.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.01487, allocations: 173.7 kB / 337.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01487, allocations: 0 / 337.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.01531, allocations: 119.9 kB / 337.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.01531, allocations: 0 / 337.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.01533, allocations: 7.984 kB / 337.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.01721, allocations: 5.35 MB / 343 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01721, allocations: 0 / 343 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.01746, allocations: 257.3 kB / 343.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.01748, allocations: 23.84 kB / 343.3 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.01751, allocations: 4 kB / 343.3 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.0176, allocations: 11.98 kB / 343.3 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.01766, allocations: 19.91 kB / 343.3 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.01768, allocations: 8 kB / 343.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.24e-05/0.01771, allocations: 35.86 kB / 343.4 MB, free: 4.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01771, allocations: 0 / 343.4 MB, free: 4.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003354/0.01805, allocations: 127.6 kB / 343.5 MB, free: 4.746 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.01825, allocations: 125.2 kB / 343.6 MB, free: 4.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005572/0.01881, allocations: 179.8 kB / 343.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.01881, allocations: 8 kB / 343.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.01924, allocations: 148.6 kB / 343.9 MB, free: 4.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.01948, allocations: 31.95 kB / 344 MB, free: 4.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.02052, allocations: 0.6559 MB / 344.6 MB, free: 3.566 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.366e-05/0.02061, allocations: 135.9 kB / 344.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.621e-05/0.02069, allocations: 17.48 kB / 344.8 MB, free: 3.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.02079, allocations: 83.28 kB / 344.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02079, allocations: 0 / 344.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of Templates: time 0.008317/0.02911, allocations: 5.394 MB / 350.2 MB, free: 14.02 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_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/kc_turbulent_KC.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.3162365639582276]