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.001229/0.001229, allocations: 92.55 kB / 17.35 MB, free: 6.371 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.001654/0.001654, allocations: 176.7 kB / 18.25 MB, free: 5.523 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.393/1.393, allocations: 223.3 MB / 242.3 MB, free: 216 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.2378/0.2378, allocations: 44.25 MB / 337.7 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 8 kB / 410.4 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002244/0.1394, allocations: 1.808 MB / 474.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.141, allocations: 1.141 MB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.1411, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1413, allocations: 67.59 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1415, allocations: 91.48 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.142, allocations: 139.6 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004665/0.1424, allocations: 0.5175 MB / 476 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.1425, allocations: 44.72 kB / 476.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.1427, allocations: 143.2 kB / 476.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.143, allocations: 191 kB / 476.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.143, allocations: 12 kB / 476.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.1433, allocations: 211.7 kB / 476.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.1434, allocations: 91.53 kB / 476.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.1436, allocations: 192.6 kB / 476.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.1441, allocations: 478.4 kB / 477.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1442, allocations: 4 kB / 477.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1442, allocations: 0 / 477.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1442, allocations: 0 / 477.4 MB, free: 8.215 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.001064/0.1452, allocations: 0.6396 MB / 478 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1453, allocations: 12.03 kB / 478 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.1454, allocations: 44.38 kB / 478.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1457, allocations: 299.4 kB / 478.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1457, allocations: 29.38 kB / 478.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.1458, allocations: 36.38 kB / 478.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009138/0.1467, allocations: 0.5936 MB / 479 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1467, allocations: 0 / 479 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.1468, allocations: 16 kB / 479 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/0.1468, allocations: 24.98 kB / 479.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00085/0.1477, allocations: 451.6 kB / 479.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.1494, allocations: 1.371 MB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.15, allocations: 287.6 kB / 481.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.1503, allocations: 150.5 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.1504, allocations: 16.02 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1504, allocations: 46.5 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1504, allocations: 0 / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00119/0.1516, allocations: 491.7 kB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1517, allocations: 110.8 kB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/0.1522, allocations: 0.5019 MB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1523, allocations: 25.7 kB / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1524, allocations: 204.2 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.1525, allocations: 59.14 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1525, allocations: 17.72 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1527, allocations: 358.8 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.153, allocations: 139.9 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.1534, allocations: 188.9 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.1541, allocations: 324.8 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1541, allocations: 0 / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008484/0.155, allocations: 404.9 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.155, allocations: 10.12 kB / 484.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.589e-05/0.1551, allocations: 32 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1551, allocations: 0 / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.1553, allocations: 47.83 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1553, allocations: 4 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.1556, allocations: 67.39 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.1556, allocations: 15.98 kB / 484.3 MB, free: 0.9609 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.0001742/0.1558, allocations: 181.8 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1559, allocations: 47.41 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.1567, allocations: 387.5 kB / 484.9 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1567, allocations: 4 kB / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1567, allocations: 7.984 kB / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1567, allocations: 0 / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.1572, allocations: 357.3 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-05/0.1573, allocations: 35.98 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1575, allocations: 31.97 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1575, allocations: 3.938 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.1575, allocations: 12 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1575, allocations: 0 / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1575, allocations: 7.938 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008456/0.1584, allocations: 0.5912 MB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1585, allocations: 132.3 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.1586, allocations: 4 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.1589, allocations: 27.97 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.1589, allocations: 23.97 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.159, allocations: 8 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004274/0.1594, allocations: 375 kB / 486.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1594, allocations: 0 / 486.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005389/0.16, allocations: 115.9 kB / 486.6 MB, free: 14.55 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.0003209/0.1603, allocations: 155.7 kB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009358/0.1612, allocations: 0.5419 MB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1612, allocations: 0 / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005179/0.1618, allocations: 400 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.1625, allocations: 93.73 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.1639, allocations: 0.9422 MB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.1643, allocations: 0.85 MB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.1645, allocations: 59.25 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.1646, allocations: 23.44 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1646, allocations: 0 / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of Templates: time 0.01141/0.176, allocations: 6.742 MB / 496.4 MB, free: 4.668 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/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches