Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) 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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 97.3 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1807/0.1807, allocations: 45.16 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.516e-05, allocations: 0 / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.4786, allocations: 94.28 MB / 0.5965 GB, free: 8.289 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.479, allocations: 98.8 kB / 0.5966 GB, free: 8.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03597/0.515, allocations: 13.77 MB / 0.61 GB, free: 12.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.515, allocations: 0 / 0.61 GB, free: 12.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.515, allocations: 4 kB / 0.61 GB, free: 12.73 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0007585/0.5158, allocations: 0.5603 MB / 0.6105 GB, free: 12.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.5158, allocations: 8.031 kB / 0.6106 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/0.5162, allocations: 71.55 kB / 0.6106 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.5165, allocations: 264.3 kB / 0.6109 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5165, allocations: 12 kB / 0.6109 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.5166, allocations: 15.94 kB / 0.6109 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003399/0.5169, allocations: 229.3 kB / 0.6111 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.5174, allocations: 362.7 kB / 0.6115 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5174, allocations: 0 / 0.6115 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.5174, allocations: 7.938 kB / 0.6115 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.5175, allocations: 24.08 kB / 0.6115 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.5188, allocations: 1.003 MB / 0.6125 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.5191, allocations: 208.8 kB / 0.6127 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.5192, allocations: 77.16 kB / 0.6127 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.5193, allocations: 11.98 kB / 0.6128 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.5193, allocations: 42.09 kB / 0.6128 GB, free: 9.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.5193, allocations: 0 / 0.6128 GB, free: 9.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004242/0.5197, allocations: 186.7 kB / 0.613 GB, free: 9.789 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.5198, allocations: 106.8 kB / 0.6131 GB, free: 9.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.52, allocations: 213.8 kB / 0.6133 GB, free: 9.473 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.5201, allocations: 29.77 kB / 0.6133 GB, free: 9.438 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.5202, allocations: 198.8 kB / 0.6135 GB, free: 9.266 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.5203, allocations: 53.75 kB / 0.6136 GB, free: 9.219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.5203, allocations: 0 / 0.6136 GB, free: 9.219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5204, allocations: 339.2 kB / 0.6139 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.5206, allocations: 84.97 kB / 0.614 GB, free: 8.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.5208, allocations: 191.7 kB / 0.6141 GB, free: 8.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.521, allocations: 122.8 kB / 0.6143 GB, free: 8.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.521, allocations: 0 / 0.6143 GB, free: 8.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004708/0.5215, allocations: 306.1 kB / 0.6145 GB, free: 8.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5215, allocations: 4.188 kB / 0.6146 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/0.5216, allocations: 28.5 kB / 0.6146 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5216, allocations: 11.94 kB / 0.6146 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.5218, allocations: 53.97 kB / 0.6146 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.5219, allocations: 7.984 kB / 0.6147 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5221, allocations: 39.73 kB / 0.6147 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.5221, allocations: 22.23 kB / 0.6147 GB, free: 8.047 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.0001083/0.5223, allocations: 126.2 kB / 0.6148 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.5223, allocations: 16.56 kB / 0.6148 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.5228, allocations: 238.6 kB / 0.6151 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5228, allocations: 11.98 kB / 0.6151 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5228, allocations: 0 / 0.6151 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5229, allocations: 3.984 kB / 0.6151 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.5233, allocations: 267.1 kB / 0.6153 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/0.5233, allocations: 24.55 kB / 0.6154 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.5235, allocations: 27.97 kB / 0.6154 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5235, allocations: 4 kB / 0.6154 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.5235, allocations: 8.609 kB / 0.6154 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5235, allocations: 7.938 kB / 0.6154 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.5236, allocations: 0 / 0.6154 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.524, allocations: 466.7 kB / 0.6159 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.5241, allocations: 96.91 kB / 0.616 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.5242, allocations: 4 kB / 0.616 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.5244, allocations: 19.98 kB / 0.616 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.5245, allocations: 18.91 kB / 0.616 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.5245, allocations: 8 kB / 0.616 GB, free: 6.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.5247, allocations: 166.4 kB / 0.6162 GB, free: 6.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5247, allocations: 0 / 0.6162 GB, free: 6.574 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005876/0.5253, allocations: 122.9 kB / 0.6163 GB, free: 6.457 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.0003536/0.5257, allocations: 186.4 kB / 0.6165 GB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.5261, allocations: 361.3 kB / 0.6168 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5261, allocations: 0 / 0.6168 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.5264, allocations: 240.3 kB / 0.617 GB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.5267, allocations: 30.19 kB / 0.6171 GB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.5276, allocations: 408.5 kB / 0.6174 GB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.528, allocations: 0.8004 MB / 0.6182 GB, free: 4.395 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.5282, allocations: 45.81 kB / 0.6183 GB, free: 4.352 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.5283, allocations: 19.42 kB / 0.6183 GB, free: 4.332 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5283, allocations: 3.938 kB / 0.6183 GB, free: 4.328 MB / 410.7 MB Notification: Performance of Templates: time 0.007138/0.5354, allocations: 3.552 MB / 0.6218 GB, free: 0.8359 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches