Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001432, allocations: 178.4 kB / 8.362 MB, free: 0.7148 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.998/1.998, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001081, allocations: 93.09 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2946/0.2946, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.562e-05, allocations: 4.219 kB / 418.2 MB, free: 41.01 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4034, allocations: 58.86 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.5739, allocations: 92.17 MB / 0.5559 GB, free: 7.102 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/0.5743, allocations: 91.94 kB / 0.556 GB, free: 7.012 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05015/0.6245, allocations: 10.54 MB / 0.5663 GB, free: 12.3 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6246, allocations: 0 / 0.5663 GB, free: 12.3 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.6246, allocations: 8 kB / 0.5663 GB, free: 12.3 MB / 411.1 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.0014/0.626, allocations: 0.6075 MB / 0.5669 GB, free: 11.64 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.6261, allocations: 12.03 kB / 0.5669 GB, free: 11.63 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.6263, allocations: 43.44 kB / 0.567 GB, free: 11.59 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.6269, allocations: 282.2 kB / 0.5672 GB, free: 11.27 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.6269, allocations: 16 kB / 0.5673 GB, free: 11.26 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.627, allocations: 23.94 kB / 0.5673 GB, free: 11.23 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008723/0.6279, allocations: 329.9 kB / 0.5676 GB, free: 10.91 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.6291, allocations: 498.5 kB / 0.5681 GB, free: 10.41 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.6292, allocations: 0 / 0.5681 GB, free: 10.41 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.6292, allocations: 3.984 kB / 0.5681 GB, free: 10.41 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/0.6293, allocations: 24.78 kB / 0.5681 GB, free: 10.38 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.6323, allocations: 1.241 MB / 0.5693 GB, free: 9.09 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.633, allocations: 231.7 kB / 0.5695 GB, free: 8.836 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.6333, allocations: 107.3 kB / 0.5696 GB, free: 8.723 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.6334, allocations: 11.92 kB / 0.5696 GB, free: 8.711 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.6334, allocations: 34.56 kB / 0.5697 GB, free: 8.668 MB / 411.1 MB Notification: Performance of pre-optimization done (n=17): time 3.366e-06/0.6335, allocations: 4 kB / 0.5697 GB, free: 8.664 MB / 411.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008997/0.6344, allocations: 249.2 kB / 0.5699 GB, free: 8.414 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.6345, allocations: 110.8 kB / 0.57 GB, free: 8.281 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.6348, allocations: 183.2 kB / 0.5702 GB, free: 8.094 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.6348, allocations: 25.7 kB / 0.5702 GB, free: 8.062 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.635, allocations: 286.3 kB / 0.5705 GB, free: 7.777 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.881e-05/0.6351, allocations: 59.19 kB / 0.5706 GB, free: 7.719 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.6352, allocations: 4.062 kB / 0.5706 GB, free: 7.715 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6353, allocations: 314.8 kB / 0.5709 GB, free: 7.398 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.6356, allocations: 100.1 kB / 0.571 GB, free: 7.297 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.636, allocations: 129.4 kB / 0.5711 GB, free: 7.152 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.6364, allocations: 119.9 kB / 0.5712 GB, free: 7.035 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6364, allocations: 3.938 kB / 0.5712 GB, free: 7.031 MB / 411.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008609/0.6373, allocations: 273.3 kB / 0.5715 GB, free: 6.758 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.6373, allocations: 4 kB / 0.5715 GB, free: 6.754 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/0.6374, allocations: 35.97 kB / 0.5715 GB, free: 6.719 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.6375, allocations: 0 / 0.5715 GB, free: 6.719 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.6379, allocations: 44.06 kB / 0.5715 GB, free: 6.676 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.6379, allocations: 4 kB / 0.5715 GB, free: 6.672 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.6383, allocations: 35.77 kB / 0.5716 GB, free: 6.637 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.6384, allocations: 15.98 kB / 0.5716 GB, free: 6.621 MB / 411.1 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 () * 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.0001538/0.6386, allocations: 108.9 kB / 0.5717 GB, free: 6.508 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.6387, allocations: 15.81 kB / 0.5717 GB, free: 6.492 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.6398, allocations: 335.2 kB / 0.572 GB, free: 6.16 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.6398, allocations: 4 kB / 0.572 GB, free: 6.156 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.6399, allocations: 8 kB / 0.572 GB, free: 6.148 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6399, allocations: 0 / 0.572 GB, free: 6.148 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.6407, allocations: 325.8 kB / 0.5723 GB, free: 5.793 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.966e-05/0.6408, allocations: 31.97 kB / 0.5724 GB, free: 5.762 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.6412, allocations: 31.97 kB / 0.5724 GB, free: 5.73 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.6412, allocations: 0 / 0.5724 GB, free: 5.73 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.6412, allocations: 12 kB / 0.5724 GB, free: 5.719 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.6413, allocations: 3.984 kB / 0.5724 GB, free: 5.715 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.6413, allocations: 7.938 kB / 0.5724 GB, free: 5.707 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.6422, allocations: 0.5158 MB / 0.5729 GB, free: 5.168 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.6424, allocations: 92.86 kB / 0.573 GB, free: 5.059 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.6424, allocations: 7.984 kB / 0.573 GB, free: 5.051 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.6429, allocations: 23.98 kB / 0.5731 GB, free: 5.027 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6431, allocations: 27.86 kB / 0.5731 GB, free: 5 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.6431, allocations: 8 kB / 0.5731 GB, free: 4.992 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.6433, allocations: 153.5 kB / 0.5732 GB, free: 4.844 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6433, allocations: 0 / 0.5732 GB, free: 4.844 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008664/0.6442, allocations: 139.5 kB / 0.5734 GB, free: 4.707 MB / 411.1 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 (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.0005455/0.6448, allocations: 201.6 kB / 0.5736 GB, free: 4.5 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0009324/0.6457, allocations: 463.1 kB / 0.574 GB, free: 3.992 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6458, allocations: 0 / 0.574 GB, free: 3.992 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000512/0.6463, allocations: 355.2 kB / 0.5743 GB, free: 3.59 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.6469, allocations: 23.64 kB / 0.5744 GB, free: 3.57 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.6489, allocations: 0.5585 MB / 0.5749 GB, free: 2.977 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/0.6495, allocations: 0.8566 MB / 0.5757 GB, free: 2.094 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6497, allocations: 15.44 kB / 0.5758 GB, free: 2.078 MB / 411.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6497, allocations: 0 / 0.5758 GB, free: 2.078 MB / 411.1 MB Notification: Performance of Templates: time 0.0146/0.6643, allocations: 5.558 MB / 0.5812 GB, free: 12.52 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches