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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 169.2 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008627/0.0008627, allocations: 97.78 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1944/0.1944, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.942e-05, allocations: 4.219 kB / 444.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 61.91 MB / 0.4947 GB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5485, allocations: 90.36 MB / 0.5829 GB, free: 6.117 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.5489, allocations: 95.94 kB / 0.583 GB, free: 6.023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01817/0.567, allocations: 6.828 MB / 0.5897 GB, free: 15.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5671, allocations: 0 / 0.5897 GB, free: 15.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.5671, allocations: 8 kB / 0.5897 GB, free: 15.16 MB / 410.7 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.0005569/0.5677, allocations: 410.4 kB / 0.5901 GB, free: 14.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5677, allocations: 15.97 kB / 0.5901 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.5678, allocations: 15.81 kB / 0.5901 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.5681, allocations: 200.2 kB / 0.5903 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.5681, allocations: 4 kB / 0.5903 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.5681, allocations: 11.94 kB / 0.5903 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002246/0.5684, allocations: 127.9 kB / 0.5904 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.5686, allocations: 139.3 kB / 0.5906 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5687, allocations: 0 / 0.5906 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.5687, allocations: 0 / 0.5906 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.5687, allocations: 12 kB / 0.5906 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.5695, allocations: 448.7 kB / 0.591 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.5698, allocations: 134.5 kB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.5699, allocations: 40.84 kB / 0.5912 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.5699, allocations: 3.984 kB / 0.5912 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.57, allocations: 34.52 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.57, allocations: 0 / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002866/0.5703, allocations: 121.7 kB / 0.5913 GB, free: 13.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.5703, allocations: 55.41 kB / 0.5914 GB, free: 13.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.5705, allocations: 127.4 kB / 0.5915 GB, free: 13.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.5705, allocations: 29.64 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.5706, allocations: 115.8 kB / 0.5917 GB, free: 12.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.5706, allocations: 31.55 kB / 0.5917 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.5706, allocations: 0 / 0.5917 GB, free: 12.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5708, allocations: 314.8 kB / 0.592 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.5708, allocations: 40.06 kB / 0.592 GB, free: 12.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.5709, allocations: 62.42 kB / 0.5921 GB, free: 12.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.28e-05/0.571, allocations: 47.95 kB / 0.5921 GB, free: 12.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.571, allocations: 0 / 0.5921 GB, free: 12.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001987/0.5712, allocations: 125.5 kB / 0.5922 GB, free: 12.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5712, allocations: 11.95 kB / 0.5923 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5713, allocations: 0 / 0.5923 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.5713, allocations: 8.047 kB / 0.5923 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.5716, allocations: 47.91 kB / 0.5923 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008163/0.5724, allocations: 1.219 MB / 0.5935 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.5725, allocations: 16.2 kB / 0.5935 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.5725, allocations: 4 kB / 0.5935 GB, free: 10.99 MB / 410.7 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.5727, allocations: 108.9 kB / 0.5936 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.5727, allocations: 7.906 kB / 0.5936 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.573, allocations: 150.1 kB / 0.5938 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.573, allocations: 0 / 0.5938 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5731, allocations: 4 kB / 0.5938 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5731, allocations: 11.95 kB / 0.5938 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.5733, allocations: 190.1 kB / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5733, allocations: 0 / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.5736, allocations: 47.95 kB / 0.594 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5736, allocations: 0 / 0.594 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.5736, allocations: 4 kB / 0.594 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007786/0.5744, allocations: 1.223 MB / 0.5952 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5744, allocations: 0 / 0.5952 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.5746, allocations: 223.3 kB / 0.5954 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.5747, allocations: 88.97 kB / 0.5955 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.5747, allocations: 3.984 kB / 0.5955 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.5748, allocations: 12.09 kB / 0.5955 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.5749, allocations: 7.984 kB / 0.5955 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.5749, allocations: 4 kB / 0.5955 GB, free: 8.789 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.223e-05/0.575, allocations: 105.2 kB / 0.5956 GB, free: 8.688 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.575, allocations: 0 / 0.5956 GB, free: 8.688 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003158/0.5753, allocations: 47.83 kB / 0.5957 GB, free: 8.641 MB / 410.7 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002921/0.5756, allocations: 139.2 kB / 0.5958 GB, free: 8.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.576, allocations: 111.9 kB / 0.5959 GB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.576, allocations: 0 / 0.5959 GB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.5762, allocations: 67.89 kB / 0.596 GB, free: 8.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.5765, allocations: 15.94 kB / 0.596 GB, free: 8.305 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.5769, allocations: 192.8 kB / 0.5962 GB, free: 8.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.5773, allocations: 0.7275 MB / 0.5969 GB, free: 7.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.099e-05/0.5774, allocations: 24.41 kB / 0.5969 GB, free: 7.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.5774, allocations: 15.44 kB / 0.5969 GB, free: 7.301 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5774, allocations: 0 / 0.5969 GB, free: 7.301 MB / 410.7 MB Notification: Performance of Templates: time 0.004426/0.5818, allocations: 1.778 MB / 0.5987 GB, free: 5.562 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches