Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002003/0.002003, allocations: 220.9 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2198/0.2198, allocations: 46.93 MB / 362 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 91.84 kB / 0.4978 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2924, allocations: 66.07 MB / 0.5624 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.00301/0.2954, allocations: 1.81 MB / 0.5641 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2968, allocations: 0.8539 MB / 0.565 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.2968, allocations: 0 / 0.565 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.2971, allocations: 43.75 kB / 0.565 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.2973, allocations: 71.64 kB / 0.5651 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.2976, allocations: 83.7 kB / 0.5651 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.2978, allocations: 151.3 kB / 0.5653 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.2978, allocations: 5.062 kB / 0.5653 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.298, allocations: 79.62 kB / 0.5654 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.2981, allocations: 79.66 kB / 0.5654 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.2982, allocations: 4 kB / 0.5654 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.2983, allocations: 67.91 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.2984, allocations: 39.88 kB / 0.5656 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.2985, allocations: 55.61 kB / 0.5656 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.2988, allocations: 181.8 kB / 0.5658 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2988, allocations: 3.938 kB / 0.5658 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2988, allocations: 0 / 0.5658 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2988, allocations: 3.938 kB / 0.5658 GB, free: 0.7422 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.0006616/0.2994, allocations: 369.6 kB / 0.5661 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2995, allocations: 12.03 kB / 0.5661 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.2995, allocations: 20.84 kB / 0.5662 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.2997, allocations: 144.6 kB / 0.5663 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2998, allocations: 8.375 kB / 0.5663 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.2998, allocations: 12.12 kB / 0.5663 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.3002, allocations: 177.6 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3002, allocations: 0 / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3002, allocations: 7.984 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.3002, allocations: 12 kB / 0.5665 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.3006, allocations: 167.8 kB / 0.5667 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007787/0.3014, allocations: 463.1 kB / 0.5671 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.3018, allocations: 154.4 kB / 0.5673 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3019, allocations: 60.8 kB / 0.5673 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.3019, allocations: 0 / 0.5673 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.302, allocations: 34.5 kB / 0.5674 GB, free: 15.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.302, allocations: 0 / 0.5674 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005354/0.3025, allocations: 201.4 kB / 0.5675 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3025, allocations: 55.41 kB / 0.5676 GB, free: 14.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3028, allocations: 203.5 kB / 0.5678 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3028, allocations: 25.7 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.3029, allocations: 112.1 kB / 0.5679 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.3029, allocations: 35.69 kB / 0.568 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.303, allocations: 29.7 kB / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3031, allocations: 326.8 kB / 0.5683 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3032, allocations: 51.95 kB / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3034, allocations: 74.45 kB / 0.5684 GB, free: 13.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.3037, allocations: 126.4 kB / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3037, allocations: 0 / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000376/0.3041, allocations: 169.8 kB / 0.5687 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3041, allocations: 8 kB / 0.5687 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3041, allocations: 96 / 0.5687 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3041, allocations: 3.938 kB / 0.5687 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.3044, allocations: 51.97 kB / 0.5688 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008376/0.3052, allocations: 1.219 MB / 0.57 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3053, allocations: 19.89 kB / 0.57 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3053, allocations: 4 kB / 0.57 GB, free: 12.2 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.0001849/0.3055, allocations: 137.8 kB / 0.5701 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.3055, allocations: 20.03 kB / 0.5701 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.306, allocations: 182.8 kB / 0.5703 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.306, allocations: 0 / 0.5703 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.306, allocations: 0 / 0.5703 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.306, allocations: 4 kB / 0.5703 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.3062, allocations: 196.7 kB / 0.5705 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3062, allocations: 3.938 kB / 0.5705 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.3065, allocations: 51.91 kB / 0.5705 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3065, allocations: 4 kB / 0.5705 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3065, allocations: 0 / 0.5705 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007627/0.3073, allocations: 1.219 MB / 0.5717 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3073, allocations: 0 / 0.5717 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.3077, allocations: 251.5 kB / 0.572 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.3077, allocations: 15.89 kB / 0.572 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.3077, allocations: 3.938 kB / 0.572 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3078, allocations: 11.92 kB / 0.572 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.308, allocations: 11.98 kB / 0.572 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.308, allocations: 3.938 kB / 0.572 GB, free: 9.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3081, allocations: 157.1 kB / 0.5722 GB, free: 9.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3081, allocations: 0 / 0.5722 GB, free: 9.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3084, allocations: 47.89 kB / 0.5722 GB, free: 9.77 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.0002221/0.3086, allocations: 139.1 kB / 0.5724 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004765/0.3091, allocations: 139.8 kB / 0.5725 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3091, allocations: 384 / 0.5725 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.3094, allocations: 87.8 kB / 0.5726 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.3097, allocations: 28.98 kB / 0.5726 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.3103, allocations: 344 kB / 0.5729 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3107, allocations: 0.7357 MB / 0.5736 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.1e-05/0.3108, allocations: 37.03 kB / 0.5737 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.3108, allocations: 11.44 kB / 0.5737 GB, free: 8.203 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3108, allocations: 4 kB / 0.5737 GB, free: 8.199 MB / 414.1 MB Notification: Performance of Templates: time 0.006375/0.3172, allocations: 2.718 MB / 0.5763 GB, free: 5.531 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.909291425952688]