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.001049/0.00105, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.273/1.273, allocations: 221.3 MB / 236 MB, free: 2.988 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 83.69 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1756/0.1756, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.603e-05, allocations: 4.219 kB / 451.9 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.4543, allocations: 93.79 MB / 0.5933 GB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4545, allocations: 99.88 kB / 0.5934 GB, free: 11.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03538/0.4899, allocations: 13.77 MB / 0.6069 GB, free: 13.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.49, allocations: 0 / 0.6069 GB, free: 13.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.49, allocations: 4 kB / 0.6069 GB, free: 13.56 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.0007712/0.4908, allocations: 0.5528 MB / 0.6074 GB, free: 12.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4908, allocations: 8.031 kB / 0.6074 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.4909, allocations: 31.62 kB / 0.6074 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.4912, allocations: 254.5 kB / 0.6077 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4913, allocations: 20.56 kB / 0.6077 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.4913, allocations: 31.98 kB / 0.6077 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.4919, allocations: 398.8 kB / 0.6081 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4919, allocations: 0 / 0.6081 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.4919, allocations: 12 kB / 0.6081 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.492, allocations: 16.55 kB / 0.6081 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.4923, allocations: 270 kB / 0.6084 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.4938, allocations: 1.104 MB / 0.6095 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.4941, allocations: 219.7 kB / 0.6097 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.4942, allocations: 78.53 kB / 0.6098 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.4943, allocations: 15.92 kB / 0.6098 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.4943, allocations: 38.56 kB / 0.6098 GB, free: 10.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.4943, allocations: 96 / 0.6098 GB, free: 10.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004435/0.4948, allocations: 209.1 kB / 0.61 GB, free: 10.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.4948, allocations: 102.8 kB / 0.6101 GB, free: 9.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.4953, allocations: 359.4 kB / 0.6104 GB, free: 9.617 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.4953, allocations: 29.7 kB / 0.6105 GB, free: 9.582 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4954, allocations: 188 kB / 0.6107 GB, free: 9.395 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.4955, allocations: 51.2 kB / 0.6107 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.4955, allocations: 8 kB / 0.6107 GB, free: 9.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4956, allocations: 342.8 kB / 0.611 GB, free: 8.992 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.4958, allocations: 88.11 kB / 0.6111 GB, free: 8.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.496, allocations: 200.4 kB / 0.6113 GB, free: 8.652 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.4962, allocations: 123.8 kB / 0.6114 GB, free: 8.531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4962, allocations: 3.953 kB / 0.6114 GB, free: 8.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005134/0.4967, allocations: 345.2 kB / 0.6118 GB, free: 8.184 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4968, allocations: 8.094 kB / 0.6118 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.736e-05/0.4968, allocations: 24.17 kB / 0.6118 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4968, allocations: 4 kB / 0.6118 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.4971, allocations: 59.83 kB / 0.6119 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4971, allocations: 7.938 kB / 0.6119 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.4974, allocations: 59.66 kB / 0.6119 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.4974, allocations: 19.98 kB / 0.6119 GB, free: 8.004 MB / 426.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.0001032/0.4976, allocations: 126.9 kB / 0.6121 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/0.4976, allocations: 31.58 kB / 0.6121 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.4981, allocations: 260.2 kB / 0.6123 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4982, allocations: 7.938 kB / 0.6123 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4982, allocations: 0 / 0.6123 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4982, allocations: 4 kB / 0.6124 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.4986, allocations: 305.4 kB / 0.6126 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/0.4987, allocations: 16.08 kB / 0.6127 GB, free: 7.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.4988, allocations: 43.86 kB / 0.6127 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4988, allocations: 0 / 0.6127 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.4989, allocations: 8 kB / 0.6127 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4989, allocations: 7.984 kB / 0.6127 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4989, allocations: 0 / 0.6127 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.4993, allocations: 485.1 kB / 0.6132 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.4994, allocations: 108.7 kB / 0.6133 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.4995, allocations: 0 / 0.6133 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.4998, allocations: 23.98 kB / 0.6133 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.4998, allocations: 15.97 kB / 0.6133 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.4999, allocations: 12 kB / 0.6133 GB, free: 6.473 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002581/0.5001, allocations: 278.1 kB / 0.6136 GB, free: 6.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5001, allocations: 0 / 0.6136 GB, free: 6.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005082/0.5006, allocations: 107.8 kB / 0.6137 GB, free: 6.098 MB / 426.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.000298/0.501, allocations: 177.8 kB / 0.6139 GB, free: 5.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.5014, allocations: 373.8 kB / 0.6142 GB, free: 5.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5014, allocations: 3.938 kB / 0.6142 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.5016, allocations: 239.2 kB / 0.6145 GB, free: 5.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.502, allocations: 81.59 kB / 0.6145 GB, free: 5.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008269/0.5029, allocations: 448.3 kB / 0.615 GB, free: 4.691 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.5033, allocations: 0.8067 MB / 0.6158 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.5035, allocations: 58.94 kB / 0.6158 GB, free: 3.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.5035, allocations: 23.42 kB / 0.6158 GB, free: 3.781 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5035, allocations: 0 / 0.6158 GB, free: 3.781 MB / 426.7 MB Notification: Performance of Templates: time 0.009096/0.5126, allocations: 5.439 MB / 0.6211 GB, free: 14.41 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/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches