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.0009915/0.0009915, allocations: 97.98 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003059, allocations: 4 kB / 419.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1666, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002891/0.1696, allocations: 1.828 MB / 484.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1717, allocations: 1.207 MB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1719, allocations: 4 kB / 486.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.1723, allocations: 51.72 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.1726, allocations: 87.5 kB / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.1731, allocations: 155.5 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.1738, allocations: 0.5213 MB / 487 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.1739, allocations: 48.7 kB / 487 MB, free: 232 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.1742, allocations: 151.2 kB / 487.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.1744, allocations: 191 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.1745, allocations: 12 kB / 487.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003718/0.1749, allocations: 215.7 kB / 487.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.175, allocations: 91.53 kB / 487.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1752, allocations: 192.5 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.1758, allocations: 498.4 kB / 488.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1758, allocations: 7.875 kB / 488.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1758, allocations: 3.938 kB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1758, allocations: 0 / 488.3 MB, free: 14.88 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.001161/0.177, allocations: 0.6436 MB / 489 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1771, allocations: 8.875 kB / 489 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/0.1775, allocations: 88.33 kB / 489.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.1779, allocations: 295.4 kB / 489.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.1779, allocations: 29.38 kB / 489.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.178, allocations: 36.38 kB / 489.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.1791, allocations: 0.5897 MB / 490 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1792, allocations: 0 / 490 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.1792, allocations: 16 kB / 490 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.1793, allocations: 24.98 kB / 490.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008746/0.1802, allocations: 451.6 kB / 490.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.1822, allocations: 1.379 MB / 491.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.1827, allocations: 283.6 kB / 492.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/0.1831, allocations: 150.4 kB / 492.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.324e-05/0.1832, allocations: 11.97 kB / 492.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.1832, allocations: 42.56 kB / 492.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.1833, allocations: 0 / 492.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001225/0.1845, allocations: 497.1 kB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.1846, allocations: 106.8 kB / 492.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.1852, allocations: 0.5057 MB / 493.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1852, allocations: 25.7 kB / 493.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.1854, allocations: 204.2 kB / 493.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.1855, allocations: 59.11 kB / 493.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.1855, allocations: 21.7 kB / 493.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.1858, allocations: 354.8 kB / 494.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.1861, allocations: 139.9 kB / 494.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.1865, allocations: 184 kB / 494.4 MB, free: 8.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.1872, allocations: 327.9 kB / 494.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1873, allocations: 0 / 494.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008319/0.1881, allocations: 404.9 kB / 495.1 MB, free: 7.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.1881, allocations: 11.94 kB / 495.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-05/0.1882, allocations: 31.98 kB / 495.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1882, allocations: 4 kB / 495.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.1884, allocations: 39.91 kB / 495.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1884, allocations: 0 / 495.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.1887, allocations: 75.38 kB / 495.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.1888, allocations: 11.94 kB / 495.3 MB, free: 7.598 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.0002134/0.189, allocations: 185.7 kB / 495.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/0.1891, allocations: 39.47 kB / 495.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/0.1899, allocations: 400.6 kB / 495.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1899, allocations: 4 kB / 495.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1899, allocations: 4 kB / 495.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1899, allocations: 0 / 495.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.1904, allocations: 365.3 kB / 496.3 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.375e-05/0.1905, allocations: 35.98 kB / 496.3 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1907, allocations: 35.95 kB / 496.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1907, allocations: 7.875 kB / 496.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.1907, allocations: 4 kB / 496.4 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1907, allocations: 4 kB / 496.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1907, allocations: 0 / 496.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.1916, allocations: 0.5989 MB / 497 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1917, allocations: 124.6 kB / 497.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.1918, allocations: 0 / 497.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.1921, allocations: 31.97 kB / 497.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.1922, allocations: 19.98 kB / 497.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1922, allocations: 15.92 kB / 497.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003939/0.1926, allocations: 375 kB / 497.5 MB, free: 5.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1926, allocations: 0 / 497.5 MB, free: 5.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004884/0.1931, allocations: 107.9 kB / 497.6 MB, free: 5.172 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.0003411/0.1934, allocations: 159.1 kB / 497.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009601/0.1944, allocations: 0.5419 MB / 498.3 MB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.1944, allocations: 4.312 kB / 498.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.195, allocations: 395.1 kB / 498.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.1957, allocations: 98.25 kB / 498.8 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1972, allocations: 0.9345 MB / 499.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.1978, allocations: 0.85 MB / 0.4889 GB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.1979, allocations: 59.25 kB / 0.4889 GB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.198, allocations: 31.38 kB / 0.4889 GB, free: 1.934 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.198, allocations: 0 / 0.4889 GB, free: 1.934 MB / 366.1 MB Notification: Performance of Templates: time 0.01202/0.21, allocations: 6.741 MB / 0.4955 GB, free: 11.29 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