Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007638/0.0007638, allocations: 96.25 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3286/0.3286, allocations: 43.48 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.586e-05, allocations: 4 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09848, allocations: 58.86 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3196/0.4181, allocations: 92.67 MB / 0.5633 GB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.4184, allocations: 91.59 kB / 0.5634 GB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03007/0.4484, allocations: 13.49 MB / 0.5766 GB, free: 1.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4485, allocations: 0 / 0.5766 GB, free: 1.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.4485, allocations: 4 kB / 0.5766 GB, free: 1.434 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006741/0.4492, allocations: 0.5645 MB / 0.5772 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4492, allocations: 8.031 kB / 0.5772 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.4493, allocations: 31.62 kB / 0.5772 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.4496, allocations: 254.9 kB / 0.5774 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4496, allocations: 17.31 kB / 0.5775 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.4497, allocations: 31.19 kB / 0.5775 GB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.4501, allocations: 404.1 kB / 0.5779 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4502, allocations: 0 / 0.5779 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.4502, allocations: 14.06 kB / 0.5779 GB, free: 180 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.4502, allocations: 16.55 kB / 0.5779 GB, free: 164 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.4506, allocations: 263.1 kB / 0.5781 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.4519, allocations: 1.112 MB / 0.5792 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.4522, allocations: 217.7 kB / 0.5794 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4523, allocations: 77.53 kB / 0.5795 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.4524, allocations: 4 kB / 0.5795 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4524, allocations: 38.25 kB / 0.5796 GB, free: 14.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.996e-06/0.4524, allocations: 112 / 0.5796 GB, free: 14.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004283/0.4528, allocations: 215.1 kB / 0.5798 GB, free: 14.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.4529, allocations: 102.8 kB / 0.5799 GB, free: 14.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.4533, allocations: 357.2 kB / 0.5802 GB, free: 13.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4533, allocations: 25.7 kB / 0.5802 GB, free: 13.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.4535, allocations: 189.9 kB / 0.5804 GB, free: 13.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.4535, allocations: 50.55 kB / 0.5805 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.4535, allocations: 3.688 kB / 0.5805 GB, free: 13.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4537, allocations: 353.3 kB / 0.5808 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.4538, allocations: 86.42 kB / 0.5809 GB, free: 13.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.4541, allocations: 215.5 kB / 0.5811 GB, free: 13.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.4543, allocations: 116.2 kB / 0.5812 GB, free: 12.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4543, allocations: 0 / 0.5812 GB, free: 12.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005025/0.4548, allocations: 341.6 kB / 0.5815 GB, free: 12.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4548, allocations: 7.984 kB / 0.5815 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.857e-05/0.4549, allocations: 23.98 kB / 0.5815 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4549, allocations: 4 kB / 0.5816 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.4551, allocations: 59.31 kB / 0.5816 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.4551, allocations: 11.92 kB / 0.5816 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.4554, allocations: 58.89 kB / 0.5817 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.4555, allocations: 15.98 kB / 0.5817 GB, free: 12.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.4556, allocations: 133.9 kB / 0.5818 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.4557, allocations: 27.62 kB / 0.5818 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.4561, allocations: 262.1 kB / 0.5821 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4562, allocations: 4 kB / 0.5821 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4562, allocations: 0 / 0.5821 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4562, allocations: 8 kB / 0.5821 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.4566, allocations: 309.2 kB / 0.5824 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/0.4566, allocations: 15.98 kB / 0.5824 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.4568, allocations: 39.84 kB / 0.5825 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4568, allocations: 0 / 0.5825 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.4568, allocations: 7.984 kB / 0.5825 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4568, allocations: 4 kB / 0.5825 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4568, allocations: 0 / 0.5825 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.4573, allocations: 481.2 kB / 0.5829 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.4574, allocations: 108.7 kB / 0.583 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.4574, allocations: 4 kB / 0.583 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.4577, allocations: 30.72 kB / 0.5831 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.4578, allocations: 23.38 kB / 0.5831 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.4578, allocations: 7.984 kB / 0.5831 GB, free: 11.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002524/0.4581, allocations: 277.7 kB / 0.5834 GB, free: 10.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4581, allocations: 0 / 0.5834 GB, free: 10.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.4585, allocations: 102.6 kB / 0.5835 GB, free: 10.76 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003024/0.4589, allocations: 179 kB / 0.5836 GB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.4594, allocations: 368 kB / 0.584 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4594, allocations: 4 kB / 0.584 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.4596, allocations: 244 kB / 0.5842 GB, free: 9.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.46, allocations: 69.98 kB / 0.5843 GB, free: 9.891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.4608, allocations: 452 kB / 0.5847 GB, free: 9.457 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.4612, allocations: 0.8052 MB / 0.5855 GB, free: 8.633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.4614, allocations: 62.91 kB / 0.5856 GB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.4614, allocations: 23.81 kB / 0.5856 GB, free: 8.551 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4614, allocations: 0 / 0.5856 GB, free: 8.551 MB / 410.7 MB Notification: Performance of Templates: time 0.009048/0.4705, allocations: 5.452 MB / 0.5909 GB, free: 3.148 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches