Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 117.7 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001454, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 79.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4497, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.0041/0.4538, allocations: 2.123 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.4559, allocations: 1.215 MB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.4561, allocations: 2.75 kB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.4564, allocations: 70.66 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.4566, allocations: 89.3 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.4572, allocations: 187.4 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.4578, allocations: 441.4 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.4579, allocations: 50.03 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.4582, allocations: 157.6 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.4585, allocations: 181.8 kB / 0.5354 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.4585, allocations: 13 kB / 0.5354 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.459, allocations: 224.5 kB / 0.5356 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.4592, allocations: 95.2 kB / 0.5357 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.4593, allocations: 171 kB / 0.5359 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006619/0.46, allocations: 0.4985 MB / 0.5364 GB, free: 9.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.46, allocations: 1.219 kB / 0.5364 GB, free: 9.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.46, allocations: 0 / 0.5364 GB, free: 9.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.46, allocations: 0 / 0.5364 GB, free: 9.645 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.001259/0.4613, allocations: 0.7019 MB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4614, allocations: 9.5 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004334/0.4618, allocations: 80.98 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.4623, allocations: 287.5 kB / 0.5374 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.4623, allocations: 28.56 kB / 0.5374 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.4624, allocations: 38.03 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.4635, allocations: 0.5789 MB / 0.538 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4636, allocations: 0 / 0.538 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.4636, allocations: 16.59 kB / 0.5381 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.4637, allocations: 21.77 kB / 0.5381 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.4645, allocations: 425.9 kB / 0.5385 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.4665, allocations: 1.37 MB / 0.5398 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.4671, allocations: 279.5 kB / 0.5401 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.4675, allocations: 140.6 kB / 0.5402 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.4675, allocations: 8.328 kB / 0.5402 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4676, allocations: 40.78 kB / 0.5403 GB, free: 6.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.634e-06/0.4676, allocations: 0 / 0.5403 GB, free: 6.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001209/0.4688, allocations: 461.6 kB / 0.5407 GB, free: 6.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.4689, allocations: 109.2 kB / 0.5408 GB, free: 6.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.4695, allocations: 0.5028 MB / 0.5413 GB, free: 6.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.4695, allocations: 26.73 kB / 0.5413 GB, free: 6.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.4697, allocations: 202 kB / 0.5415 GB, free: 6.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.4698, allocations: 57.91 kB / 0.5416 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4699, allocations: 49.83 kB / 0.5416 GB, free: 5.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.47, allocations: 351.8 kB / 0.542 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.4704, allocations: 129.3 kB / 0.5421 GB, free: 5.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.4708, allocations: 172 kB / 0.5423 GB, free: 5.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.4715, allocations: 306.5 kB / 0.5425 GB, free: 5.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4715, allocations: 7.938 kB / 0.5426 GB, free: 5.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008597/0.4723, allocations: 373.8 kB / 0.5429 GB, free: 5.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.4724, allocations: 13.88 kB / 0.5429 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.497e-05/0.4725, allocations: 36.77 kB / 0.543 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4725, allocations: 7.562 kB / 0.543 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.4727, allocations: 29.09 kB / 0.543 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4727, allocations: 2.125 kB / 0.543 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.473, allocations: 59.84 kB / 0.5431 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.4731, allocations: 10.09 kB / 0.5431 GB, free: 5.031 MB / 398.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.0002907/0.4734, allocations: 189.4 kB / 0.5432 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.4735, allocations: 43.45 kB / 0.5433 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007363/0.4742, allocations: 383.8 kB / 0.5437 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.4742, allocations: 0 / 0.5437 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4743, allocations: 4 kB / 0.5437 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.4743, allocations: 0 / 0.5437 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.4748, allocations: 369.2 kB / 0.544 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-05/0.4749, allocations: 28 kB / 0.544 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.475, allocations: 27.91 kB / 0.5441 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.475, allocations: 11.92 kB / 0.5441 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.4751, allocations: 15.98 kB / 0.5441 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4751, allocations: 0 / 0.5441 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4751, allocations: 0 / 0.5441 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/0.476, allocations: 0.5736 MB / 0.5446 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.4762, allocations: 128.5 kB / 0.5448 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.4762, allocations: 4 kB / 0.5448 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.4765, allocations: 15.98 kB / 0.5448 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.4766, allocations: 27.91 kB / 0.5448 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.4766, allocations: 8 kB / 0.5448 GB, free: 3.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003696/0.477, allocations: 379 kB / 0.5452 GB, free: 2.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.477, allocations: 0 / 0.5452 GB, free: 2.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.4775, allocations: 107.9 kB / 0.5453 GB, free: 2.672 MB / 398.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.0002759/0.4778, allocations: 155.1 kB / 0.5454 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008531/0.4787, allocations: 0.5185 MB / 0.5459 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4787, allocations: 0 / 0.5459 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.4791, allocations: 391.4 kB / 0.5463 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.4798, allocations: 112.3 kB / 0.5464 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.4814, allocations: 0.813 MB / 0.5472 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.482, allocations: 0.8535 MB / 0.548 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.4822, allocations: 63.25 kB / 0.5481 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.4823, allocations: 23.44 kB / 0.5481 GB, free: 15.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4823, allocations: 0 / 0.5481 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Templates: time 0.01252/0.4948, allocations: 7.378 MB / 0.5553 GB, free: 8.297 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches