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.001064/0.001064, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001499/0.002563, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008429/0.0008429, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.001945, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.06/1.06, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1094/1.169, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2779/0.2779, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03873/0.3166, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.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.432e-06/1.432e-06, allocations: 3.938 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.677e-05, allocations: 5.188 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002334/0.00235, allocations: 2.202 MB / 292.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.003665, allocations: 1.215 MB / 294 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.003761, allocations: 4 kB / 294.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.003942, allocations: 59.61 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.004135, allocations: 107.3 kB / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.004615, allocations: 187.1 kB / 294.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.005045, allocations: 473.7 kB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.005108, allocations: 18.84 kB / 294.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.005438, allocations: 223.1 kB / 295.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.005615, allocations: 155.4 kB / 295.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.005644, allocations: 16 kB / 295.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.005898, allocations: 131.8 kB / 295.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.00597, allocations: 75.67 kB / 295.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.006047, allocations: 83.75 kB / 295.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.006428, allocations: 406.4 kB / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.006438, allocations: 0 / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006439, allocations: 0 / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.006454, allocations: 0 / 295.9 MB, free: 2.945 MB / 282.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.0007216/0.007175, allocations: 0.6522 MB / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.007211, allocations: 12.02 kB / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003022/0.007513, allocations: 162 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.00777, allocations: 206.6 kB / 297 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.007796, allocations: 29.38 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.007831, allocations: 40.38 kB / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.0082, allocations: 367.8 kB / 297.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.008212, allocations: 4.125 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.008241, allocations: 16.38 kB / 297.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.008275, allocations: 24.94 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.008443, allocations: 152.5 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.009301, allocations: 0.9134 MB / 298.5 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.009462, allocations: 165.2 kB / 298.7 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.00951, allocations: 30.58 kB / 298.7 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.009542, allocations: 15.92 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.009571, allocations: 34.56 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.009573, allocations: 0 / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002517/0.009824, allocations: 119.9 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.009865, allocations: 107 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.009974, allocations: 193.2 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.00999, allocations: 25.7 kB / 299.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.01007, allocations: 220 kB / 299.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.0101, allocations: 55.47 kB / 299.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.01016, allocations: 41.69 kB / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.01024, allocations: 334.7 kB / 299.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.01029, allocations: 22.81 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.01035, allocations: 61.69 kB / 299.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.01048, allocations: 111.1 kB / 300 MB, free: 14.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01048, allocations: 4 kB / 300 MB, free: 14.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001632/0.01065, allocations: 123 kB / 300.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.01066, allocations: 9.719 kB / 300.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.01069, allocations: 15.98 kB / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.0107, allocations: 0 / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.0108, allocations: 32.12 kB / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.01081, allocations: 4 kB / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.01087, allocations: 23.94 kB / 300.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.01089, allocations: 11.94 kB / 300.2 MB, free: 14.38 MB / 298.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.943e-05/0.01097, allocations: 124.5 kB / 300.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.01101, allocations: 11.98 kB / 300.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.01124, allocations: 170.7 kB / 300.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.01125, allocations: 4 kB / 300.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01125, allocations: 0 / 300.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01125, allocations: 4 kB / 300.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.01149, allocations: 181.6 kB / 300.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.883e-05/0.01152, allocations: 19.98 kB / 300.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.01158, allocations: 19.98 kB / 300.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.0116, allocations: 15.84 kB / 300.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.0116, allocations: 4 kB / 300.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01161, allocations: 7.984 kB / 300.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01161, allocations: 0 / 300.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01161, allocations: 4 kB / 300.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.01182, allocations: 386.6 kB / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.01185, allocations: 11.98 kB / 301.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.01194, allocations: 12 kB / 301.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.01199, allocations: 19.97 kB / 301.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.012, allocations: 4 kB / 301.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.781e-05/0.01205, allocations: 65.97 kB / 301.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01205, allocations: 0 / 301.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.01235, allocations: 135.5 kB / 301.4 MB, free: 13.14 MB / 298.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.0002037/0.01256, allocations: 148.2 kB / 301.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.0128, allocations: 321.5 kB / 301.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.01281, allocations: 4.312 kB / 301.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.01294, allocations: 285.2 kB / 302.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.01325, allocations: 55.22 kB / 302.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.0158, allocations: 0.7025 MB / 302.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.048e-05/0.01588, allocations: 131.8 kB / 303 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.01593, allocations: 5.5 kB / 303 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.01611, allocations: 127.3 kB / 303.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01611, allocations: 0 / 303.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of Templates: time 0.006592/0.02271, allocations: 5.091 MB / 308.3 MB, free: 6.211 MB / 298.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 -ignoreHideResult -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.1080262484028935]