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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 214.2 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.26 MB / 331.1 MB, free: 9.328 MB / 270.1 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003534/0.003534, allocations: 71.91 kB / 468.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.182, allocations: 61.05 MB / 0.5174 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.005385/0.1874, allocations: 2.043 MB / 0.5194 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1894, allocations: 1.142 MB / 0.5205 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1895, allocations: 4 kB / 0.5205 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1898, allocations: 63.61 kB / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1901, allocations: 103.4 kB / 0.5207 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1907, allocations: 187.3 kB / 0.5209 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.1912, allocations: 442 kB / 0.5213 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.1913, allocations: 16.92 kB / 0.5213 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.1915, allocations: 159.2 kB / 0.5215 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.1918, allocations: 187 kB / 0.5216 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.1918, allocations: 16 kB / 0.5216 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.1921, allocations: 127.8 kB / 0.5218 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1923, allocations: 95.52 kB / 0.5219 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.1924, allocations: 135.1 kB / 0.522 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.1931, allocations: 485.9 kB / 0.5225 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1931, allocations: 0 / 0.5225 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1931, allocations: 4 kB / 0.5225 GB, free: 1.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1931, allocations: 0 / 0.5225 GB, free: 1.441 MB / 398.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.001272/0.1944, allocations: 0.6454 MB / 0.5231 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1944, allocations: 8.031 kB / 0.5231 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.1945, allocations: 48.59 kB / 0.5231 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.1949, allocations: 241.5 kB / 0.5234 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.1949, allocations: 29.38 kB / 0.5234 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.195, allocations: 40.38 kB / 0.5234 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000969/0.1959, allocations: 0.5819 MB / 0.524 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.196, allocations: 0 / 0.524 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.196, allocations: 16 kB / 0.524 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.196, allocations: 24.98 kB / 0.524 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/0.1969, allocations: 427.6 kB / 0.5245 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.1987, allocations: 1.142 MB / 0.5256 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.1992, allocations: 259.6 kB / 0.5258 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.1996, allocations: 130.5 kB / 0.5259 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/0.1996, allocations: 11.98 kB / 0.526 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1996, allocations: 42.5 kB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.923e-06/0.1996, allocations: 0 / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00118/0.2008, allocations: 433.5 kB / 0.5264 GB, free: 13.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.2009, allocations: 118.8 kB / 0.5265 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.2012, allocations: 211.8 kB / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.2012, allocations: 25.7 kB / 0.5267 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.2014, allocations: 240 kB / 0.527 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.2014, allocations: 51.55 kB / 0.527 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2016, allocations: 49.7 kB / 0.5271 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.2018, allocations: 330.8 kB / 0.5274 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.2021, allocations: 127.9 kB / 0.5275 GB, free: 12.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.2025, allocations: 173 kB / 0.5277 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.2032, allocations: 308.6 kB / 0.528 GB, free: 11.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2032, allocations: 0 / 0.528 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008398/0.204, allocations: 357.1 kB / 0.5283 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.204, allocations: 4 kB / 0.5283 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.386e-05/0.2041, allocations: 40.14 kB / 0.5283 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.2041, allocations: 3.938 kB / 0.5284 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.2043, allocations: 35.91 kB / 0.5284 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2044, allocations: 0 / 0.5284 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.2046, allocations: 35.86 kB / 0.5284 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.2046, allocations: 8 kB / 0.5284 GB, free: 11.05 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.2048, allocations: 181.8 kB / 0.5286 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.2049, allocations: 15.91 kB / 0.5286 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007818/0.2057, allocations: 382.4 kB / 0.529 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.2057, allocations: 4 kB / 0.529 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2057, allocations: 0 / 0.529 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.2057, allocations: 8 kB / 0.529 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.2062, allocations: 273.1 kB / 0.5293 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.286e-05/0.2063, allocations: 31.98 kB / 0.5293 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.2064, allocations: 23.97 kB / 0.5293 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.2064, allocations: 0 / 0.5293 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.2065, allocations: 19.98 kB / 0.5293 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.2065, allocations: 3.938 kB / 0.5293 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2065, allocations: 0 / 0.5293 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008661/0.2074, allocations: 0.5533 MB / 0.5299 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.2074, allocations: 19.89 kB / 0.5299 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.2074, allocations: 7.938 kB / 0.5299 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.2077, allocations: 19.98 kB / 0.5299 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.2078, allocations: 19.97 kB / 0.5299 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.2078, allocations: 12 kB / 0.5299 GB, free: 9.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.2079, allocations: 161.5 kB / 0.5301 GB, free: 9.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2079, allocations: 0 / 0.5301 GB, free: 9.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005531/0.2085, allocations: 147.4 kB / 0.5302 GB, free: 9.137 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003852/0.2089, allocations: 167 kB / 0.5304 GB, free: 8.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009593/0.2098, allocations: 0.5071 MB / 0.5309 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2098, allocations: 0 / 0.5309 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.2104, allocations: 383.1 kB / 0.5313 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.2109, allocations: 31.83 kB / 0.5313 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2124, allocations: 0.7845 MB / 0.5321 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2126, allocations: 242.8 kB / 0.5323 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.2127, allocations: 23.42 kB / 0.5323 GB, free: 6.832 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2127, allocations: 0 / 0.5323 GB, free: 6.832 MB / 414.1 MB Notification: Performance of Templates: time 0.009333/0.222, allocations: 5.582 MB / 0.5378 GB, free: 1.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.159137456212193]