Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009474/0.0009474, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.3 MB / 213.7 MB, free: 1.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007902/0.0007902, allocations: 90.28 kB / 261.7 MB, free: 1.629 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1843/0.1843, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.455e-05/1.457e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4548, allocations: 92.02 MB / 0.5558 GB, free: 3.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.4551, allocations: 96.58 kB / 0.5559 GB, free: 3.363 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03376/0.4889, allocations: 13.36 MB / 0.5689 GB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.489, allocations: 0 / 0.5689 GB, free: 8.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.489, allocations: 7.938 kB / 0.5689 GB, free: 8.223 MB / 378.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.0007861/0.4898, allocations: 0.5558 MB / 0.5695 GB, free: 7.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4898, allocations: 8.031 kB / 0.5695 GB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.4899, allocations: 35.58 kB / 0.5695 GB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.4902, allocations: 246.4 kB / 0.5698 GB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.4903, allocations: 8 kB / 0.5698 GB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.4903, allocations: 16 kB / 0.5698 GB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003458/0.4907, allocations: 234.1 kB / 0.57 GB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.4912, allocations: 363 kB / 0.5704 GB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4912, allocations: 0 / 0.5704 GB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.4912, allocations: 0.9375 kB / 0.5704 GB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.4912, allocations: 20.55 kB / 0.5704 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.4925, allocations: 1.017 MB / 0.5714 GB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.4928, allocations: 198.7 kB / 0.5716 GB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.4929, allocations: 82.31 kB / 0.5716 GB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.493, allocations: 11.97 kB / 0.5717 GB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.493, allocations: 38.38 kB / 0.5717 GB, free: 5.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.493, allocations: 0 / 0.5717 GB, free: 5.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004128/0.4934, allocations: 192.8 kB / 0.5719 GB, free: 5.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.4935, allocations: 106.9 kB / 0.572 GB, free: 5.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.4937, allocations: 214.4 kB / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.4937, allocations: 29.7 kB / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4938, allocations: 206.5 kB / 0.5724 GB, free: 4.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.4939, allocations: 50.89 kB / 0.5725 GB, free: 4.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.4939, allocations: 0 / 0.5725 GB, free: 4.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.494, allocations: 334.6 kB / 0.5728 GB, free: 4.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.4942, allocations: 79.3 kB / 0.5728 GB, free: 4.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.4944, allocations: 199.1 kB / 0.573 GB, free: 4.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.4946, allocations: 119.1 kB / 0.5732 GB, free: 4.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4946, allocations: 4 kB / 0.5732 GB, free: 4.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004543/0.4951, allocations: 311.7 kB / 0.5735 GB, free: 3.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4951, allocations: 8 kB / 0.5735 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-05/0.4951, allocations: 19.98 kB / 0.5735 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4952, allocations: 8 kB / 0.5735 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.4954, allocations: 55.89 kB / 0.5735 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4955, allocations: 7.938 kB / 0.5735 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.4957, allocations: 51.59 kB / 0.5736 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.4957, allocations: 12 kB / 0.5736 GB, free: 3.586 MB / 378.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.000109/0.4959, allocations: 117 kB / 0.5737 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.4959, allocations: 23.73 kB / 0.5737 GB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.4964, allocations: 246.1 kB / 0.574 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4964, allocations: 0 / 0.574 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4964, allocations: 4 kB / 0.574 GB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4964, allocations: 0 / 0.574 GB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.4968, allocations: 272.8 kB / 0.5742 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/0.4969, allocations: 23.98 kB / 0.5743 GB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.4971, allocations: 39.72 kB / 0.5743 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.4971, allocations: 4 kB / 0.5743 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4971, allocations: 7.938 kB / 0.5743 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4971, allocations: 0 / 0.5743 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4971, allocations: 0 / 0.5743 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.4976, allocations: 467.2 kB / 0.5748 GB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.4976, allocations: 92.92 kB / 0.5748 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.4977, allocations: 0 / 0.5748 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.4979, allocations: 27.97 kB / 0.5749 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.498, allocations: 19.17 kB / 0.5749 GB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.498, allocations: 15.98 kB / 0.5749 GB, free: 2.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.4982, allocations: 160.5 kB / 0.5751 GB, free: 2.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4982, allocations: 0 / 0.5751 GB, free: 2.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005573/0.4987, allocations: 110.5 kB / 0.5752 GB, free: 2.008 MB / 378.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.0003225/0.4991, allocations: 186.3 kB / 0.5753 GB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004392/0.4995, allocations: 355.3 kB / 0.5757 GB, free: 1.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4995, allocations: 4 kB / 0.5757 GB, free: 1.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.4997, allocations: 245.5 kB / 0.5759 GB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.5, allocations: 30.7 kB / 0.576 GB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.5009, allocations: 408.2 kB / 0.5763 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.5013, allocations: 0.8023 MB / 0.5771 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.5014, allocations: 49.8 kB / 0.5772 GB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.5015, allocations: 11.44 kB / 0.5772 GB, free: 15.89 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5015, allocations: 8 kB / 0.5772 GB, free: 15.88 MB / 394.7 MB Notification: Performance of Templates: time 0.006278/0.5077, allocations: 3.495 MB / 0.5806 GB, free: 12.4 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches