Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent,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.|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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,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.|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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.293/1.293, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008278, allocations: 88.81 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.306/0.306, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3357, allocations: 61.9 MB / 0.5096 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.4558, allocations: 94.05 MB / 0.6014 GB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.4561, allocations: 107.7 kB / 0.6015 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02776/0.4839, allocations: 10.96 MB / 0.6122 GB, free: 5.855 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.484, allocations: 0 / 0.6122 GB, free: 5.855 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.484, allocations: 8 kB / 0.6122 GB, free: 5.848 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009441/0.4849, allocations: 0.6471 MB / 0.6129 GB, free: 5.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.485, allocations: 12.02 kB / 0.6129 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.4851, allocations: 43.53 kB / 0.6129 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.4855, allocations: 284.1 kB / 0.6132 GB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.4855, allocations: 32.94 kB / 0.6132 GB, free: 4.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.4856, allocations: 40 kB / 0.6133 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/0.4865, allocations: 0.5854 MB / 0.6138 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4866, allocations: 0 / 0.6138 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.4866, allocations: 16 kB / 0.6138 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/0.4867, allocations: 24.98 kB / 0.6139 GB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007978/0.4875, allocations: 451.5 kB / 0.6143 GB, free: 3.625 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.4893, allocations: 1.406 MB / 0.6157 GB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.4899, allocations: 295.5 kB / 0.616 GB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.4899, allocations: 7.984 kB / 0.616 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.49, allocations: 38.5 kB / 0.616 GB, free: 1.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/0.49, allocations: 0 / 0.616 GB, free: 1.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001229/0.4912, allocations: 0.7095 MB / 0.6167 GB, free: 1.012 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.4913, allocations: 102.8 kB / 0.6168 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.4918, allocations: 457.1 kB / 0.6172 GB, free: 448 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.4918, allocations: 29.7 kB / 0.6173 GB, free: 412 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.492, allocations: 208.2 kB / 0.6175 GB, free: 200 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.4921, allocations: 63.09 kB / 0.6175 GB, free: 136 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.4921, allocations: 4 kB / 0.6175 GB, free: 132 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4922, allocations: 354.8 kB / 0.6179 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.4926, allocations: 140 kB / 0.618 GB, free: 15.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.4929, allocations: 186.2 kB / 0.6182 GB, free: 15.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.4932, allocations: 151.9 kB / 0.6183 GB, free: 15.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4932, allocations: 112 / 0.6183 GB, free: 15.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007944/0.494, allocations: 398.6 kB / 0.6187 GB, free: 14.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4941, allocations: 8 kB / 0.6187 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.853e-05/0.4941, allocations: 27.97 kB / 0.6187 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4942, allocations: 4 kB / 0.6187 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4944, allocations: 48.06 kB / 0.6188 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.4944, allocations: 0 / 0.6188 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.4947, allocations: 67.34 kB / 0.6188 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.4947, allocations: 15.98 kB / 0.6189 GB, free: 14.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001937/0.4949, allocations: 191.6 kB / 0.619 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.495, allocations: 35.53 kB / 0.6191 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/0.4958, allocations: 396.5 kB / 0.6195 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4958, allocations: 8 kB / 0.6195 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4958, allocations: 0 / 0.6195 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4958, allocations: 0 / 0.6195 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.4963, allocations: 361.4 kB / 0.6198 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-05/0.4964, allocations: 27.98 kB / 0.6198 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.4965, allocations: 31.97 kB / 0.6199 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4965, allocations: 0 / 0.6199 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.4966, allocations: 15.92 kB / 0.6199 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4966, allocations: 8 kB / 0.6199 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4966, allocations: 0 / 0.6199 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/0.4974, allocations: 0.6237 MB / 0.6205 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.4976, allocations: 120.6 kB / 0.6206 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.4976, allocations: 8 kB / 0.6206 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.4979, allocations: 23.97 kB / 0.6206 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.498, allocations: 19.92 kB / 0.6207 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.4981, allocations: 11.98 kB / 0.6207 GB, free: 12.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003793/0.4984, allocations: 383 kB / 0.621 GB, free: 12.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4985, allocations: 0 / 0.621 GB, free: 12.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005498/0.499, allocations: 119.8 kB / 0.6211 GB, free: 12.26 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00043/0.4994, allocations: 199 kB / 0.6213 GB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009571/0.5004, allocations: 0.5461 MB / 0.6219 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5004, allocations: 0 / 0.6219 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.5009, allocations: 387.1 kB / 0.6222 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.5015, allocations: 97.61 kB / 0.6223 GB, free: 10.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.503, allocations: 0.8837 MB / 0.6232 GB, free: 10.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.5034, allocations: 0.8538 MB / 0.624 GB, free: 9.125 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.5036, allocations: 67.23 kB / 0.6241 GB, free: 9.055 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.5037, allocations: 23.44 kB / 0.6241 GB, free: 9.031 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5037, allocations: 0 / 0.6241 GB, free: 9.031 MB / 442.7 MB Notification: Performance of Templates: time 0.0121/0.5158, allocations: 6.84 MB / 0.6308 GB, free: 2.297 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches