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_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_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_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.001487/0.001487, allocations: 183.3 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.605/1.605, 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.0008694/0.0008692, allocations: 106.8 kB / 270.2 MB, free: 13.35 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.2041/0.2041, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 11.94 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 58.86 MB / 490.3 MB, free: 8.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4644/0.6056, allocations: 93.72 MB / 0.5703 GB, free: 6.117 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/0.606, allocations: 96.88 kB / 0.5704 GB, free: 6.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03034/0.6364, allocations: 10.8 MB / 0.5809 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6365, allocations: 0 / 0.5809 GB, free: 12.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.6365, allocations: 4 kB / 0.5809 GB, free: 12.62 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009823/0.6375, allocations: 0.6458 MB / 0.5816 GB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.6375, allocations: 12.03 kB / 0.5816 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.6376, allocations: 51.36 kB / 0.5816 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.638, allocations: 281.8 kB / 0.5819 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.638, allocations: 28.5 kB / 0.5819 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.6381, allocations: 39.31 kB / 0.582 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009156/0.639, allocations: 0.5875 MB / 0.5825 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6391, allocations: 0 / 0.5825 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.6391, allocations: 19.3 kB / 0.5826 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.6392, allocations: 24.98 kB / 0.5826 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007986/0.64, allocations: 451.6 kB / 0.583 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.6419, allocations: 1.399 MB / 0.5844 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.6424, allocations: 282.6 kB / 0.5847 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.6424, allocations: 15.91 kB / 0.5847 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.6425, allocations: 34.36 kB / 0.5847 GB, free: 9.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.6425, allocations: 7.938 kB / 0.5847 GB, free: 9.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001302/0.6438, allocations: 0.7065 MB / 0.5854 GB, free: 8.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.6439, allocations: 110.9 kB / 0.5855 GB, free: 8.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/0.6445, allocations: 458.1 kB / 0.5859 GB, free: 7.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.6445, allocations: 25.7 kB / 0.586 GB, free: 7.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.6447, allocations: 208.5 kB / 0.5862 GB, free: 7.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.6448, allocations: 57.11 kB / 0.5862 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.6448, allocations: 3.188 kB / 0.5862 GB, free: 7.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.645, allocations: 352.1 kB / 0.5866 GB, free: 7.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.6454, allocations: 141.5 kB / 0.5867 GB, free: 7.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.6457, allocations: 186.4 kB / 0.5869 GB, free: 6.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.646, allocations: 150.9 kB / 0.587 GB, free: 6.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.646, allocations: 0 / 0.587 GB, free: 6.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007888/0.6468, allocations: 399.7 kB / 0.5874 GB, free: 6.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6469, allocations: 4 kB / 0.5874 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.955e-05/0.6469, allocations: 31.97 kB / 0.5874 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.647, allocations: 0 / 0.5874 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.6472, allocations: 43.34 kB / 0.5875 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.6472, allocations: 7.953 kB / 0.5875 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.6475, allocations: 74.62 kB / 0.5876 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.6475, allocations: 8.781 kB / 0.5876 GB, free: 6.27 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 () * 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.0002169/0.6478, allocations: 197.8 kB / 0.5877 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6479, allocations: 39.47 kB / 0.5878 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008171/0.6487, allocations: 396.3 kB / 0.5882 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.6487, allocations: 4 kB / 0.5882 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6487, allocations: 4 kB / 0.5882 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6487, allocations: 7.891 kB / 0.5882 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.6493, allocations: 360.8 kB / 0.5885 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.006e-05/0.6493, allocations: 27.98 kB / 0.5885 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.6495, allocations: 31.97 kB / 0.5886 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.6495, allocations: 7.984 kB / 0.5886 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.6496, allocations: 7.984 kB / 0.5886 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.6496, allocations: 0 / 0.5886 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6496, allocations: 7.938 kB / 0.5886 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/0.6505, allocations: 0.621 MB / 0.5892 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.6506, allocations: 120.6 kB / 0.5893 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.6507, allocations: 3.312 kB / 0.5893 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.651, allocations: 31.92 kB / 0.5894 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.651, allocations: 19.86 kB / 0.5894 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.6511, allocations: 11.98 kB / 0.5894 GB, free: 4.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004166/0.6515, allocations: 371.2 kB / 0.5897 GB, free: 4.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6515, allocations: 0 / 0.5897 GB, free: 4.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000593/0.6521, allocations: 126.8 kB / 0.5899 GB, free: 4.012 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 () * 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.000385/0.6525, allocations: 212.3 kB / 0.5901 GB, free: 3.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009096/0.6534, allocations: 0.5403 MB / 0.5906 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6534, allocations: 4 kB / 0.5906 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.6539, allocations: 395.5 kB / 0.591 GB, free: 2.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.6545, allocations: 99.41 kB / 0.5911 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.656, allocations: 0.8797 MB / 0.5919 GB, free: 1.859 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.6565, allocations: 0.8521 MB / 0.5928 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.6567, allocations: 63.25 kB / 0.5928 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.6568, allocations: 23.44 kB / 0.5928 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6568, allocations: 0 / 0.5928 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of Templates: time 0.01291/0.6697, allocations: 6.957 MB / 0.5996 GB, free: 9.973 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches