Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000835/0.000835, allocations: 101.6 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008811/0.0008811, allocations: 176.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 243 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1959/0.1959, allocations: 44.25 MB / 338.3 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 11.98 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002409/0.1059, allocations: 1.804 MB / 474.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.1078, allocations: 1.141 MB / 475.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.108, allocations: 0 / 475.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1083, allocations: 63.66 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.1087, allocations: 87.45 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.1092, allocations: 147.6 kB / 476.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006178/0.1098, allocations: 0.5135 MB / 476.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.11, allocations: 48.7 kB / 476.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.1103, allocations: 147.2 kB / 476.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.1107, allocations: 191 kB / 477.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.1107, allocations: 12 kB / 477.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.1111, allocations: 207.7 kB / 477.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1113, allocations: 95.53 kB / 477.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.1115, allocations: 184.6 kB / 477.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.1119, allocations: 343.2 kB / 477.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.112, allocations: 0 / 477.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.112, allocations: 0 / 477.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.112, allocations: 0 / 477.9 MB, free: 8.359 MB / 350.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.001215/0.1132, allocations: 0.6514 MB / 478.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1133, allocations: 12.03 kB / 478.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1134, allocations: 44.38 kB / 478.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1137, allocations: 287.4 kB / 478.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.1138, allocations: 33.31 kB / 478.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.1139, allocations: 44.31 kB / 479 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.1149, allocations: 0.5859 MB / 479.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.1149, allocations: 4 kB / 479.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.115, allocations: 15.98 kB / 479.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.115, allocations: 24.98 kB / 479.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/0.1159, allocations: 451.6 kB / 480 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.1179, allocations: 1.371 MB / 481.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.1184, allocations: 291.6 kB / 481.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.1188, allocations: 150.5 kB / 481.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.1189, allocations: 7.984 kB / 481.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1189, allocations: 34.56 kB / 481.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.884e-06/0.1189, allocations: 4 kB / 481.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001237/0.1201, allocations: 496.8 kB / 482.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.1202, allocations: 110.9 kB / 482.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/0.1208, allocations: 0.5019 MB / 483 MB, free: 3.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1208, allocations: 25.7 kB / 483 MB, free: 2.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.121, allocations: 204.1 kB / 483.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.1211, allocations: 55.2 kB / 483.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.1211, allocations: 21.7 kB / 483.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1213, allocations: 350.8 kB / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.1216, allocations: 143.9 kB / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.122, allocations: 187.8 kB / 483.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.1228, allocations: 339.6 kB / 484.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1228, allocations: 0 / 484.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009524/0.1238, allocations: 400.8 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1238, allocations: 7.938 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.917e-05/0.1239, allocations: 40.14 kB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1239, allocations: 0 / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.1241, allocations: 35.97 kB / 484.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1241, allocations: 4 kB / 484.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.1244, allocations: 67.34 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.1245, allocations: 16 kB / 484.8 MB, free: 1.105 MB / 350.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.0002168/0.1247, allocations: 181.7 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1248, allocations: 51.44 kB / 485.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008357/0.1257, allocations: 388.6 kB / 485.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.1257, allocations: 4 kB / 485.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1257, allocations: 4 kB / 485.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1257, allocations: 0 / 485.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006599/0.1264, allocations: 361.3 kB / 485.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/0.1264, allocations: 28 kB / 485.8 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1266, allocations: 39.91 kB / 485.9 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1266, allocations: 3.938 kB / 485.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1267, allocations: 11.98 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1267, allocations: 0 / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1267, allocations: 7.938 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.1276, allocations: 0.5873 MB / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1278, allocations: 136.4 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.1278, allocations: 7.938 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.1281, allocations: 23.98 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.1282, allocations: 19.91 kB / 486.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.1282, allocations: 12 kB / 486.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004337/0.1287, allocations: 379 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1287, allocations: 0 / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005316/0.1292, allocations: 111.9 kB / 487.1 MB, free: 14.68 MB / 366.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.000331/0.1296, allocations: 155.7 kB / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009804/0.1306, allocations: 0.538 MB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.1306, allocations: 0 / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005429/0.1311, allocations: 404 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.1319, allocations: 101.2 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1336, allocations: 0.9711 MB / 489.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.1341, allocations: 0.8344 MB / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1342, allocations: 27.44 kB / 490.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1342, allocations: 0 / 490.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01195/0.1462, allocations: 6.889 MB / 497 MB, free: 4.637 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches