Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 199.5 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007608/0.0007608, allocations: 99.94 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1708/0.1708, allocations: 44.84 MB / 392 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002187/0.0002187, allocations: 8 kB / 464.8 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08356, allocations: 62.95 MB / 0.5153 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.001891/0.08548, allocations: 1.771 MB / 0.5171 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1608/0.2463, allocations: 1.077 MB / 0.5181 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.2465, allocations: 1.469 kB / 0.5181 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.2467, allocations: 52.95 kB / 0.5182 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.2469, allocations: 83.22 kB / 0.5183 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.2473, allocations: 145.8 kB / 0.5184 GB, free: 9.852 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.2478, allocations: 471 kB / 0.5188 GB, free: 9.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.978e-05/0.2479, allocations: 46.75 kB / 0.5189 GB, free: 9.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.2481, allocations: 150.7 kB / 0.519 GB, free: 9.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.2484, allocations: 184 kB / 0.5192 GB, free: 9.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.2484, allocations: 11.16 kB / 0.5192 GB, free: 9.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.2488, allocations: 209 kB / 0.5194 GB, free: 9.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.2489, allocations: 93.73 kB / 0.5195 GB, free: 9.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.2489, allocations: 82.61 kB / 0.5196 GB, free: 9.566 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.2493, allocations: 342.8 kB / 0.5199 GB, free: 9.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2493, allocations: 0 / 0.5199 GB, free: 9.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2493, allocations: 1.25 kB / 0.5199 GB, free: 9.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2493, allocations: 4 kB / 0.5199 GB, free: 9.516 MB / 346.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.0008635/0.2502, allocations: 0.6488 MB / 0.5206 GB, free: 9.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.2502, allocations: 9.219 kB / 0.5206 GB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.2506, allocations: 84.67 kB / 0.5206 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.2509, allocations: 296.8 kB / 0.5209 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2509, allocations: 33.84 kB / 0.521 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.251, allocations: 38.25 kB / 0.521 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/0.2519, allocations: 0.5814 MB / 0.5216 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2519, allocations: 0 / 0.5216 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.2519, allocations: 18.97 kB / 0.5216 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.252, allocations: 22.55 kB / 0.5216 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.2528, allocations: 449.3 kB / 0.522 GB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.2543, allocations: 1.372 MB / 0.5234 GB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.2548, allocations: 286.9 kB / 0.5236 GB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.2551, allocations: 151.1 kB / 0.5238 GB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.2552, allocations: 5.531 kB / 0.5238 GB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.2552, allocations: 41.08 kB / 0.5238 GB, free: 7.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.2552, allocations: 4 kB / 0.5238 GB, free: 7.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001137/0.2563, allocations: 493.1 kB / 0.5243 GB, free: 7.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.2564, allocations: 112.1 kB / 0.5244 GB, free: 7.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.2569, allocations: 0.4974 MB / 0.5249 GB, free: 7.551 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2569, allocations: 26.67 kB / 0.5249 GB, free: 7.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.257, allocations: 204.1 kB / 0.5251 GB, free: 7.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.257, allocations: 62.69 kB / 0.5252 GB, free: 7.379 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.2571, allocations: 3.812 kB / 0.5252 GB, free: 7.379 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.2571, allocations: 350.8 kB / 0.5255 GB, free: 7.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.2575, allocations: 141.1 kB / 0.5257 GB, free: 7.062 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.2579, allocations: 186 kB / 0.5258 GB, free: 7.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.2583, allocations: 150 kB / 0.526 GB, free: 7.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2583, allocations: 2.016 kB / 0.526 GB, free: 7.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007935/0.2591, allocations: 405.1 kB / 0.5264 GB, free: 6.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2591, allocations: 5.812 kB / 0.5264 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.506e-05/0.2592, allocations: 30.53 kB / 0.5264 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2592, allocations: 4.203 kB / 0.5264 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2594, allocations: 41.84 kB / 0.5264 GB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2594, allocations: 2.734 kB / 0.5264 GB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.2597, allocations: 67.34 kB / 0.5265 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.2597, allocations: 17.03 kB / 0.5265 GB, free: 6.898 MB / 346.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.0001644/0.2599, allocations: 181.1 kB / 0.5267 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.26, allocations: 40.67 kB / 0.5267 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007305/0.2607, allocations: 399.9 kB / 0.5271 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.2607, allocations: 5.094 kB / 0.5271 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2607, allocations: 1.312 kB / 0.5271 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2607, allocations: 1.406 kB / 0.5271 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.2612, allocations: 369 kB / 0.5275 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/0.2613, allocations: 30.91 kB / 0.5275 GB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2614, allocations: 34.59 kB / 0.5275 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2614, allocations: 3.172 kB / 0.5275 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.2615, allocations: 11.09 kB / 0.5275 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2615, allocations: 2.688 kB / 0.5276 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2615, allocations: 4.875 kB / 0.5276 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/0.2622, allocations: 0.598 MB / 0.5281 GB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.2623, allocations: 126.3 kB / 0.5283 GB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.2624, allocations: 8.656 kB / 0.5283 GB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.2626, allocations: 20.11 kB / 0.5283 GB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.2627, allocations: 23.03 kB / 0.5283 GB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.2627, allocations: 10.06 kB / 0.5283 GB, free: 5.906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003392/0.2631, allocations: 371.3 kB / 0.5287 GB, free: 5.754 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2631, allocations: 0 / 0.5287 GB, free: 5.754 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004458/0.2635, allocations: 115.4 kB / 0.5288 GB, free: 5.734 MB / 346.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.000212/0.2638, allocations: 152.9 kB / 0.5289 GB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.2645, allocations: 0.5366 MB / 0.5295 GB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2645, allocations: 1.438 kB / 0.5295 GB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.2649, allocations: 402.1 kB / 0.5298 GB, free: 5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.2656, allocations: 96.09 kB / 0.5299 GB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2668, allocations: 0.9249 MB / 0.5308 GB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.267, allocations: 0.8432 MB / 0.5317 GB, free: 3.781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.2671, allocations: 26.58 kB / 0.5317 GB, free: 3.773 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2671, allocations: 0 / 0.5317 GB, free: 3.773 MB / 346.7 MB Notification: Performance of Templates: time 0.00823/0.2754, allocations: 6.9 MB / 0.5384 GB, free: 1.473 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches