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.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.0009687/0.0009687, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001835/0.001835, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9883/0.9883, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2717/0.2717, allocations: 34.26 MB / 296.1 MB, free: 0.6094 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,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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.506e-06/3.506e-06, allocations: 3.984 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.21e-05, allocations: 7.922 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002659/0.002681, allocations: 1.951 MB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.004422, allocations: 1.137 MB / 328.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.004502, allocations: 3.938 kB / 328.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.004736, allocations: 55.62 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.004922, allocations: 67.58 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.005387, allocations: 179.2 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.005653, allocations: 246.8 kB / 328.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.005697, allocations: 6.469 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.0059, allocations: 119.6 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.006031, allocations: 91.7 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.006055, allocations: 12 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.006285, allocations: 139.7 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.006354, allocations: 59.77 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.006419, allocations: 59.78 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.006765, allocations: 294.9 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.006767, allocations: 0 / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006768, allocations: 0 / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.006771, allocations: 0 / 329.7 MB, free: 3.25 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.0005786/0.00735, allocations: 452.8 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.007382, allocations: 8.031 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.007605, allocations: 52.89 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.007784, allocations: 170.2 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.007797, allocations: 8.375 kB / 330.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.007823, allocations: 16.38 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.008096, allocations: 197 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.008107, allocations: 7.938 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.008123, allocations: 4 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.008149, allocations: 8 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.008268, allocations: 70.72 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.008865, allocations: 0.5172 MB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.009104, allocations: 168.1 kB / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.009155, allocations: 38.59 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.009183, allocations: 4 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.009205, allocations: 34.56 kB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.009206, allocations: 0 / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002489/0.009455, allocations: 95.28 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.009499, allocations: 106.8 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.009619, allocations: 186.9 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.009635, allocations: 25.7 kB / 331.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.009703, allocations: 140 kB / 331.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.009737, allocations: 47.58 kB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.0098, allocations: 37.69 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.009889, allocations: 339 kB / 332.4 MB, free: 360 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.009933, allocations: 14.83 kB / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.351e-05/0.009997, allocations: 57.06 kB / 332.4 MB, free: 268 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.01012, allocations: 94.73 kB / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01012, allocations: 0 / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001642/0.01028, allocations: 101.8 kB / 332.6 MB, free: 44 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.0103, allocations: 8 kB / 332.6 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.01032, allocations: 8 kB / 332.6 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.01033, allocations: 0 / 332.6 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.01044, allocations: 31.95 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01044, allocations: 0 / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-05/0.01052, allocations: 23.83 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.01054, allocations: 7.938 kB / 332.7 MB, free: 15.96 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 8.664e-05/0.01062, allocations: 120.7 kB / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.01069, allocations: 20.02 kB / 332.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.01086, allocations: 103.2 kB / 332.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01087, allocations: 4 kB / 332.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01087, allocations: 0 / 332.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01087, allocations: 0 / 332.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.01113, allocations: 137.6 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.01115, allocations: 7.984 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.01122, allocations: 15.98 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01122, allocations: 4 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01123, allocations: 4 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01123, allocations: 11.94 kB / 333.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01124, allocations: 0 / 333.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.01145, allocations: 373.2 kB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.01147, allocations: 15.91 kB / 333.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.01149, allocations: 3.984 kB / 333.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.01164, allocations: 12 kB / 333.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.01169, allocations: 15.97 kB / 333.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.0117, allocations: 7.938 kB / 333.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.01175, allocations: 49.81 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01175, allocations: 0 / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.01211, allocations: 91.69 kB / 333.7 MB, free: 14.93 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.0002104/0.01232, allocations: 148.2 kB / 333.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.01251, allocations: 153.7 kB / 334 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.01251, allocations: 0 / 334 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.706e-05/0.0126, allocations: 117.9 kB / 334.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.01298, allocations: 31.97 kB / 334.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.01378, allocations: 431.7 kB / 334.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.01385, allocations: 87.31 kB / 334.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.01391, allocations: 8.641 kB / 334.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.01405, allocations: 99.28 kB / 334.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01405, allocations: 0 / 334.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of Templates: time 0.005778/0.01983, allocations: 3.618 MB / 338.4 MB, free: 10.24 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_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.0712075708433986]