Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001847/0.001847, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009494/0.0009492, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2297/0.2297, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003754, allocations: 8 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 58.85 MB / 490.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4042/0.5394, allocations: 91.91 MB / 0.5685 GB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5397, allocations: 95.23 kB / 0.5686 GB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02628/0.566, allocations: 9.441 MB / 0.5778 GB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.566, allocations: 4 kB / 0.5778 GB, free: 15.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.5661, allocations: 8 kB / 0.5778 GB, free: 15.68 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008819/0.5669, allocations: 0.5801 MB / 0.5784 GB, free: 15.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.567, allocations: 8.031 kB / 0.5784 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.5671, allocations: 39.53 kB / 0.5785 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.5675, allocations: 281.4 kB / 0.5787 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.5675, allocations: 32.25 kB / 0.5788 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.5676, allocations: 39.5 kB / 0.5788 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/0.5684, allocations: 0.5355 MB / 0.5793 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5684, allocations: 0 / 0.5793 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.5685, allocations: 15.06 kB / 0.5793 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.5685, allocations: 32.97 kB / 0.5794 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.5694, allocations: 0.5898 MB / 0.5799 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.5712, allocations: 1.196 MB / 0.5811 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.5718, allocations: 382.5 kB / 0.5815 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.5718, allocations: 11.86 kB / 0.5815 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.5718, allocations: 38.75 kB / 0.5815 GB, free: 12.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.023e-06/0.5719, allocations: 0 / 0.5815 GB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009173/0.5728, allocations: 477.3 kB / 0.582 GB, free: 11.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.5728, allocations: 55.41 kB / 0.582 GB, free: 11.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.5732, allocations: 406 kB / 0.5824 GB, free: 11.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.5733, allocations: 29.64 kB / 0.5824 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5734, allocations: 185.5 kB / 0.5826 GB, free: 11.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.5735, allocations: 78.22 kB / 0.5827 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.5735, allocations: 3.875 kB / 0.5827 GB, free: 11.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5736, allocations: 354 kB / 0.583 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.5739, allocations: 127.4 kB / 0.5832 GB, free: 10.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.5741, allocations: 123.6 kB / 0.5833 GB, free: 10.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.5744, allocations: 131.1 kB / 0.5834 GB, free: 10.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5744, allocations: 4 kB / 0.5834 GB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005893/0.575, allocations: 343.5 kB / 0.5837 GB, free: 10.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.575, allocations: 4 kB / 0.5837 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.575, allocations: 0 / 0.5837 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.575, allocations: 8 kB / 0.5837 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.5758, allocations: 155.8 kB / 0.5839 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.579, allocations: 5.515 MB / 0.5893 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.5792, allocations: 50.58 kB / 0.5893 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.5793, allocations: 11.42 kB / 0.5893 GB, free: 4.344 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002266/0.5795, allocations: 197.9 kB / 0.5895 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.5796, allocations: 35.62 kB / 0.5896 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008493/0.5804, allocations: 460.4 kB / 0.59 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5805, allocations: 0 / 0.59 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5805, allocations: 0 / 0.59 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.5805, allocations: 3.984 kB / 0.59 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.5809, allocations: 378.7 kB / 0.5904 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5809, allocations: 0 / 0.5904 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.5817, allocations: 155.8 kB / 0.5905 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.5817, allocations: 0 / 0.5905 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.5817, allocations: 14.88 kB / 0.5905 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/0.585, allocations: 5.523 MB / 0.5959 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.585, allocations: 0 / 0.5959 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/0.5857, allocations: 458.5 kB / 0.5964 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.5858, allocations: 120.6 kB / 0.5965 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.5859, allocations: 3.125 kB / 0.5965 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.5861, allocations: 15.55 kB / 0.5965 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.5861, allocations: 15.97 kB / 0.5965 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.5862, allocations: 14.92 kB / 0.5965 GB, free: 12.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003345/0.5865, allocations: 332.1 kB / 0.5968 GB, free: 12.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5865, allocations: 4 kB / 0.5968 GB, free: 12.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004148/0.5869, allocations: 106.5 kB / 0.5969 GB, free: 12.55 MB / 410.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003161/0.5873, allocations: 184.7 kB / 0.5971 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.5884, allocations: 374.9 kB / 0.5975 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5884, allocations: 4 kB / 0.5975 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007362/0.5891, allocations: 249 kB / 0.5977 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.5896, allocations: 81.39 kB / 0.5978 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.5912, allocations: 0.87 MB / 0.5986 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.5918, allocations: 0.8573 MB / 0.5995 GB, free: 10 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.5921, allocations: 79.22 kB / 0.5996 GB, free: 9.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.5922, allocations: 35.17 kB / 0.5996 GB, free: 9.891 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5922, allocations: 0 / 0.5996 GB, free: 9.891 MB / 410.7 MB Notification: Performance of Templates: time 0.01174/0.6039, allocations: 6.804 MB / 0.6062 GB, free: 3.117 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches