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.001494/0.001494, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001649/0.001649, allocations: 191 kB / 19.34 MB, free: 3.766 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.412/1.412, allocations: 222.9 MB / 243 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1975/0.1975, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.03 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 60.83 MB / 470.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003209/0.1101, allocations: 2.105 MB / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1117, allocations: 1.149 MB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.1118, allocations: 4 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.112, allocations: 59.59 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1123, allocations: 99.31 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.1127, allocations: 167.4 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.1132, allocations: 438 kB / 474.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.1133, allocations: 44.72 kB / 474.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1135, allocations: 155.2 kB / 474.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1137, allocations: 187 kB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.1138, allocations: 12 kB / 475.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.1141, allocations: 219.7 kB / 475.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1143, allocations: 95.52 kB / 475.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1144, allocations: 162.9 kB / 475.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.115, allocations: 490.1 kB / 476.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.115, allocations: 0 / 476.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.115, allocations: 0 / 476.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.115, allocations: 0 / 476.1 MB, free: 8.238 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.001144/0.1162, allocations: 0.7136 MB / 476.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1162, allocations: 8.031 kB / 476.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.1163, allocations: 40.47 kB / 476.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.1167, allocations: 291.5 kB / 477.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.1167, allocations: 33.31 kB / 477.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.1168, allocations: 40.38 kB / 477.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/0.1177, allocations: 0.5819 MB / 477.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1177, allocations: 0 / 477.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.1177, allocations: 19.98 kB / 477.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/0.1178, allocations: 24.98 kB / 477.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008278/0.1186, allocations: 431.5 kB / 478.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.1205, allocations: 1.363 MB / 479.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.121, allocations: 267.6 kB / 479.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.1214, allocations: 134.5 kB / 480 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.766e-05/0.1214, allocations: 19.91 kB / 480 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1215, allocations: 38.56 kB / 480.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.1215, allocations: 0 / 480.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001193/0.1227, allocations: 453 kB / 480.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.1227, allocations: 106.8 kB / 480.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.1233, allocations: 0.5018 MB / 481.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1233, allocations: 29.7 kB / 481.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1235, allocations: 204.2 kB / 481.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.1235, allocations: 55.11 kB / 481.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.1236, allocations: 49.7 kB / 481.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1238, allocations: 358.8 kB / 481.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.1241, allocations: 131.8 kB / 481.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.1244, allocations: 173 kB / 482.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/0.125, allocations: 298.4 kB / 482.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.125, allocations: 0 / 482.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007823/0.1258, allocations: 372.8 kB / 482.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.1259, allocations: 14.42 kB / 482.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.843e-05/0.1259, allocations: 32 kB / 482.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.126, allocations: 4 kB / 482.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.1262, allocations: 35.89 kB / 482.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1262, allocations: 4 kB / 482.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.1265, allocations: 59.36 kB / 482.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.1265, allocations: 15.98 kB / 482.9 MB, free: 1.094 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.0002042/0.1267, allocations: 189.7 kB / 483.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1268, allocations: 39.47 kB / 483.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007409/0.1276, allocations: 380.5 kB / 483.5 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1276, allocations: 4 kB / 483.5 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.86e-06/0.1276, allocations: 0 / 483.5 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1276, allocations: 3.984 kB / 483.5 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.1281, allocations: 357.4 kB / 483.9 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.834e-05/0.1282, allocations: 28 kB / 483.9 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1284, allocations: 27.97 kB / 483.9 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1284, allocations: 3.938 kB / 483.9 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.1284, allocations: 15.98 kB / 483.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.964e-05/0.1284, allocations: 4.047 kB / 483.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1284, allocations: 3.828 kB / 483.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.1292, allocations: 0.575 MB / 484.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1294, allocations: 124.5 kB / 484.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.1294, allocations: 4 kB / 484.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1297, allocations: 23.97 kB / 484.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.1298, allocations: 19.98 kB / 484.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.1298, allocations: 12 kB / 484.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003787/0.1302, allocations: 375 kB / 485.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1302, allocations: 0 / 485.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000511/0.1308, allocations: 123.7 kB / 485.2 MB, free: 14.72 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.0003274/0.1311, allocations: 155.1 kB / 485.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008267/0.1319, allocations: 0.5107 MB / 485.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1319, allocations: 320 / 485.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.1324, allocations: 391.1 kB / 486.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.1331, allocations: 102.2 kB / 486.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1344, allocations: 0.7981 MB / 487.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.1349, allocations: 0.8497 MB / 488 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.135, allocations: 63.23 kB / 488 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.1351, allocations: 27.44 kB / 488.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1351, allocations: 3.938 kB / 488.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01187/0.147, allocations: 7.165 MB / 495.2 MB, free: 4.594 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 -s gbode -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