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.002203/0.002202, allocations: 182.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001109/0.001109, allocations: 94.64 kB / 267.5 MB, free: 14.11 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.2797/0.2797, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.945e-05, allocations: 0 / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 58.85 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5432/0.6602, allocations: 92.84 MB / 0.5635 GB, free: 10.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/0.6606, allocations: 98.03 kB / 0.5636 GB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04666/0.7073, allocations: 10.68 MB / 0.574 GB, free: 1.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7074, allocations: 0 / 0.574 GB, free: 1.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.7074, allocations: 4 kB / 0.574 GB, free: 1.402 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001222/0.7086, allocations: 0.6129 MB / 0.5746 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7087, allocations: 8.031 kB / 0.5746 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.7088, allocations: 43.44 kB / 0.5746 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.7094, allocations: 291.3 kB / 0.5749 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.7094, allocations: 26.78 kB / 0.5749 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.7095, allocations: 41.38 kB / 0.575 GB, free: 372 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.7108, allocations: 0.5379 MB / 0.5755 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.7108, allocations: 0 / 0.5755 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.927e-05/0.7109, allocations: 18.25 kB / 0.5755 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.7109, allocations: 24.7 kB / 0.5756 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/0.7118, allocations: 361.2 kB / 0.5759 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.7147, allocations: 1.415 MB / 0.5773 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.7153, allocations: 244.1 kB / 0.5775 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.7156, allocations: 105.8 kB / 0.5776 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/0.7157, allocations: 11.67 kB / 0.5776 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.7158, allocations: 34.56 kB / 0.5777 GB, free: 13.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.455e-06/0.7158, allocations: 7.938 kB / 0.5777 GB, free: 13.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009305/0.7167, allocations: 276.6 kB / 0.5779 GB, free: 13.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.7168, allocations: 106.8 kB / 0.578 GB, free: 13.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.7176, allocations: 451.1 kB / 0.5785 GB, free: 13.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.7177, allocations: 28.83 kB / 0.5785 GB, free: 13.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.7178, allocations: 241.5 kB / 0.5787 GB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/0.7179, allocations: 58 kB / 0.5788 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.718, allocations: 0 / 0.5788 GB, free: 12.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7181, allocations: 322.2 kB / 0.5791 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.7184, allocations: 98.16 kB / 0.5792 GB, free: 12.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.7188, allocations: 142.4 kB / 0.5793 GB, free: 12.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.7192, allocations: 124.8 kB / 0.5794 GB, free: 12.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7192, allocations: 0 / 0.5794 GB, free: 12.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008755/0.7201, allocations: 287.9 kB / 0.5797 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.7201, allocations: 11.98 kB / 0.5797 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-05/0.7202, allocations: 23.98 kB / 0.5797 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.7202, allocations: 4 kB / 0.5797 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.7206, allocations: 44.11 kB / 0.5798 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.7207, allocations: 3.953 kB / 0.5798 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.7212, allocations: 62.48 kB / 0.5798 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.7212, allocations: 15.11 kB / 0.5799 GB, free: 11.84 MB / 394.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 () * 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.0001248/0.7214, allocations: 122.5 kB / 0.58 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.7215, allocations: 35.53 kB / 0.58 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.7226, allocations: 361.6 kB / 0.5804 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.7227, allocations: 4 kB / 0.5804 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7227, allocations: 0 / 0.5804 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.7227, allocations: 3.953 kB / 0.5804 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007717/0.7235, allocations: 371 kB / 0.5807 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-05/0.7236, allocations: 27.98 kB / 0.5807 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.7239, allocations: 35.91 kB / 0.5808 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.7239, allocations: 7.984 kB / 0.5808 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.7239, allocations: 11.12 kB / 0.5808 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-06/0.724, allocations: 4 kB / 0.5808 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.724, allocations: 0 / 0.5808 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009396/0.7249, allocations: 0.5408 MB / 0.5813 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.7251, allocations: 120.6 kB / 0.5814 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.055e-05/0.7252, allocations: 7.938 kB / 0.5815 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005085/0.7257, allocations: 39.3 kB / 0.5815 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.7258, allocations: 15.67 kB / 0.5815 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.7259, allocations: 11.98 kB / 0.5815 GB, free: 10.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006061/0.7265, allocations: 370.1 kB / 0.5819 GB, free: 9.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7265, allocations: 0 / 0.5819 GB, free: 9.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007472/0.7273, allocations: 119.5 kB / 0.582 GB, free: 9.754 MB / 394.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 (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.00045/0.7278, allocations: 195.5 kB / 0.5822 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.7287, allocations: 472.3 kB / 0.5826 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7287, allocations: 0 / 0.5826 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.7292, allocations: 353.4 kB / 0.583 GB, free: 8.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/0.73, allocations: 93.69 kB / 0.583 GB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.7319, allocations: 0.6157 MB / 0.5836 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.7325, allocations: 0.8561 MB / 0.5845 GB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.7326, allocations: 27.38 kB / 0.5845 GB, free: 7.109 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.7326, allocations: 0 / 0.5845 GB, free: 7.109 MB / 394.7 MB Notification: Performance of Templates: time 0.01572/0.7484, allocations: 7.092 MB / 0.5914 GB, free: 56 kB / 394.7 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