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.001414/0.001414, allocations: 190.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.5 MB / 244.1 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000711/0.0007111, allocations: 101 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2934/0.2934, allocations: 44.82 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3269, allocations: 62.95 MB / 0.5165 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4458, allocations: 92.75 MB / 0.6071 GB, free: 12.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4461, allocations: 95.94 kB / 0.6072 GB, free: 12.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03387/0.48, allocations: 12.22 MB / 0.6191 GB, free: 232 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.48, allocations: 0 / 0.6191 GB, free: 232 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.4801, allocations: 4 kB / 0.6191 GB, free: 228 kB / 426.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.0007089/0.4808, allocations: 0.511 MB / 0.6196 GB, free: 15.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.4808, allocations: 8.031 kB / 0.6196 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.4809, allocations: 24.66 kB / 0.6196 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.4812, allocations: 243.8 kB / 0.6199 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.4812, allocations: 16.94 kB / 0.6199 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.4813, allocations: 28.38 kB / 0.6199 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/0.4819, allocations: 365.8 kB / 0.6203 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4819, allocations: 192 / 0.6203 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.4819, allocations: 19.94 kB / 0.6203 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.482, allocations: 20.66 kB / 0.6203 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.4826, allocations: 382.2 kB / 0.6207 GB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.4839, allocations: 0.8347 MB / 0.6215 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.4843, allocations: 262.3 kB / 0.6217 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.4846, allocations: 100.8 kB / 0.6218 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.4846, allocations: 7.984 kB / 0.6218 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.4846, allocations: 34.56 kB / 0.6219 GB, free: 13.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.4846, allocations: 0 / 0.6219 GB, free: 13.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007705/0.4854, allocations: 350.9 kB / 0.6222 GB, free: 12.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.4855, allocations: 59.34 kB / 0.6223 GB, free: 12.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.4858, allocations: 331 kB / 0.6226 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.4858, allocations: 33.7 kB / 0.6226 GB, free: 12.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4859, allocations: 167.9 kB / 0.6228 GB, free: 12.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.486, allocations: 55.2 kB / 0.6228 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.486, allocations: 7.938 kB / 0.6228 GB, free: 12.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4862, allocations: 346.8 kB / 0.6232 GB, free: 11.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.4864, allocations: 100.4 kB / 0.6232 GB, free: 11.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.4867, allocations: 188 kB / 0.6234 GB, free: 11.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.4872, allocations: 308.8 kB / 0.6237 GB, free: 11.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4872, allocations: 4 kB / 0.6237 GB, free: 11.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006134/0.4878, allocations: 361 kB / 0.6241 GB, free: 10.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4878, allocations: 4 kB / 0.6241 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4878, allocations: 4 kB / 0.6241 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4879, allocations: 7.938 kB / 0.6241 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.4884, allocations: 127.9 kB / 0.6242 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.4901, allocations: 3.649 MB / 0.6278 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.4904, allocations: 35.59 kB / 0.6278 GB, free: 6.867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.4904, allocations: 19.98 kB / 0.6278 GB, free: 6.848 MB / 442.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.0001937/0.4906, allocations: 184.3 kB / 0.628 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.4907, allocations: 27.66 kB / 0.628 GB, free: 6.633 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.4913, allocations: 337.2 kB / 0.6283 GB, free: 6.293 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4913, allocations: 4 kB / 0.6283 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4914, allocations: 0 / 0.6283 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4914, allocations: 0 / 0.6283 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.4917, allocations: 301.4 kB / 0.6286 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4917, allocations: 0 / 0.6286 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.4922, allocations: 104 kB / 0.6287 GB, free: 5.844 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4922, allocations: 4 kB / 0.6287 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.4922, allocations: 11.98 kB / 0.6288 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.494, allocations: 3.649 MB / 0.6323 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4941, allocations: 288 / 0.6323 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.4946, allocations: 359 kB / 0.6327 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.4947, allocations: 100.8 kB / 0.6328 GB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.4947, allocations: 4 kB / 0.6328 GB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.4949, allocations: 15.98 kB / 0.6328 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.4949, allocations: 19.92 kB / 0.6328 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.495, allocations: 7.938 kB / 0.6328 GB, free: 1.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002478/0.4952, allocations: 245.9 kB / 0.633 GB, free: 1.266 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4952, allocations: 0 / 0.633 GB, free: 1.266 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004073/0.4956, allocations: 83.84 kB / 0.6331 GB, free: 1.184 MB / 442.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.0002742/0.4959, allocations: 172.2 kB / 0.6333 GB, free: 1.012 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009014/0.4968, allocations: 322.3 kB / 0.6336 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4968, allocations: 0 / 0.6336 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005702/0.4974, allocations: 195.9 kB / 0.6338 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.4979, allocations: 61.59 kB / 0.6338 GB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.4989, allocations: 0.6589 MB / 0.6345 GB, free: 15.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.4993, allocations: 0.7873 MB / 0.6352 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.4994, allocations: 27.42 kB / 0.6353 GB, free: 14.92 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4994, allocations: 0 / 0.6353 GB, free: 14.92 MB / 458.7 MB Notification: Performance of Templates: time 0.01397/0.5134, allocations: 10.86 MB / 0.6459 GB, free: 4.07 MB / 458.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/jenkins1/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