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.005727/0.005727, allocations: 109.6 kB / 21.98 MB, free: 5.184 MB / 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.001419/0.001419, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.437/1.437, allocations: 230.5 MB / 258.9 MB, free: 8 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.2243/0.2243, allocations: 46.93 MB / 362.3 MB, free: 4.215 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.002345/0.002345, allocations: 79.86 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3242, allocations: 66.09 MB / 0.5628 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003129/0.3273, allocations: 1.811 MB / 0.5645 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3288, allocations: 0.8578 MB / 0.5654 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.3288, allocations: 0 / 0.5654 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.3291, allocations: 55.73 kB / 0.5654 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.3294, allocations: 75.62 kB / 0.5655 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3296, allocations: 71.75 kB / 0.5656 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.3299, allocations: 151.3 kB / 0.5657 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.3299, allocations: 9.062 kB / 0.5657 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.3301, allocations: 71.64 kB / 0.5658 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3302, allocations: 79.66 kB / 0.5659 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3302, allocations: 4 kB / 0.5659 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.3305, allocations: 163.8 kB / 0.566 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.3306, allocations: 35.83 kB / 0.5661 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.499e-05/0.3307, allocations: 55.67 kB / 0.5661 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.331, allocations: 213.5 kB / 0.5663 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.331, allocations: 0 / 0.5663 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.331, allocations: 3.938 kB / 0.5663 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.331, allocations: 0 / 0.5663 GB, free: 0.5898 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.0007034/0.3317, allocations: 377.6 kB / 0.5667 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3318, allocations: 8.031 kB / 0.5667 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.3318, allocations: 16.84 kB / 0.5667 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.332, allocations: 142.3 kB / 0.5668 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.3321, allocations: 12.45 kB / 0.5668 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3321, allocations: 20.03 kB / 0.5669 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.3324, allocations: 169.6 kB / 0.567 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3325, allocations: 0 / 0.567 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3325, allocations: 4 kB / 0.567 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.3325, allocations: 8 kB / 0.567 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.3329, allocations: 171.8 kB / 0.5672 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007924/0.3336, allocations: 463.3 kB / 0.5676 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.3341, allocations: 158.4 kB / 0.5678 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.3342, allocations: 52.81 kB / 0.5678 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.3342, allocations: 8.062 kB / 0.5678 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3343, allocations: 34.56 kB / 0.5679 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3343, allocations: 0 / 0.5679 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005444/0.3348, allocations: 197.4 kB / 0.5681 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.3349, allocations: 51.41 kB / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.3351, allocations: 207.5 kB / 0.5683 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3351, allocations: 25.7 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.3352, allocations: 116.1 kB / 0.5685 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.3352, allocations: 31.7 kB / 0.5685 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.3353, allocations: 33.7 kB / 0.5685 GB, free: 14.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3354, allocations: 326.8 kB / 0.5688 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3356, allocations: 51.89 kB / 0.5689 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.3357, allocations: 78.45 kB / 0.569 GB, free: 13.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.336, allocations: 126.5 kB / 0.5691 GB, free: 13.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.336, allocations: 0 / 0.5691 GB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003566/0.3364, allocations: 161.8 kB / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3364, allocations: 8.156 kB / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3364, allocations: 7.922 kB / 0.5692 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3364, allocations: 4 kB / 0.5692 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.3367, allocations: 47.97 kB / 0.5693 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008029/0.3375, allocations: 1.223 MB / 0.5705 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3376, allocations: 19.92 kB / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.3376, allocations: 4 kB / 0.5705 GB, free: 12.04 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.0001869/0.3378, allocations: 137.8 kB / 0.5706 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.3378, allocations: 19.84 kB / 0.5707 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/0.3383, allocations: 182.9 kB / 0.5708 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3383, allocations: 4 kB / 0.5708 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3383, allocations: 0 / 0.5708 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3383, allocations: 3.984 kB / 0.5708 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3386, allocations: 188.6 kB / 0.571 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3386, allocations: 3.938 kB / 0.571 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.3388, allocations: 47.97 kB / 0.5711 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3388, allocations: 0 / 0.5711 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3388, allocations: 4 kB / 0.5711 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007772/0.3396, allocations: 1.223 MB / 0.5723 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3396, allocations: 0 / 0.5723 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.34, allocations: 255.5 kB / 0.5725 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.34, allocations: 11.89 kB / 0.5725 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.34, allocations: 3.938 kB / 0.5725 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3402, allocations: 7.984 kB / 0.5725 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.3402, allocations: 15.92 kB / 0.5725 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3402, allocations: 4 kB / 0.5726 GB, free: 9.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.3404, allocations: 153.1 kB / 0.5727 GB, free: 9.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3404, allocations: 0 / 0.5727 GB, free: 9.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.3407, allocations: 43.89 kB / 0.5727 GB, free: 9.621 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.0002287/0.3409, allocations: 139.1 kB / 0.5729 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.3414, allocations: 144.1 kB / 0.573 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3414, allocations: 0 / 0.573 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.3417, allocations: 88 kB / 0.5731 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.342, allocations: 24.86 kB / 0.5731 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/0.3427, allocations: 385.7 kB / 0.5735 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3431, allocations: 0.7318 MB / 0.5742 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.3431, allocations: 15.44 kB / 0.5742 GB, free: 8.043 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3431, allocations: 0 / 0.5742 GB, free: 8.043 MB / 414.1 MB Notification: Performance of Templates: time 0.006287/0.3494, allocations: 3.538 MB / 0.5777 GB, free: 4.516 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 -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: 8.085106055019423]