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.001373/0.001373, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001731/0.001731, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001669, allocations: 73.11 kB / 417.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1311, allocations: 62.45 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.004296/0.1354, allocations: 2.175 MB / 481.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1379, allocations: 1.215 MB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.1382, allocations: 0 / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.1385, allocations: 63.59 kB / 483 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.1389, allocations: 83.52 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007045/0.1396, allocations: 155.6 kB / 483.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.1402, allocations: 437.9 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1403, allocations: 44.72 kB / 483.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.1407, allocations: 159.2 kB / 483.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.141, allocations: 191.1 kB / 484 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.1411, allocations: 16 kB / 484 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.1416, allocations: 227.6 kB / 484.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.1417, allocations: 95.52 kB / 484.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.1419, allocations: 166.8 kB / 484.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.1426, allocations: 0.4945 MB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1427, allocations: 0 / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1427, allocations: 0 / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.1427, allocations: 4 kB / 485 MB, free: 76 kB / 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.001714/0.1444, allocations: 0.7019 MB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.1445, allocations: 8.031 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.145, allocations: 76.42 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1455, allocations: 295.4 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.1455, allocations: 33.31 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.1456, allocations: 36.38 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.1466, allocations: 0.5742 MB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1466, allocations: 3.984 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.1467, allocations: 20 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.959e-05/0.1467, allocations: 21 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.1476, allocations: 431.5 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.1497, allocations: 1.375 MB / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005634/0.1502, allocations: 275.6 kB / 488.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.1506, allocations: 130.5 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.1506, allocations: 4 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1507, allocations: 42.56 kB / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 3.426e-06/0.1507, allocations: 112 / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001298/0.152, allocations: 464 kB / 489.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/0.1521, allocations: 110.8 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.1527, allocations: 0.5017 MB / 490.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.1527, allocations: 29.7 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.153, allocations: 204.2 kB / 490.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.1531, allocations: 63.17 kB / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.68e-05/0.1532, allocations: 49.7 kB / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003086/0.1535, allocations: 354.7 kB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.1539, allocations: 131.9 kB / 490.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.1542, allocations: 168.4 kB / 491 MB, free: 9.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.1549, allocations: 308.8 kB / 491.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.155, allocations: 4 kB / 491.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008233/0.1558, allocations: 375.3 kB / 491.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1558, allocations: 7.938 kB / 491.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.908e-05/0.1559, allocations: 31.98 kB / 491.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1559, allocations: 4.156 kB / 491.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.1561, allocations: 31.97 kB / 491.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1561, allocations: 0 / 491.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.1564, allocations: 59.44 kB / 491.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.1564, allocations: 16 kB / 491.9 MB, free: 8.898 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.0002019/0.1567, allocations: 185.6 kB / 492 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1568, allocations: 47.38 kB / 492.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007789/0.1576, allocations: 380.6 kB / 492.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1576, allocations: 4 kB / 492.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1576, allocations: 0 / 492.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1576, allocations: 0 / 492.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.1582, allocations: 373.2 kB / 492.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.178e-05/0.1582, allocations: 27.98 kB / 492.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1584, allocations: 27.97 kB / 492.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.1584, allocations: 7.938 kB / 492.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.1584, allocations: 8 kB / 492.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1584, allocations: 7.984 kB / 492.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1584, allocations: 0 / 492.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.1593, allocations: 0.5638 MB / 493.5 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.1595, allocations: 128.5 kB / 493.6 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.1596, allocations: 8 kB / 493.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.1599, allocations: 15.98 kB / 493.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/0.16, allocations: 23.97 kB / 493.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.16, allocations: 19.98 kB / 493.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004341/0.1604, allocations: 375 kB / 494 MB, free: 6.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1604, allocations: 3.938 kB / 494 MB, free: 6.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006081/0.1611, allocations: 111.9 kB / 494.1 MB, free: 6.512 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.0003936/0.1615, allocations: 151.1 kB / 494.3 MB, free: 6.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.1625, allocations: 0.5304 MB / 494.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1625, allocations: 4.062 kB / 494.8 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.1632, allocations: 387.1 kB / 495.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007311/0.1639, allocations: 101.5 kB / 495.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1654, allocations: 0.912 MB / 496.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.1659, allocations: 0.8536 MB / 497.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.166, allocations: 63.25 kB / 497.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.1661, allocations: 23.44 kB / 497.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1661, allocations: 0 / 497.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of Templates: time 0.01395/0.1801, allocations: 7.024 MB / 0.4924 GB, free: 12.39 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/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