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.0009061/0.0009062, allocations: 98.28 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 203.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.7 MB / 247.5 MB, free: 9.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.0002637, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 63.55 MB / 483.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002323/0.1049, allocations: 1.832 MB / 485.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1068, allocations: 1.203 MB / 486.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.107, allocations: 4 kB / 486.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.1072, allocations: 59.7 kB / 486.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1075, allocations: 83.5 kB / 486.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.108, allocations: 154.8 kB / 487.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005473/0.1085, allocations: 0.5175 MB / 487.6 MB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.1086, allocations: 48.7 kB / 487.6 MB, free: 192 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.1089, allocations: 151.2 kB / 487.8 MB, free: 40 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1092, allocations: 191 kB / 488 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.1092, allocations: 12 kB / 488 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.1096, allocations: 223.6 kB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1098, allocations: 87.53 kB / 488.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.11, allocations: 196.5 kB / 488.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.1104, allocations: 359.1 kB / 488.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1104, allocations: 4 kB / 488.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1104, allocations: 0 / 488.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1104, allocations: 0 / 488.8 MB, free: 14.98 MB / 366.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.001049/0.1115, allocations: 0.6436 MB / 489.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1115, allocations: 8.875 kB / 489.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.1119, allocations: 92.33 kB / 489.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1123, allocations: 292.3 kB / 489.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.1123, allocations: 29.38 kB / 489.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.1124, allocations: 44.34 kB / 489.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.1133, allocations: 0.5898 MB / 490.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1133, allocations: 0 / 490.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.1133, allocations: 12 kB / 490.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.1134, allocations: 24.98 kB / 490.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008303/0.1142, allocations: 447.6 kB / 491 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.116, allocations: 1.379 MB / 492.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.1166, allocations: 299.4 kB / 492.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.1169, allocations: 150.5 kB / 492.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.117, allocations: 8 kB / 492.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.117, allocations: 38.55 kB / 492.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.117, allocations: 0 / 492.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001192/0.1182, allocations: 0.4892 MB / 493.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.1183, allocations: 106.8 kB / 493.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.1188, allocations: 0.4979 MB / 494 MB, free: 9.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1188, allocations: 25.7 kB / 494 MB, free: 9.578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.119, allocations: 212.2 kB / 494.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.119, allocations: 63.09 kB / 494.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.1191, allocations: 25.75 kB / 494.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1192, allocations: 354.8 kB / 494.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.1196, allocations: 131.9 kB / 494.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.1199, allocations: 188 kB / 494.9 MB, free: 8.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.1206, allocations: 331.9 kB / 495.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1206, allocations: 0 / 495.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008376/0.1215, allocations: 413 kB / 495.7 MB, free: 7.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1215, allocations: 7.938 kB / 495.7 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.258e-05/0.1216, allocations: 28 kB / 495.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1216, allocations: 0 / 495.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.1218, allocations: 39.95 kB / 495.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1218, allocations: 4 kB / 495.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.1221, allocations: 67.39 kB / 495.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.1221, allocations: 19.98 kB / 495.8 MB, free: 7.676 MB / 366.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.0001888/0.1223, allocations: 181.7 kB / 496 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.1224, allocations: 43.47 kB / 496.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007567/0.1232, allocations: 384.6 kB / 496.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1232, allocations: 7.938 kB / 496.4 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1232, allocations: 3.984 kB / 496.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1232, allocations: 4 kB / 496.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.1238, allocations: 373.2 kB / 496.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.607e-05/0.1238, allocations: 31.98 kB / 496.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.124, allocations: 27.97 kB / 496.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.124, allocations: 3.938 kB / 496.9 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.124, allocations: 12 kB / 496.9 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.124, allocations: 0 / 496.9 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.124, allocations: 4 kB / 496.9 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/0.1249, allocations: 0.5989 MB / 497.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.125, allocations: 120.6 kB / 497.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.1251, allocations: 11.98 kB / 497.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.1254, allocations: 27.97 kB / 497.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.1254, allocations: 15.98 kB / 497.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.1255, allocations: 8 kB / 497.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003832/0.1259, allocations: 379 kB / 498 MB, free: 5.367 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1259, allocations: 0 / 498 MB, free: 5.367 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.1264, allocations: 119.9 kB / 498.2 MB, free: 5.25 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.0002716/0.1266, allocations: 147.1 kB / 498.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008713/0.1275, allocations: 0.5499 MB / 498.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1275, allocations: 0 / 498.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.128, allocations: 399.1 kB / 499.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.1287, allocations: 89.58 kB / 499.3 MB, free: 3.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1302, allocations: 0.9557 MB / 0.4886 GB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1306, allocations: 0.8421 MB / 0.4894 GB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.1307, allocations: 31.42 kB / 0.4894 GB, free: 2.059 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1307, allocations: 0 / 0.4894 GB, free: 2.059 MB / 366.1 MB Notification: Performance of Templates: time 0.01028/0.141, allocations: 6.917 MB / 0.4962 GB, free: 11.19 MB / 382.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/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches