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_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.5 MB / 243.1 MB, free: 12.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000763/0.000763, allocations: 100.8 kB / 295.1 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1735/0.1735, allocations: 44.84 MB / 392 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002479, allocations: 11.98 kB / 464.8 MB, free: 68.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.09669, allocations: 62.96 MB / 0.5154 GB, free: 5.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.001426/0.09815, allocations: 1.561 MB / 0.5169 GB, free: 3.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.09901, allocations: 0.7639 MB / 0.5176 GB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.09906, allocations: 0 / 0.5176 GB, free: 2.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.09924, allocations: 43.8 kB / 0.5177 GB, free: 2.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.09946, allocations: 87.62 kB / 0.5177 GB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.09965, allocations: 63.8 kB / 0.5178 GB, free: 2.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.09987, allocations: 310.6 kB / 0.5181 GB, free: 2.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.09992, allocations: 32.39 kB / 0.5181 GB, free: 2.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1001, allocations: 99.56 kB / 0.5182 GB, free: 2.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1002, allocations: 115.5 kB / 0.5183 GB, free: 1.988 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1002, allocations: 8 kB / 0.5183 GB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.1004, allocations: 115.8 kB / 0.5185 GB, free: 1.867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.1005, allocations: 63.67 kB / 0.5185 GB, free: 1.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.1005, allocations: 65.58 kB / 0.5186 GB, free: 1.734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1007, allocations: 207.7 kB / 0.5188 GB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1007, allocations: 4 kB / 0.5188 GB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1007, allocations: 0 / 0.5188 GB, free: 1.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1007, allocations: 0 / 0.5188 GB, free: 1.527 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006003/0.1013, allocations: 0.5107 MB / 0.5193 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.1014, allocations: 11.97 kB / 0.5193 GB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.1014, allocations: 27.62 kB / 0.5193 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.1016, allocations: 246.6 kB / 0.5196 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1016, allocations: 24.56 kB / 0.5196 GB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.1016, allocations: 20 kB / 0.5196 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.1021, allocations: 377.2 kB / 0.52 GB, free: 240 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1021, allocations: 0 / 0.52 GB, free: 240 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.1022, allocations: 12 kB / 0.52 GB, free: 228 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.1022, allocations: 28.58 kB / 0.52 GB, free: 196 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.1028, allocations: 382.3 kB / 0.5204 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.104, allocations: 0.8385 MB / 0.5212 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.1045, allocations: 264.7 kB / 0.5214 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.1047, allocations: 104.8 kB / 0.5215 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.1047, allocations: 11.98 kB / 0.5215 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1048, allocations: 30.56 kB / 0.5216 GB, free: 14.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1048, allocations: 0 / 0.5216 GB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007105/0.1055, allocations: 345.2 kB / 0.5219 GB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1055, allocations: 55.39 kB / 0.522 GB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.1059, allocations: 338.9 kB / 0.5223 GB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1059, allocations: 25.7 kB / 0.5223 GB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.106, allocations: 172 kB / 0.5225 GB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.106, allocations: 59.19 kB / 0.5225 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.1061, allocations: 3.938 kB / 0.5225 GB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1062, allocations: 342.8 kB / 0.5229 GB, free: 13.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.1064, allocations: 108.3 kB / 0.523 GB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.1067, allocations: 192 kB / 0.5231 GB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.1069, allocations: 127.8 kB / 0.5233 GB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.107, allocations: 0 / 0.5233 GB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005738/0.1075, allocations: 358.8 kB / 0.5236 GB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1076, allocations: 8 kB / 0.5236 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1076, allocations: 4.375 kB / 0.5236 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1076, allocations: 8 kB / 0.5236 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.1081, allocations: 123.9 kB / 0.5237 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.1099, allocations: 3.653 MB / 0.5273 GB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.1101, allocations: 47.52 kB / 0.5274 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.1101, allocations: 19.94 kB / 0.5274 GB, free: 8.336 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.1103, allocations: 172.5 kB / 0.5275 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.1104, allocations: 31.58 kB / 0.5276 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006483/0.1111, allocations: 331.8 kB / 0.5279 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1111, allocations: 4 kB / 0.5279 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1111, allocations: 0 / 0.5279 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1111, allocations: 4 kB / 0.5279 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.1114, allocations: 293.4 kB / 0.5282 GB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1114, allocations: 0 / 0.5282 GB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.1118, allocations: 111.9 kB / 0.5283 GB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1119, allocations: 3.953 kB / 0.5283 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.1119, allocations: 15.98 kB / 0.5283 GB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.1136, allocations: 3.645 MB / 0.5319 GB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1137, allocations: 0 / 0.5319 GB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.1142, allocations: 370.1 kB / 0.5322 GB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.1143, allocations: 104.8 kB / 0.5323 GB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.1143, allocations: 7.953 kB / 0.5323 GB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.1145, allocations: 8 kB / 0.5323 GB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.1145, allocations: 19.97 kB / 0.5323 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1145, allocations: 8 kB / 0.5324 GB, free: 2.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.1148, allocations: 245.9 kB / 0.5326 GB, free: 2.758 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1148, allocations: 0 / 0.5326 GB, free: 2.758 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.1151, allocations: 72 kB / 0.5327 GB, free: 2.688 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002204/0.1154, allocations: 135.1 kB / 0.5328 GB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000829/0.1162, allocations: 332.2 kB / 0.5331 GB, free: 2.223 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1162, allocations: 0 / 0.5331 GB, free: 2.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.1167, allocations: 195.7 kB / 0.5333 GB, free: 2.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1171, allocations: 60.86 kB / 0.5333 GB, free: 1.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008959/0.118, allocations: 0.6728 MB / 0.534 GB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1184, allocations: 0.7872 MB / 0.5348 GB, free: 468 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.1184, allocations: 31.44 kB / 0.5348 GB, free: 436 kB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1184, allocations: 0 / 0.5348 GB, free: 436 kB / 362.7 MB Notification: Performance of Templates: time 0.01165/0.1301, allocations: 10.8 MB / 0.5453 GB, free: 5.656 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches