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.00088/0.00088, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009992/0.0009992, allocations: 174 kB / 25.61 MB, free: 8.926 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.9187/0.9187, allocations: 177.2 MB / 206.1 MB, free: 4.492 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.1503/0.1503, allocations: 34.25 MB / 296.9 MB, free: 14 MB / 282.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 1.233e-06/1.233e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.366e-05, allocations: 10.25 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002301/0.002325, allocations: 1.938 MB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003423, allocations: 1.129 MB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.003512, allocations: 0 / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.003743, allocations: 43.66 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.003894, allocations: 71.52 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.004307, allocations: 183.2 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.004509, allocations: 238.8 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.004549, allocations: 5.812 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.004714, allocations: 127.6 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.004817, allocations: 91.7 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.004835, allocations: 8 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.005026, allocations: 139.7 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.005083, allocations: 63.75 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.005131, allocations: 51.8 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.005403, allocations: 298.9 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005406, allocations: 0 / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005406, allocations: 0 / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.00541, allocations: 0 / 383.7 MB, free: 19 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.0004712/0.005881, allocations: 0.5733 MB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.005912, allocations: 8.031 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.006101, allocations: 60.77 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.006234, allocations: 165.1 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.006245, allocations: 16.31 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.00626, allocations: 12.38 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.00646, allocations: 206.2 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.006468, allocations: 7.938 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.00648, allocations: 4 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.006503, allocations: 12 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.006585, allocations: 59.83 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.00705, allocations: 0.7084 MB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.007233, allocations: 141.3 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.007273, allocations: 51.08 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.007296, allocations: 4 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.007311, allocations: 49.38 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.007313, allocations: 0 / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002359/0.007549, allocations: 117.5 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.007571, allocations: 106.8 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.007651, allocations: 246.1 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.007662, allocations: 25.7 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.007711, allocations: 203 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.007732, allocations: 51.56 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.007778, allocations: 47.34 kB / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.007818, allocations: 0.5081 MB / 387 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.007856, allocations: 15.98 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/0.007908, allocations: 74.03 kB / 387.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.008, allocations: 106.1 kB / 387.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.008002, allocations: 0 / 387.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001512/0.008153, allocations: 129.4 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.008165, allocations: 8 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.008181, allocations: 8 kB / 387.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.008189, allocations: 0 / 387.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.008273, allocations: 35.92 kB / 387.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.008277, allocations: 7.984 kB / 387.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.008341, allocations: 15.92 kB / 387.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.008354, allocations: 15.97 kB / 387.4 MB, free: 14.92 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.279e-05/0.008416, allocations: 168.9 kB / 387.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.008466, allocations: 27.86 kB / 387.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.008615, allocations: 127.1 kB / 387.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.008618, allocations: 4 kB / 387.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.00862, allocations: 0 / 387.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.008623, allocations: 0 / 387.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.008804, allocations: 157.1 kB / 387.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.008815, allocations: 12 kB / 387.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.008876, allocations: 27.91 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008878, allocations: 0 / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.008888, allocations: 8 kB / 388 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008889, allocations: 4 kB / 388 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.00889, allocations: 4 kB / 388 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.009041, allocations: 490.1 kB / 388.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.009058, allocations: 19.83 kB / 388.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.009076, allocations: 8 kB / 388.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.009246, allocations: 8 kB / 388.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.0093, allocations: 19.91 kB / 388.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.009313, allocations: 4 kB / 388.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.873e-05/0.009372, allocations: 171.9 kB / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.009372, allocations: 0 / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000398/0.00977, allocations: 87.7 kB / 388.8 MB, free: 13.53 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.0001831/0.009953, allocations: 170.9 kB / 388.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.01011, allocations: 158.7 kB / 389.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.01011, allocations: 0 / 389.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.065e-05/0.01017, allocations: 124.7 kB / 389.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.0105, allocations: 27.98 kB / 389.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.01115, allocations: 427.2 kB / 389.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.01119, allocations: 91.16 kB / 389.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.779e-05/0.01124, allocations: 16.62 kB / 389.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.01135, allocations: 114.2 kB / 389.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01135, allocations: 0 / 389.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of Templates: time 0.005765/0.01711, allocations: 3.828 MB / 393.7 MB, free: 8.566 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.1629748763516545]