Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001014/0.001014, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001215/0.001215, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.928/0.928, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1315/0.1315, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.447e-05, allocations: 2.312 kB / 348.1 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002277/0.002301, allocations: 1.956 MB / 350.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.003586, allocations: 1.076 MB / 351.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.003661, allocations: 0 / 351.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.0039, allocations: 51.64 kB / 351.2 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.004069, allocations: 71.52 kB / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.004497, allocations: 175.2 kB / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.004692, allocations: 230.9 kB / 351.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.004737, allocations: 9.797 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.00488, allocations: 107.7 kB / 351.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.004986, allocations: 95.69 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.005007, allocations: 8 kB / 351.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.005227, allocations: 127.8 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.005298, allocations: 59.75 kB / 352.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.005356, allocations: 55.78 kB / 352.2 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.005688, allocations: 282.9 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.005692, allocations: 0 / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005693, allocations: 3.938 kB / 352.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.005699, allocations: 0 / 352.4 MB, free: 4.844 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005781/0.006278, allocations: 0.5656 MB / 353 MB, free: 4.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.006315, allocations: 12.03 kB / 353 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.006368, allocations: 36.8 kB / 353 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.006492, allocations: 172.2 kB / 353.2 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.006505, allocations: 8.375 kB / 353.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.006522, allocations: 20.38 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.006759, allocations: 194.1 kB / 353.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.006768, allocations: 3.938 kB / 353.4 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.006781, allocations: 4 kB / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.006806, allocations: 12 kB / 353.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.006881, allocations: 51.95 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.007423, allocations: 0.7201 MB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.007614, allocations: 137.3 kB / 354.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.007652, allocations: 43.05 kB / 354.4 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.007677, allocations: 4 kB / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.007694, allocations: 45.42 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.007696, allocations: 0 / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002207/0.007917, allocations: 113.8 kB / 354.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.00794, allocations: 114.8 kB / 354.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.008028, allocations: 249.5 kB / 354.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.008039, allocations: 25.7 kB / 354.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.008092, allocations: 195 kB / 355.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.008112, allocations: 51.58 kB / 355.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.008158, allocations: 43.34 kB / 355.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.008205, allocations: 0.5117 MB / 355.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.008238, allocations: 8 kB / 355.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.394e-05/0.008292, allocations: 80.33 kB / 355.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.968e-05/0.008382, allocations: 110.2 kB / 355.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008384, allocations: 4 kB / 355.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001443/0.008528, allocations: 125.4 kB / 356.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.00854, allocations: 8 kB / 356.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.008557, allocations: 8 kB / 356.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.008571, allocations: 4.141 kB / 356.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.008657, allocations: 35.97 kB / 356.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.008661, allocations: 3.938 kB / 356.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.00872, allocations: 27.81 kB / 356.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.008731, allocations: 8 kB / 356.1 MB, free: 0.8125 MB / 282.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.785e-05/0.008799, allocations: 160.6 kB / 356.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.008841, allocations: 19.91 kB / 356.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.00899, allocations: 131.1 kB / 356.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.008993, allocations: 4 kB / 356.5 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.008994, allocations: 0 / 356.5 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008997, allocations: 4 kB / 356.5 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.009174, allocations: 165 kB / 356.6 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.009184, allocations: 12 kB / 356.6 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.738e-05/0.009261, allocations: 23.92 kB / 356.7 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.009265, allocations: 0 / 356.7 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.009275, allocations: 8 kB / 356.7 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.009277, allocations: 0 / 356.7 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009278, allocations: 0 / 356.7 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.009537, allocations: 0.4903 MB / 357.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.009557, allocations: 15.86 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.009576, allocations: 12 kB / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.009679, allocations: 7.984 kB / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.009726, allocations: 15.98 kB / 357.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.009735, allocations: 4 kB / 357.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.009804, allocations: 168.2 kB / 357.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009804, allocations: 0 / 357.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.0101, allocations: 83.7 kB / 357.5 MB, free: 15.44 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.0002685/0.01037, allocations: 175 kB / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.01056, allocations: 155 kB / 357.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01056, allocations: 320 / 357.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.01064, allocations: 132.6 kB / 357.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.01095, allocations: 31.98 kB / 357.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/0.0117, allocations: 416.6 kB / 358.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.01177, allocations: 95.3 kB / 358.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.01182, allocations: 12.64 kB / 358.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.01194, allocations: 118.2 kB / 358.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01194, allocations: 0 / 358.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Templates: time 0.005369/0.01731, allocations: 3.732 MB / 362.3 MB, free: 10.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.961153328884393]