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.001205/0.001205, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.31/0.31, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4358, 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.003418/0.4392, allocations: 2.121 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.4409, allocations: 1.219 MB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.441, allocations: 2.75 kB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.4413, allocations: 74.7 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.4416, allocations: 94.62 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.4422, allocations: 187.8 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.4427, allocations: 446.8 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4429, allocations: 41.66 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.4432, allocations: 163 kB / 0.5352 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.4435, allocations: 188.9 kB / 0.5354 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.4435, allocations: 13.59 kB / 0.5354 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.444, allocations: 223.6 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.4441, allocations: 95.48 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.4443, allocations: 166.6 kB / 0.5359 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.445, allocations: 494.7 kB / 0.5364 GB, free: 9.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.445, allocations: 1.281 kB / 0.5364 GB, free: 9.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.445, allocations: 0 / 0.5364 GB, free: 9.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.445, 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.001275/0.4463, allocations: 0.7112 MB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4464, allocations: 8.938 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003792/0.4467, allocations: 70.47 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.4471, allocations: 294.1 kB / 0.5374 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.4472, allocations: 28.25 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.4472, allocations: 41.38 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009425/0.4482, allocations: 0.5796 MB / 0.5381 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4482, allocations: 0 / 0.5381 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.4482, allocations: 15.25 kB / 0.5381 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.4483, allocations: 19.34 kB / 0.5381 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/0.4491, allocations: 433.1 kB / 0.5385 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.4511, allocations: 1.37 MB / 0.5398 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.4516, allocations: 267.1 kB / 0.5401 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.452, allocations: 141.5 kB / 0.5402 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/0.452, allocations: 16.45 kB / 0.5402 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4521, allocations: 31.72 kB / 0.5403 GB, free: 6.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.4521, allocations: 1 kB / 0.5403 GB, free: 6.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00139/0.4535, allocations: 460.6 kB / 0.5407 GB, free: 6.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.4536, allocations: 105.4 kB / 0.5408 GB, free: 6.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.4548, allocations: 0.5065 MB / 0.5413 GB, free: 6.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.4549, allocations: 26.89 kB / 0.5413 GB, free: 6.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.4552, allocations: 209.4 kB / 0.5415 GB, free: 6.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.524e-05/0.4553, allocations: 58.03 kB / 0.5416 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.4555, allocations: 53.94 kB / 0.5416 GB, free: 5.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.4558, allocations: 350.6 kB / 0.542 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.4563, allocations: 122.1 kB / 0.5421 GB, free: 5.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006713/0.457, allocations: 180.2 kB / 0.5423 GB, free: 5.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.4583, allocations: 300 kB / 0.5426 GB, free: 5.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4583, allocations: 0 / 0.5426 GB, free: 5.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001473/0.4598, allocations: 388.9 kB / 0.5429 GB, free: 5.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.4599, allocations: 9.938 kB / 0.5429 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.46, allocations: 33.58 kB / 0.543 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.46, allocations: 2.312 kB / 0.543 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.4603, allocations: 38.62 kB / 0.543 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4604, allocations: 1.125 kB / 0.543 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.4608, allocations: 60.5 kB / 0.5431 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.4609, allocations: 13.34 kB / 0.5431 GB, free: 5.016 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.0003312/0.4612, allocations: 190.4 kB / 0.5433 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.4614, allocations: 39.47 kB / 0.5433 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.4627, allocations: 378.4 kB / 0.5437 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.4627, allocations: 4 kB / 0.5437 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.4627, allocations: 0 / 0.5437 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.4627, allocations: 8 kB / 0.5437 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009741/0.4637, allocations: 361.3 kB / 0.544 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-05/0.4638, allocations: 31.98 kB / 0.544 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.464, allocations: 27.97 kB / 0.5441 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.464, allocations: 3.938 kB / 0.5441 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.4641, allocations: 8 kB / 0.5441 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.4641, allocations: 4 kB / 0.5441 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4641, allocations: 3.938 kB / 0.5441 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.4653, allocations: 0.5788 MB / 0.5447 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.4655, allocations: 124.5 kB / 0.5448 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.4656, allocations: 4 kB / 0.5448 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.4661, allocations: 23.97 kB / 0.5448 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4662, allocations: 15.98 kB / 0.5448 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.4663, allocations: 19.98 kB / 0.5448 GB, free: 3.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006158/0.4669, allocations: 371.1 kB / 0.5452 GB, free: 2.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4669, allocations: 0 / 0.5452 GB, free: 2.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007773/0.4677, allocations: 107.9 kB / 0.5453 GB, free: 2.656 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.0003869/0.4681, allocations: 163 kB / 0.5454 GB, free: 2.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4694, allocations: 0.5185 MB / 0.546 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4695, allocations: 0 / 0.546 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007109/0.4702, allocations: 391.6 kB / 0.5463 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.4713, allocations: 101.1 kB / 0.5464 GB, free: 1.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.4737, allocations: 0.8174 MB / 0.5472 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.4744, allocations: 0.8457 MB / 0.548 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.4747, allocations: 63.23 kB / 0.5481 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.4748, allocations: 31.42 kB / 0.5481 GB, free: 15.57 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4749, allocations: 0 / 0.5481 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02319/0.4981, allocations: 7.209 MB / 0.5552 GB, free: 8.453 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