Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_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.0009622/0.0009622, allocations: 198.4 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.5 MB / 244.1 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007964/0.0007964, allocations: 99.88 kB / 296.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3085/0.3085, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002617, allocations: 4 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2912, allocations: 62.95 MB / 0.5165 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4157, allocations: 94.91 MB / 0.6092 GB, free: 10.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.4161, allocations: 103.9 kB / 0.6093 GB, free: 10.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03928/0.4554, allocations: 13.87 MB / 0.6228 GB, free: 12.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4555, allocations: 3.938 kB / 0.6228 GB, free: 12.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.4555, allocations: 4 kB / 0.6228 GB, free: 12.38 MB / 442.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.00108/0.4566, allocations: 0.5731 MB / 0.6234 GB, free: 11.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4566, allocations: 12.03 kB / 0.6234 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.457, allocations: 76.52 kB / 0.6235 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.4574, allocations: 266 kB / 0.6237 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4574, allocations: 16.94 kB / 0.6237 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.4575, allocations: 32.38 kB / 0.6238 GB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.4583, allocations: 442.4 kB / 0.6242 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4583, allocations: 11.92 kB / 0.6242 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.4584, allocations: 15.92 kB / 0.6242 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.4584, allocations: 20.56 kB / 0.6242 GB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/0.4592, allocations: 345.9 kB / 0.6246 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.4607, allocations: 1.085 MB / 0.6256 GB, free: 9.344 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.4612, allocations: 259.7 kB / 0.6259 GB, free: 9.062 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.4615, allocations: 126.4 kB / 0.626 GB, free: 8.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.4616, allocations: 7.922 kB / 0.626 GB, free: 8.922 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.4616, allocations: 38.56 kB / 0.626 GB, free: 8.875 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.215e-06/0.4616, allocations: 3.938 kB / 0.626 GB, free: 8.871 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001056/0.4627, allocations: 393.1 kB / 0.6264 GB, free: 8.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.4628, allocations: 106.8 kB / 0.6265 GB, free: 8.352 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.4632, allocations: 397.5 kB / 0.6269 GB, free: 7.957 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.4633, allocations: 37.77 kB / 0.6269 GB, free: 7.914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4634, allocations: 183.8 kB / 0.6271 GB, free: 7.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.4635, allocations: 55.28 kB / 0.6272 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.4635, allocations: 4 kB / 0.6272 GB, free: 7.672 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4636, allocations: 346.7 kB / 0.6275 GB, free: 7.324 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.464, allocations: 132.1 kB / 0.6276 GB, free: 7.191 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.4643, allocations: 249.4 kB / 0.6279 GB, free: 6.895 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006953/0.465, allocations: 387 kB / 0.6282 GB, free: 6.461 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.4651, allocations: 4 kB / 0.6282 GB, free: 6.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008642/0.4659, allocations: 425.4 kB / 0.6286 GB, free: 6.035 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.466, allocations: 4 kB / 0.6286 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/0.466, allocations: 24 kB / 0.6287 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.466, allocations: 4 kB / 0.6287 GB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.4663, allocations: 59.89 kB / 0.6287 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.4663, allocations: 7.938 kB / 0.6287 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.4667, allocations: 63.66 kB / 0.6288 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.4667, allocations: 12 kB / 0.6288 GB, free: 5.863 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.0002134/0.4669, allocations: 182.6 kB / 0.629 GB, free: 5.676 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.467, allocations: 31.62 kB / 0.629 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006237/0.4676, allocations: 296.2 kB / 0.6293 GB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4677, allocations: 0 / 0.6293 GB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4677, allocations: 4 kB / 0.6293 GB, free: 5.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4677, allocations: 0 / 0.6293 GB, free: 5.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.4682, allocations: 309.3 kB / 0.6296 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-05/0.4682, allocations: 31.92 kB / 0.6296 GB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4684, allocations: 27.97 kB / 0.6297 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4684, allocations: 0 / 0.6297 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.4684, allocations: 8 kB / 0.6297 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.4685, allocations: 4 kB / 0.6297 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4685, allocations: 0 / 0.6297 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.4692, allocations: 0.5327 MB / 0.6302 GB, free: 4.367 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.4694, allocations: 108.8 kB / 0.6303 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.4694, allocations: 3.938 kB / 0.6303 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.4697, allocations: 27.98 kB / 0.6303 GB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.4698, allocations: 15.97 kB / 0.6303 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.4698, allocations: 12 kB / 0.6303 GB, free: 4.184 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002904/0.4701, allocations: 279.1 kB / 0.6306 GB, free: 3.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4701, allocations: 0 / 0.6306 GB, free: 3.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006264/0.4707, allocations: 115.8 kB / 0.6307 GB, free: 3.797 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.0004342/0.4712, allocations: 195 kB / 0.6309 GB, free: 3.594 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008365/0.472, allocations: 454.8 kB / 0.6313 GB, free: 3.113 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.472, allocations: 0 / 0.6313 GB, free: 3.113 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.4724, allocations: 286 kB / 0.6316 GB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.4731, allocations: 76.14 kB / 0.6317 GB, free: 2.727 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.4743, allocations: 0.6958 MB / 0.6324 GB, free: 1.988 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.4747, allocations: 0.7911 MB / 0.6331 GB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.4748, allocations: 31.36 kB / 0.6332 GB, free: 1.141 MB / 442.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4748, allocations: 3.938 kB / 0.6332 GB, free: 1.137 MB / 442.7 MB Notification: Performance of Templates: time 0.009624/0.4844, allocations: 5.675 MB / 0.6387 GB, free: 11.5 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches