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.0009969/0.0009969, 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.001105/0.001105, allocations: 168.7 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2542/0.2542, allocations: 32.8 MB / 294.6 MB, free: 1.242 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,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.783e-06/1.783e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.622e-05, allocations: 2.312 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003439/0.003465, allocations: 1.959 MB / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.005409, allocations: 1.141 MB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.00552, allocations: 0 / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.005826, allocations: 43.69 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.00606, allocations: 71.55 kB / 326.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.006672, allocations: 191.1 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.006998, allocations: 238.9 kB / 326.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.431e-05/0.007062, allocations: 19.02 kB / 326.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.007353, allocations: 115.6 kB / 327 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.00752, allocations: 87.7 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.007549, allocations: 8 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.007853, allocations: 139.7 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.007945, allocations: 67.77 kB / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.636e-05/0.008031, allocations: 59.77 kB / 327.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.008503, allocations: 290.9 kB / 327.6 MB, free: 5.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.008508, allocations: 0 / 327.6 MB, free: 5.277 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.008509, allocations: 0 / 327.6 MB, free: 5.277 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.008514, allocations: 0 / 327.6 MB, free: 5.277 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007377/0.009252, allocations: 448.6 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.009294, allocations: 12.03 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.009615, allocations: 60.88 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.009851, allocations: 158.2 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.009869, allocations: 12.38 kB / 328.3 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.009901, allocations: 20.36 kB / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.01024, allocations: 192.5 kB / 328.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01025, allocations: 3.938 kB / 328.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.01027, allocations: 8 kB / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.0103, allocations: 15.92 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.01045, allocations: 66.8 kB / 328.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.01122, allocations: 0.5139 MB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.01151, allocations: 176.1 kB / 329.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.01157, allocations: 23.56 kB / 329.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.01161, allocations: 4 kB / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.01163, allocations: 38.56 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.01164, allocations: 0 / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003095/0.01195, allocations: 93.88 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.012, allocations: 110.8 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01213, allocations: 182.9 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.01215, allocations: 25.7 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.01223, allocations: 144 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.01228, allocations: 55.52 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.01235, allocations: 33.69 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01245, allocations: 338.7 kB / 330.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.0125, allocations: 14.81 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.01258, allocations: 53.12 kB / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.01273, allocations: 93.72 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01273, allocations: 0 / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001939/0.01293, allocations: 100.4 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01294, allocations: 7.938 kB / 330.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.01297, allocations: 11.97 kB / 330.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01298, allocations: 4.156 kB / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.0131, allocations: 23.98 kB / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01311, allocations: 4 kB / 330.6 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.01321, allocations: 23.88 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.01322, allocations: 7.938 kB / 330.7 MB, free: 1.992 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: 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 0.0001132/0.01334, allocations: 124.6 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.01341, allocations: 15.98 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.01362, allocations: 107.2 kB / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01362, allocations: 0 / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01362, allocations: 4 kB / 330.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01363, allocations: 7.984 kB / 330.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.01394, allocations: 133.6 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.01395, allocations: 8 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.274e-05/0.01405, allocations: 23.92 kB / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01405, allocations: 0 / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.01406, allocations: 7.984 kB / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01407, allocations: 0 / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01407, allocations: 0 / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.01431, allocations: 381.9 kB / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.01434, allocations: 11.91 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.01437, allocations: 12 kB / 331.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.01453, allocations: 7.984 kB / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.01459, allocations: 11.98 kB / 331.5 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.01461, allocations: 8 kB / 331.5 MB, free: 1.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.111e-05/0.01467, allocations: 54.05 kB / 331.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01467, allocations: 0 / 331.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004756/0.01514, allocations: 83.7 kB / 331.7 MB, free: 0.9492 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 (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.0002832/0.01543, allocations: 144.2 kB / 331.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.01565, allocations: 149 kB / 331.9 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.01566, allocations: 8.062 kB / 332 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.01576, allocations: 117.8 kB / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.01622, allocations: 30.42 kB / 332.1 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.01725, allocations: 419.5 kB / 332.5 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.01736, allocations: 91.3 kB / 332.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.231e-05/0.01743, allocations: 16.64 kB / 332.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.0176, allocations: 91.34 kB / 332.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.0176, allocations: 0 / 332.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of Templates: time 0.007466/0.02507, allocations: 3.63 MB / 336.3 MB, free: 12.27 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.023887174669653]