Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001022/0.001022, allocations: 80.92 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.00103/0.00103, allocations: 167.8 kB / 24.91 MB, free: 8.77 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.9717/0.9717, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.238/0.238, allocations: 32.8 MB / 294.6 MB, free: 1.176 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.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.164e-05, allocations: 5.719 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002186/0.002207, allocations: 1.885 MB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.003419, allocations: 0.8138 MB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.003475, allocations: 4 kB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.003686, allocations: 43.75 kB / 326 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.0039, allocations: 75.52 kB / 326.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.004049, allocations: 84.3 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.004191, allocations: 151.3 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.004225, allocations: 10.53 kB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.004366, allocations: 91.72 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.004463, allocations: 75.72 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.004477, allocations: 4 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.004591, allocations: 59.89 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.004641, allocations: 43.84 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.004675, allocations: 31.86 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.004869, allocations: 175.3 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004871, allocations: 0 / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004871, allocations: 0 / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004875, allocations: 0 / 326.8 MB, free: 6.062 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.0003712/0.005246, allocations: 345.4 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.005275, allocations: 12.03 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.005308, allocations: 20.86 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.00542, allocations: 141.5 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.00543, allocations: 8.359 kB / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.005441, allocations: 8.375 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.005588, allocations: 110.5 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.005598, allocations: 3.938 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.005608, allocations: 7.984 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.005635, allocations: 19.98 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.326e-05/0.005698, allocations: 48.42 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.006049, allocations: 293.5 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.00614, allocations: 108 kB / 327.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.006162, allocations: 8.859 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.006178, allocations: 4 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.006195, allocations: 34.56 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.006196, allocations: 0 / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001328/0.006329, allocations: 73.55 kB / 328.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.006353, allocations: 55.41 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.006421, allocations: 141.4 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006433, allocations: 29.7 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.006469, allocations: 112.8 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.006493, allocations: 35.72 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.006526, allocations: 21.72 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.006595, allocations: 326.8 kB / 328.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.006615, allocations: 10.83 kB / 328.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.006648, allocations: 39.53 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.136e-05/0.006709, allocations: 52.19 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006711, allocations: 4 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.938e-05/0.006801, allocations: 76.38 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.006811, allocations: 8 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006815, allocations: 3.938 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.006825, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.006975, allocations: 35.97 kB / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003774/0.007353, allocations: 1.195 MB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.00739, allocations: 12.02 kB / 330.2 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.007397, allocations: 0 / 330.2 MB, free: 2.473 MB / 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.679e-05/0.007464, allocations: 124.5 kB / 330.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.007484, allocations: 7.984 kB / 330.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.007592, allocations: 86.84 kB / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007595, allocations: 4 kB / 330.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.007596, allocations: 0 / 330.4 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.007599, allocations: 3.938 kB / 330.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.0077, allocations: 93.84 kB / 330.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.0077, allocations: 0 / 330.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.007805, allocations: 43.92 kB / 330.5 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.007806, allocations: 0 / 330.5 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.007814, allocations: 3.984 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003332/0.008147, allocations: 1.19 MB / 331.7 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008149, allocations: 3.984 kB / 331.7 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.008253, allocations: 213 kB / 332 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.008263, allocations: 7.938 kB / 332 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.008275, allocations: 12.06 kB / 332 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.008319, allocations: 4 kB / 332 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.008348, allocations: 7.984 kB / 332 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.008353, allocations: 0 / 332 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.16e-05/0.008375, allocations: 27.25 kB / 332 MB, free: 0.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008375, allocations: 0 / 332 MB, free: 0.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.008532, allocations: 55.81 kB / 332.1 MB, free: 500 kB / 298.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.0001286/0.008661, allocations: 116.2 kB / 332.2 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.008822, allocations: 64.88 kB / 332.2 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.008826, allocations: 4 kB / 332.2 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.008907, allocations: 48.77 kB / 332.3 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.009046, allocations: 28.05 kB / 332.3 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.009813, allocations: 303 kB / 332.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.009856, allocations: 83.25 kB / 332.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.634e-05/0.009893, allocations: 12.48 kB / 332.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.009957, allocations: 67.36 kB / 332.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.009957, allocations: 0 / 332.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of Templates: time 0.003891/0.01385, allocations: 2.485 MB / 335.3 MB, free: 13.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.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.8820327473804355]