Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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_laminar_KC,tolerance=1e-06,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2999/0.2999, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 78.88 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1518, allocations: 62.43 MB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003807/0.1557, allocations: 2.032 MB / 482.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1575, allocations: 0.9268 MB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1578, allocations: 3.938 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.1581, allocations: 59.66 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005308/0.1587, allocations: 123.3 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.159, allocations: 83.64 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.1596, allocations: 394.2 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1597, allocations: 40.72 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/0.1602, allocations: 151.2 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.1605, allocations: 183.1 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.1606, allocations: 12 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.161, allocations: 147.7 kB / 484.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1612, allocations: 95.52 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1614, allocations: 162.9 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.162, allocations: 414.6 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.162, allocations: 0 / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.162, allocations: 4 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1621, allocations: 4 kB / 484.8 MB, free: 480 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001267/0.1633, allocations: 0.6552 MB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1634, allocations: 8.031 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.1635, allocations: 40.47 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1639, allocations: 279.6 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.164, allocations: 29.38 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.164, allocations: 36.36 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008519/0.1649, allocations: 0.561 MB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1649, allocations: 0 / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.165, allocations: 12 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/0.165, allocations: 40.97 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.166, allocations: 0.5737 MB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.1679, allocations: 1.183 MB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.1686, allocations: 377.6 kB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.1689, allocations: 136.9 kB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.1689, allocations: 7.938 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1689, allocations: 34.56 kB / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.169, allocations: 0 / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009867/0.1699, allocations: 468.8 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.17, allocations: 59.41 kB / 489.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.1705, allocations: 453.6 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1705, allocations: 29.7 kB / 489.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1707, allocations: 184.4 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.1707, allocations: 78.84 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.1708, allocations: 53.69 kB / 490.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.171, allocations: 354.7 kB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.1712, allocations: 111.9 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.1715, allocations: 126.9 kB / 490.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.172, allocations: 260.6 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.172, allocations: 0 / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006163/0.1726, allocations: 342.1 kB / 491.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1727, allocations: 4 kB / 491.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1727, allocations: 3.938 kB / 491.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1727, allocations: 8 kB / 491.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.1735, allocations: 155.8 kB / 491.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/0.1766, allocations: 5.52 MB / 496.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.1768, allocations: 51.47 kB / 497 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.1769, allocations: 11.98 kB / 497 MB, free: 3.863 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.1771, allocations: 189.7 kB / 497.2 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.1772, allocations: 31.62 kB / 497.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008882/0.1781, allocations: 463.6 kB / 497.7 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1781, allocations: 4 kB / 497.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1781, allocations: 0 / 497.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.1781, allocations: 3.984 kB / 497.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.1786, allocations: 377.2 kB / 498 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.1787, allocations: 0 / 498 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/0.1793, allocations: 155.9 kB / 498.2 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1794, allocations: 3.938 kB / 498.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.1794, allocations: 11.98 kB / 498.2 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003365/0.1828, allocations: 5.512 MB / 0.4919 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1828, allocations: 3.938 kB / 0.4919 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.1835, allocations: 451 kB / 0.4923 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1836, allocations: 112.6 kB / 0.4925 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.1837, allocations: 8 kB / 0.4925 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.1839, allocations: 11.98 kB / 0.4925 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.184, allocations: 15.92 kB / 0.4925 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.184, allocations: 15.98 kB / 0.4925 GB, free: 12.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.1844, allocations: 335.1 kB / 0.4928 GB, free: 11.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1844, allocations: 4 kB / 0.4928 GB, free: 11.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.1848, allocations: 99.94 kB / 0.4929 GB, free: 11.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002706/0.1851, allocations: 135.1 kB / 0.4931 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1863, allocations: 447.5 kB / 0.4935 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1863, allocations: 0 / 0.4935 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008255/0.1872, allocations: 275 kB / 0.4937 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.1877, allocations: 97.41 kB / 0.4938 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.1893, allocations: 0.7855 MB / 0.4946 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.1898, allocations: 0.8542 MB / 0.4954 GB, free: 9.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002581/0.1901, allocations: 79.22 kB / 0.4955 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.1902, allocations: 39.42 kB / 0.4956 GB, free: 9.043 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1902, allocations: 0 / 0.4956 GB, free: 9.043 MB / 382.1 MB Notification: Performance of Templates: time 0.01422/0.2044, allocations: 7.321 MB / 0.5027 GB, free: 1.809 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches