Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008413/0.0008413, allocations: 179.3 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 242.1 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007779/0.0007779, allocations: 98.67 kB / 293.3 MB, free: 10.58 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.2945/0.2945, allocations: 44.15 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 16 kB / 461.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2889, allocations: 61.88 MB / 0.5107 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.3971, allocations: 93.89 MB / 0.6024 GB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.3974, allocations: 107.8 kB / 0.6025 GB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03613/0.4335, allocations: 13.74 MB / 0.616 GB, free: 3.293 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4336, allocations: 0 / 0.616 GB, free: 3.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.4336, allocations: 11.94 kB / 0.616 GB, free: 3.281 MB / 426.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.0009733/0.4346, allocations: 0.5693 MB / 0.6165 GB, free: 2.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4346, allocations: 11.97 kB / 0.6165 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.164e-05/0.4347, allocations: 36.56 kB / 0.6166 GB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.4351, allocations: 264.2 kB / 0.6168 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.4351, allocations: 16.94 kB / 0.6168 GB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.4352, allocations: 32.36 kB / 0.6169 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.4359, allocations: 438.4 kB / 0.6173 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.436, allocations: 7.938 kB / 0.6173 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.436, allocations: 8 kB / 0.6173 GB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.436, allocations: 24.55 kB / 0.6173 GB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.4367, allocations: 345.9 kB / 0.6177 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.4382, allocations: 1.1 MB / 0.6187 GB, free: 292 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.4387, allocations: 259.7 kB / 0.619 GB, free: 4 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.439, allocations: 122.5 kB / 0.6191 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.439, allocations: 11.92 kB / 0.6191 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.439, allocations: 34.56 kB / 0.6191 GB, free: 15.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.439, allocations: 3.938 kB / 0.6191 GB, free: 15.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009603/0.44, allocations: 397.1 kB / 0.6195 GB, free: 15.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.4401, allocations: 102.8 kB / 0.6196 GB, free: 15.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.4405, allocations: 405.5 kB / 0.62 GB, free: 14.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.4405, allocations: 29.7 kB / 0.62 GB, free: 14.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4407, allocations: 195.7 kB / 0.6202 GB, free: 14.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.4407, allocations: 51.3 kB / 0.6203 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.4407, allocations: 0 / 0.6203 GB, free: 14.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4409, allocations: 354.7 kB / 0.6206 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.4412, allocations: 128.1 kB / 0.6207 GB, free: 14.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.4416, allocations: 243.5 kB / 0.621 GB, free: 13.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.4423, allocations: 391 kB / 0.6213 GB, free: 13.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4423, allocations: 4 kB / 0.6213 GB, free: 13.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008296/0.4431, allocations: 432.6 kB / 0.6218 GB, free: 12.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4431, allocations: 4 kB / 0.6218 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/0.4432, allocations: 24 kB / 0.6218 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4432, allocations: 4.5 kB / 0.6218 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.4435, allocations: 59.89 kB / 0.6218 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.4435, allocations: 4 kB / 0.6218 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.4438, allocations: 59.56 kB / 0.6219 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.4438, allocations: 16 kB / 0.6219 GB, free: 12.8 MB / 442.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 () * Number of clocked 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.0001871/0.444, allocations: 185.6 kB / 0.6221 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.04e-05/0.4441, allocations: 31.62 kB / 0.6221 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006131/0.4447, allocations: 288.3 kB / 0.6224 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4448, allocations: 3.938 kB / 0.6224 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4448, allocations: 4 kB / 0.6224 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4448, allocations: 0 / 0.6224 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.4453, allocations: 313.3 kB / 0.6227 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/0.4453, allocations: 20 kB / 0.6227 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.4455, allocations: 31.97 kB / 0.6228 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.4455, allocations: 3.984 kB / 0.6228 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.4456, allocations: 12.09 kB / 0.6228 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4456, allocations: 3.938 kB / 0.6228 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4456, allocations: 0 / 0.6228 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.4463, allocations: 0.5352 MB / 0.6233 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.4464, allocations: 108.8 kB / 0.6234 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.4465, allocations: 4 kB / 0.6234 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.4467, allocations: 19.98 kB / 0.6234 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.4468, allocations: 19.97 kB / 0.6234 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.4468, allocations: 12 kB / 0.6235 GB, free: 11.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002997/0.4471, allocations: 283.1 kB / 0.6237 GB, free: 10.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4472, allocations: 0 / 0.6237 GB, free: 10.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005843/0.4477, allocations: 103.8 kB / 0.6238 GB, free: 10.75 MB / 442.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 () * Number of clocked 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.000335/0.4481, allocations: 187 kB / 0.624 GB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007468/0.4488, allocations: 453.9 kB / 0.6244 GB, free: 10.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4489, allocations: 0.875 kB / 0.6244 GB, free: 10.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.4492, allocations: 286 kB / 0.6247 GB, free: 9.758 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.4498, allocations: 71.39 kB / 0.6248 GB, free: 9.691 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.451, allocations: 0.6745 MB / 0.6254 GB, free: 8.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.4514, allocations: 0.799 MB / 0.6262 GB, free: 8.156 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.4516, allocations: 70.89 kB / 0.6263 GB, free: 8.086 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.4517, allocations: 19.44 kB / 0.6263 GB, free: 8.066 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4517, allocations: 0 / 0.6263 GB, free: 8.066 MB / 442.7 MB Notification: Performance of Templates: time 0.01003/0.4617, allocations: 5.562 MB / 0.6317 GB, free: 2.59 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches