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_laminar.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_laminar,tolerance=1e-06,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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,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_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002307/0.002306, 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 2.012/2.012, 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.001085/0.001084, 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.3801/0.3801, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.466e-05, allocations: 4.219 kB / 418.2 MB, free: 41.01 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4201, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.5978, allocations: 92.97 MB / 0.5567 GB, free: 6.305 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004085/0.5983, allocations: 99.92 kB / 0.5568 GB, free: 6.207 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05071/0.649, allocations: 10.66 MB / 0.5672 GB, free: 11.38 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6491, allocations: 0 / 0.5672 GB, free: 11.38 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.364e-05/0.6491, allocations: 8 kB / 0.5672 GB, free: 11.37 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.001446/0.6505, allocations: 0.6114 MB / 0.5678 GB, free: 10.71 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.6506, allocations: 12.03 kB / 0.5678 GB, free: 10.7 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.6508, allocations: 43.44 kB / 0.5679 GB, free: 10.66 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.6514, allocations: 286.2 kB / 0.5682 GB, free: 10.34 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.6515, allocations: 16 kB / 0.5682 GB, free: 10.32 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.6516, allocations: 24 kB / 0.5682 GB, free: 10.3 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000927/0.6525, allocations: 325.9 kB / 0.5685 GB, free: 9.984 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.6537, allocations: 498.5 kB / 0.569 GB, free: 9.48 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.6538, allocations: 3.984 kB / 0.569 GB, free: 9.477 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.6539, allocations: 0 / 0.569 GB, free: 9.477 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/0.6539, allocations: 24.78 kB / 0.569 GB, free: 9.453 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.6571, allocations: 1.237 MB / 0.5702 GB, free: 8.164 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.6577, allocations: 235.6 kB / 0.5704 GB, free: 7.906 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.6581, allocations: 103.3 kB / 0.5705 GB, free: 7.797 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.769e-05/0.6581, allocations: 11.97 kB / 0.5705 GB, free: 7.785 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.6582, allocations: 42.5 kB / 0.5706 GB, free: 7.734 MB / 411.1 MB Notification: Performance of pre-optimization done (n=17): time 4.128e-06/0.6582, allocations: 0 / 0.5706 GB, free: 7.734 MB / 411.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009074/0.6591, allocations: 253.2 kB / 0.5708 GB, free: 7.48 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/0.6592, allocations: 114.8 kB / 0.5709 GB, free: 7.344 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.6595, allocations: 175.1 kB / 0.5711 GB, free: 7.164 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.6596, allocations: 25.7 kB / 0.5711 GB, free: 7.133 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.6598, allocations: 286.3 kB / 0.5714 GB, free: 6.852 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.6599, allocations: 59.27 kB / 0.5715 GB, free: 6.793 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.6599, allocations: 0 / 0.5715 GB, free: 6.793 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.6602, allocations: 322.8 kB / 0.5718 GB, free: 6.469 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.6605, allocations: 92.09 kB / 0.5719 GB, free: 6.375 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.6608, allocations: 137.4 kB / 0.572 GB, free: 6.223 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.6612, allocations: 115.8 kB / 0.5721 GB, free: 6.109 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6612, allocations: 0 / 0.5721 GB, free: 6.109 MB / 411.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008785/0.6621, allocations: 273.4 kB / 0.5724 GB, free: 5.836 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.6622, allocations: 4 kB / 0.5724 GB, free: 5.832 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.6623, allocations: 31.97 kB / 0.5724 GB, free: 5.801 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.6623, allocations: 0 / 0.5724 GB, free: 5.801 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.6628, allocations: 52 kB / 0.5724 GB, free: 5.75 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.6628, allocations: 4 kB / 0.5724 GB, free: 5.746 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.6632, allocations: 39.77 kB / 0.5725 GB, free: 5.707 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.6633, allocations: 8 kB / 0.5725 GB, free: 5.699 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.0001589/0.6635, allocations: 112.9 kB / 0.5726 GB, free: 5.582 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.6636, allocations: 15.81 kB / 0.5726 GB, free: 5.566 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.6647, allocations: 331.2 kB / 0.5729 GB, free: 5.234 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.6648, allocations: 4 kB / 0.5729 GB, free: 5.23 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.6648, allocations: 4 kB / 0.5729 GB, free: 5.227 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6648, allocations: 0 / 0.5729 GB, free: 5.227 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008358/0.6657, allocations: 333.8 kB / 0.5733 GB, free: 4.863 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001071/0.6658, allocations: 35.97 kB / 0.5733 GB, free: 4.828 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.6661, allocations: 27.97 kB / 0.5733 GB, free: 4.801 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.6662, allocations: 3.984 kB / 0.5733 GB, free: 4.797 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.6662, allocations: 8 kB / 0.5733 GB, free: 4.789 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6662, allocations: 0 / 0.5733 GB, free: 4.789 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.6663, allocations: 4 kB / 0.5733 GB, free: 4.785 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.6672, allocations: 0.5275 MB / 0.5738 GB, free: 4.234 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.6674, allocations: 92.86 kB / 0.5739 GB, free: 4.125 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.6675, allocations: 4 kB / 0.5739 GB, free: 4.121 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.6679, allocations: 27.97 kB / 0.574 GB, free: 4.094 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.6681, allocations: 23.92 kB / 0.574 GB, free: 4.07 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.6681, allocations: 11.94 kB / 0.574 GB, free: 4.059 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.6683, allocations: 149.5 kB / 0.5741 GB, free: 3.914 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6684, allocations: 0 / 0.5741 GB, free: 3.914 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009075/0.6693, allocations: 147.5 kB / 0.5743 GB, free: 3.77 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.0005585/0.6699, allocations: 201.7 kB / 0.5745 GB, free: 3.566 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0009296/0.6708, allocations: 459.1 kB / 0.5749 GB, free: 3.062 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.6708, allocations: 4 kB / 0.5749 GB, free: 3.059 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.6714, allocations: 355.2 kB / 0.5753 GB, free: 2.656 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.6719, allocations: 28.02 kB / 0.5753 GB, free: 2.633 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.674, allocations: 0.562 MB / 0.5758 GB, free: 2.031 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.6747, allocations: 0.8566 MB / 0.5767 GB, free: 1.148 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.6748, allocations: 11.44 kB / 0.5767 GB, free: 1.137 MB / 411.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6748, allocations: 4 kB / 0.5767 GB, free: 1.133 MB / 411.1 MB Notification: Performance of Templates: time 0.01398/0.6888, allocations: 5.581 MB / 0.5821 GB, free: 11.55 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches