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.0008334/0.0008335, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.177/1.177, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006931/0.0006932, allocations: 96.78 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.269/0.269, allocations: 43.56 MB / 363.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 15.98 kB / 432 MB, free: 5.559 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08962, allocations: 58.84 MB / 490.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.001972/0.09162, allocations: 1.758 MB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.09299, allocations: 1.108 MB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.09306, allocations: 0 / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.09328, allocations: 43.73 kB / 493.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.09346, allocations: 83.5 kB / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.09382, allocations: 143.5 kB / 494 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.09423, allocations: 477.9 kB / 494.4 MB, free: 7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.09431, allocations: 48.7 kB / 494.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.09448, allocations: 139.3 kB / 494.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.0947, allocations: 195 kB / 494.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.09474, allocations: 12 kB / 494.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.09509, allocations: 199.7 kB / 495 MB, free: 6.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.09519, allocations: 87.59 kB / 495.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.09536, allocations: 184.6 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.09571, allocations: 351.2 kB / 495.6 MB, free: 5.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09573, allocations: 0 / 495.6 MB, free: 5.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09573, allocations: 0 / 495.6 MB, free: 5.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.09574, allocations: 0 / 495.6 MB, free: 5.801 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.00096/0.09671, allocations: 0.6513 MB / 496.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.09675, allocations: 8.031 kB / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.09682, allocations: 40.47 kB / 496.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.09713, allocations: 299.2 kB / 496.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.09717, allocations: 33.36 kB / 496.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.09723, allocations: 36.38 kB / 496.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.09806, allocations: 0.582 MB / 497.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.09808, allocations: 0 / 497.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.09812, allocations: 16 kB / 497.3 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.09816, allocations: 28.94 kB / 497.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.09893, allocations: 447.6 kB / 497.8 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.1005, allocations: 1.375 MB / 499.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.101, allocations: 287.6 kB / 499.4 MB, free: 1.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.1013, allocations: 150.3 kB / 499.6 MB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.1014, allocations: 7.984 kB / 499.6 MB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1014, allocations: 34.67 kB / 499.6 MB, free: 1.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.714e-06/0.1014, allocations: 3.938 kB / 499.6 MB, free: 1.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001065/0.1025, allocations: 493 kB / 0.4884 GB, free: 1.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1025, allocations: 106.8 kB / 0.4885 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.103, allocations: 0.5057 MB / 0.489 GB, free: 492 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1031, allocations: 25.7 kB / 0.489 GB, free: 460 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1032, allocations: 200.2 kB / 0.4892 GB, free: 256 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.1032, allocations: 63.09 kB / 0.4892 GB, free: 192 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.1033, allocations: 4 kB / 0.4892 GB, free: 188 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1499/0.2532, allocations: 350.8 kB / 0.4896 GB, free: 42.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.2536, allocations: 138.5 kB / 0.4897 GB, free: 42.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.254, allocations: 178.2 kB / 0.4899 GB, free: 42.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.2546, allocations: 329 kB / 0.4902 GB, free: 42.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2546, allocations: 0 / 0.4902 GB, free: 42.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008418/0.2554, allocations: 401.8 kB / 0.4906 GB, free: 42.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2555, allocations: 10.58 kB / 0.4906 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.769e-05/0.2555, allocations: 28.92 kB / 0.4906 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2556, allocations: 6.781 kB / 0.4906 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.2558, allocations: 43.91 kB / 0.4907 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2558, allocations: 2.375 kB / 0.4907 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.256, allocations: 66.69 kB / 0.4907 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.2561, allocations: 15.48 kB / 0.4907 GB, free: 42.71 MB / 378.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.0001801/0.2563, allocations: 181.5 kB / 0.4909 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.2564, allocations: 42.81 kB / 0.491 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007107/0.2571, allocations: 402.5 kB / 0.4913 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.2571, allocations: 2.625 kB / 0.4913 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2571, allocations: 1.844 kB / 0.4913 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2571, allocations: 1.922 kB / 0.4913 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.2576, allocations: 360.1 kB / 0.4917 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.962e-05/0.2576, allocations: 31.59 kB / 0.4917 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.2578, allocations: 37.2 kB / 0.4918 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2578, allocations: 0.9375 kB / 0.4918 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.2578, allocations: 14.98 kB / 0.4918 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2578, allocations: 1.875 kB / 0.4918 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2578, allocations: 5.688 kB / 0.4918 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.2586, allocations: 0.5939 MB / 0.4924 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.2586, allocations: 126.6 kB / 0.4925 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.2587, allocations: 7.938 kB / 0.4925 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.259, allocations: 22.3 kB / 0.4925 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.2591, allocations: 19.39 kB / 0.4925 GB, free: 41.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.2591, allocations: 9.891 kB / 0.4925 GB, free: 41.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003593/0.2594, allocations: 378.4 kB / 0.4929 GB, free: 41.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2595, allocations: 0 / 0.4929 GB, free: 41.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004372/0.2599, allocations: 114.5 kB / 0.493 GB, free: 41.84 MB / 378.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.0002197/0.2601, allocations: 152.6 kB / 0.4931 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007515/0.2609, allocations: 0.5408 MB / 0.4937 GB, free: 41.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2609, allocations: 1.031 kB / 0.4937 GB, free: 41.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.2613, allocations: 401.5 kB / 0.4941 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.2619, allocations: 96.2 kB / 0.4942 GB, free: 41.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2631, allocations: 0.9177 MB / 0.495 GB, free: 40.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.2634, allocations: 0.8377 MB / 0.4959 GB, free: 40.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.2635, allocations: 30.86 kB / 0.4959 GB, free: 40.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2635, allocations: 0 / 0.4959 GB, free: 40.05 MB / 378.7 MB Notification: Performance of Templates: time 0.007627/0.2711, allocations: 6.896 MB / 0.5026 GB, free: 39.53 MB / 378.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/jenkins/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