Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.0009792/0.0009792, allocations: 80.8 kB / 21.49 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.001148/0.001148, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.266/0.266, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow.[0-9,]+.|kc_OUT_1.[0-9,]+.|Re.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow.[0-9,]+.|kc_OUT_1.[0-9,]+.|Re.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.315e-05, allocations: 10.31 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002349/0.002372, allocations: 1.898 MB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009442/0.003316, allocations: 0.8145 MB / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.003364, allocations: 4 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.003572, allocations: 43.75 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.00379, allocations: 75.56 kB / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.003956, allocations: 79.61 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.004149, allocations: 151.3 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.004187, allocations: 9.953 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.004351, allocations: 87.66 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.004448, allocations: 71.8 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004462, allocations: 4 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.004582, allocations: 63.83 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.004634, allocations: 43.84 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.004676, allocations: 36.36 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.004872, allocations: 171.3 kB / 328.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.522e-06/0.004874, allocations: 0 / 328.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004875, allocations: 0 / 328.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.004878, allocations: 0 / 328.9 MB, free: 4.051 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0003808/0.005259, allocations: 345.6 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.005288, allocations: 12.03 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.005321, allocations: 16.92 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.005438, allocations: 141.5 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.005446, allocations: 4.375 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.005458, allocations: 8.375 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.005606, allocations: 114.2 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.005615, allocations: 11.88 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.005623, allocations: 0 / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.005654, allocations: 11.98 kB / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/0.00572, allocations: 52.47 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.006083, allocations: 301.4 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.006181, allocations: 108 kB / 330 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.006205, allocations: 8.859 kB / 330 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.006221, allocations: 4 kB / 330 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.006242, allocations: 34.55 kB / 330 MB, free: 2.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.006244, allocations: 7.984 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001373/0.006381, allocations: 73.55 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.006405, allocations: 51.41 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.006478, allocations: 134.6 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.00649, allocations: 29.7 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.006528, allocations: 112.9 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.006554, allocations: 35.72 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.006594, allocations: 25.7 kB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.006667, allocations: 322.8 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.00669, allocations: 22.75 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.00672, allocations: 23.56 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.984e-05/0.00678, allocations: 56.12 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006781, allocations: 0 / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.474e-05/0.006866, allocations: 76.44 kB / 331 MB, free: 1.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.006877, allocations: 8 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006881, allocations: 3.938 kB / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.00689, allocations: 0 / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.007045, allocations: 35.97 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003909/0.007436, allocations: 1.199 MB / 332.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.007474, allocations: 4 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.007482, allocations: 4.188 kB / 332.2 MB, free: 472 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.007549, allocations: 120.6 kB / 332.3 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.007577, allocations: 15.92 kB / 332.3 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.007697, allocations: 90.72 kB / 332.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.0077, allocations: 7.984 kB / 332.4 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.007701, allocations: 0 / 332.4 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007704, allocations: 3.938 kB / 332.4 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.936e-05/0.007803, allocations: 89.86 kB / 332.5 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.007804, allocations: 0 / 332.5 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.007909, allocations: 39.97 kB / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007912, allocations: 4 kB / 332.6 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.00792, allocations: 4 kB / 332.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003766/0.008296, allocations: 1.19 MB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.008298, allocations: 3.984 kB / 333.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.008407, allocations: 217 kB / 334 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.008418, allocations: 7.953 kB / 334 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.00843, allocations: 0 / 334 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.008476, allocations: 8.125 kB / 334 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.008506, allocations: 7.984 kB / 334 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.008517, allocations: 4 kB / 334 MB, free: 14.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.243e-05/0.00854, allocations: 31.22 kB / 334 MB, free: 14.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00854, allocations: 0 / 334 MB, free: 14.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.008698, allocations: 51.83 kB / 334.1 MB, free: 14.47 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001417/0.00884, allocations: 112.3 kB / 334.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.008995, allocations: 66.73 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.008999, allocations: 4 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.00908, allocations: 44.78 kB / 334.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.009223, allocations: 27.28 kB / 334.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.009718, allocations: 314.9 kB / 334.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.009761, allocations: 83.25 kB / 334.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.009795, allocations: 4.484 kB / 334.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.009859, allocations: 71.34 kB / 334.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.00986, allocations: 4 kB / 334.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003793/0.01365, allocations: 2.48 MB / 337.3 MB, free: 11.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_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: 2.886318280827254]