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.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.00146/0.00146, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001672/0.001672, allocations: 166.7 kB / 25.61 MB, free: 8.445 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.9309/0.9309, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.1462/0.1462, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_2.[0-9,]+.|Nu_2.[0-9,]+.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_2.[0-9,]+.|Nu_2.[0-9,]+.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 3.984 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.284e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.005471/0.005494, allocations: 1.941 MB / 379.2 MB, free: 23.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.006838, allocations: 1.129 MB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.00693, allocations: 0 / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.00717, allocations: 39.75 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.007338, allocations: 75.47 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.01079, allocations: 191.1 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.01102, allocations: 230.9 kB / 380.9 MB, free: 21.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.01107, allocations: 13.73 kB / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.01123, allocations: 111.7 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.01134, allocations: 95.69 kB / 381.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.01135, allocations: 8 kB / 381.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.01154, allocations: 139.7 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.01161, allocations: 59.77 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.01166, allocations: 55.78 kB / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.01193, allocations: 298.9 kB / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.01193, allocations: 0 / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01194, allocations: 0 / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.01194, allocations: 0 / 381.7 MB, free: 21.18 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000475/0.01242, allocations: 0.5733 MB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.01245, allocations: 11.98 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.01264, allocations: 64.77 kB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.01278, allocations: 169.1 kB / 382.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.01279, allocations: 20.38 kB / 382.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.01281, allocations: 12.38 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.01301, allocations: 202.1 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.01302, allocations: 3.938 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.01303, allocations: 4 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.01306, allocations: 11.98 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.01313, allocations: 52.98 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.01361, allocations: 0.7123 MB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.0138, allocations: 149.3 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.01384, allocations: 51.05 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.01386, allocations: 4 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.01388, allocations: 37.42 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.01388, allocations: 7.984 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002347/0.01411, allocations: 117.6 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.01414, allocations: 110.8 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.01421, allocations: 246.3 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.01422, allocations: 33.7 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.01427, allocations: 199 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.01429, allocations: 51.58 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.01434, allocations: 43.34 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.01438, allocations: 0.5078 MB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.01441, allocations: 11.98 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-05/0.01446, allocations: 80.28 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.1e-05/0.01456, allocations: 106.3 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01456, allocations: 4 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001488/0.01471, allocations: 129.3 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.01472, allocations: 4 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.01474, allocations: 15.98 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.01474, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.01483, allocations: 23.98 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.01483, allocations: 4.094 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.01489, allocations: 27.92 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.0149, allocations: 4 kB / 385.4 MB, free: 17.1 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: 3 (m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 6.398e-05/0.01497, allocations: 164.5 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.01501, allocations: 23.86 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.01516, allocations: 127.2 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01516, allocations: 4 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.01516, allocations: 0 / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01517, allocations: 3.984 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.01534, allocations: 161.1 kB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.01535, allocations: 16 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.01542, allocations: 19.98 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01542, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01543, allocations: 7.984 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01543, allocations: 4 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01543, allocations: 3.984 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.01558, allocations: 0.4902 MB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.0156, allocations: 15.84 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01562, allocations: 4 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.01572, allocations: 15.98 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.01576, allocations: 15.98 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01577, allocations: 7.984 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.01581, allocations: 168.1 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01581, allocations: 0 / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.01609, allocations: 83.75 kB / 386.7 MB, free: 15.71 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001746/0.01626, allocations: 170.9 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.01642, allocations: 148.7 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01642, allocations: 4 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.802e-05/0.01648, allocations: 121 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.01679, allocations: 36.09 kB / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.01742, allocations: 414.8 kB / 387.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.01747, allocations: 103.1 kB / 387.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.661e-05/0.01751, allocations: 16.64 kB / 387.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.88e-05/0.01761, allocations: 114.2 kB / 387.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01761, allocations: 0 / 387.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of Templates: time 0.004603/0.02222, allocations: 3.838 MB / 391.7 MB, free: 10.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent.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.320602096617222]