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_KC.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.001727/0.001727, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.002099/0.002099, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] 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.2218/0.2218, allocations: 44.92 MB / 359.6 MB, free: 6.348 MB / 286.1 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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.334, allocations: 65.47 MB / 0.5583 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003435/0.3374, allocations: 1.809 MB / 0.56 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.339, allocations: 0.8539 MB / 0.5609 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.3391, allocations: 4 kB / 0.5609 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3394, allocations: 47.73 kB / 0.5609 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.3396, allocations: 71.64 kB / 0.561 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.3399, allocations: 83.72 kB / 0.5611 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.3401, allocations: 151.3 kB / 0.5612 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.3402, allocations: 9.062 kB / 0.5612 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3404, allocations: 67.7 kB / 0.5613 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.3406, allocations: 83.59 kB / 0.5614 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.3406, allocations: 4 kB / 0.5614 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.341, allocations: 167.7 kB / 0.5615 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.341, allocations: 31.91 kB / 0.5616 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.928e-05/0.3411, allocations: 63.55 kB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.3414, allocations: 213.5 kB / 0.5618 GB, free: 4.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3415, allocations: 3.984 kB / 0.5618 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3415, allocations: 0 / 0.5618 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3415, allocations: 0 / 0.5618 GB, free: 4.086 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006757/0.3421, allocations: 373.6 kB / 0.5622 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3422, allocations: 8.031 kB / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.3422, allocations: 16.84 kB / 0.5622 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.3424, allocations: 150.3 kB / 0.5624 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3424, allocations: 4.375 kB / 0.5624 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.3425, allocations: 12.12 kB / 0.5624 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.3428, allocations: 175.2 kB / 0.5625 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3428, allocations: 4 kB / 0.5625 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3429, allocations: 0 / 0.5625 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.3429, allocations: 11.98 kB / 0.5626 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.3433, allocations: 171.8 kB / 0.5627 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008657/0.3441, allocations: 467.2 kB / 0.5632 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.3445, allocations: 146.5 kB / 0.5633 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.3447, allocations: 52.81 kB / 0.5634 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3447, allocations: 7.938 kB / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3447, allocations: 34.56 kB / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.3447, allocations: 0 / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005485/0.3453, allocations: 201.4 kB / 0.5636 GB, free: 2.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3453, allocations: 51.41 kB / 0.5636 GB, free: 2.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.3455, allocations: 203.5 kB / 0.5638 GB, free: 1.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3456, allocations: 29.7 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.3456, allocations: 112.1 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3457, allocations: 35.77 kB / 0.564 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.3457, allocations: 29.7 kB / 0.564 GB, free: 1.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3459, allocations: 326.8 kB / 0.5643 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.346, allocations: 55.89 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.3462, allocations: 74.52 kB / 0.5645 GB, free: 1.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.3465, allocations: 126.4 kB / 0.5646 GB, free: 1.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3465, allocations: 0 / 0.5646 GB, free: 1.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003968/0.3469, allocations: 177.7 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3469, allocations: 4 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3469, allocations: 0 / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3469, allocations: 4 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.3472, allocations: 43.97 kB / 0.5648 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008804/0.3481, allocations: 1.223 MB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3482, allocations: 15.92 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3482, allocations: 12 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.3484, allocations: 129.8 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.3484, allocations: 19.84 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.3489, allocations: 187 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3489, allocations: 4 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3489, allocations: 0 / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3489, allocations: 3.984 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.3492, allocations: 196.5 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3492, allocations: 3.938 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3494, allocations: 43.97 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3494, allocations: 0 / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3494, allocations: 4 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009162/0.3503, allocations: 1.223 MB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3503, allocations: 3.984 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.3508, allocations: 255.5 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.3508, allocations: 7.953 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3508, allocations: 7.875 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.351, allocations: 11.98 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.351, allocations: 7.984 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.351, allocations: 4 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.3512, allocations: 153.1 kB / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3512, allocations: 0 / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.3515, allocations: 47.89 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002491/0.3517, allocations: 135.1 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.3522, allocations: 147.9 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3522, allocations: 0 / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.3525, allocations: 87.88 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3528, allocations: 21.67 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.3536, allocations: 385.8 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.354, allocations: 0.7318 MB / 0.5697 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.3541, allocations: 15.44 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3541, allocations: 0 / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of Templates: time 0.006868/0.3609, allocations: 3.54 MB / 0.5732 GB, free: 8.023 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.304096610983834]