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.001153/0.001154, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.3 MB, free: 9.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 76.72 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.138, allocations: 62.44 MB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003299/0.1414, allocations: 2.089 MB / 481.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1428, allocations: 0.927 MB / 482.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.1429, allocations: 4 kB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1431, allocations: 55.72 kB / 482.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.1435, allocations: 111.5 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1437, allocations: 83.73 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000447/0.1442, allocations: 0.5019 MB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.1443, allocations: 48.72 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.1445, allocations: 143.2 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.1447, allocations: 191.1 kB / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.1448, allocations: 8 kB / 483.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.145, allocations: 147.7 kB / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1452, allocations: 91.53 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1453, allocations: 158.9 kB / 483.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.1458, allocations: 418.6 kB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1458, allocations: 0 / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1458, allocations: 0 / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1458, allocations: 0 / 484.3 MB, free: 0.6953 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00103/0.1468, allocations: 0.6554 MB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1469, allocations: 8.875 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.147, allocations: 40.47 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1473, allocations: 279.6 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1473, allocations: 29.31 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.1474, allocations: 40.36 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008626/0.1482, allocations: 0.5571 MB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1483, allocations: 3.938 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.1483, allocations: 20 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.1484, allocations: 36.97 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009426/0.1493, allocations: 0.5698 MB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.1511, allocations: 1.171 MB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.1518, allocations: 378.1 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.1521, allocations: 132.9 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.1521, allocations: 11.92 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1522, allocations: 46.56 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.1522, allocations: 0 / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009922/0.1532, allocations: 464 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1532, allocations: 59.39 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.1537, allocations: 449.6 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1537, allocations: 25.7 kB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1539, allocations: 192.4 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.154, allocations: 82.83 kB / 489.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1541, allocations: 53.69 kB / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1542, allocations: 354.7 kB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.1545, allocations: 119.9 kB / 490 MB, free: 10.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.1547, allocations: 115.9 kB / 490.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.1553, allocations: 264.6 kB / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1553, allocations: 0 / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006306/0.156, allocations: 344.1 kB / 490.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.156, allocations: 4 kB / 490.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.156, allocations: 7.938 kB / 490.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.156, allocations: 0 / 490.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.1568, allocations: 151.9 kB / 490.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.1598, allocations: 5.52 MB / 496.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1601, allocations: 51.39 kB / 496.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.1601, allocations: 12.27 kB / 496.4 MB, free: 4.09 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.0002259/0.1603, allocations: 189.7 kB / 496.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.1604, allocations: 35.62 kB / 496.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009111/0.1613, allocations: 460.3 kB / 497.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1613, allocations: 0 / 497.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1613, allocations: 0 / 497.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1614, allocations: 8 kB / 497.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.1618, allocations: 381.2 kB / 497.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1618, allocations: 0 / 497.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006698/0.1625, allocations: 155.9 kB / 497.6 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1625, allocations: 0 / 497.6 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.1626, allocations: 8 kB / 497.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003307/0.1659, allocations: 5.512 MB / 0.4914 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1659, allocations: 3.938 kB / 0.4914 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008246/0.1667, allocations: 454.5 kB / 0.4918 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1669, allocations: 120.6 kB / 0.4919 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.1669, allocations: 0 / 0.4919 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1671, allocations: 8 kB / 0.4919 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.1672, allocations: 27.91 kB / 0.4919 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1673, allocations: 7.984 kB / 0.492 GB, free: 12.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004436/0.1677, allocations: 339.1 kB / 0.4923 GB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1677, allocations: 4 kB / 0.4923 GB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.1682, allocations: 95.94 kB / 0.4924 GB, free: 12.02 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.0003162/0.1685, allocations: 143.1 kB / 0.4925 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.1697, allocations: 395.6 kB / 0.4929 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1697, allocations: 0 / 0.4929 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008903/0.1706, allocations: 279.7 kB / 0.4931 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.1711, allocations: 85.44 kB / 0.4932 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.1726, allocations: 0.8891 MB / 0.4941 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.1732, allocations: 0.8542 MB / 0.4949 GB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.1734, allocations: 83.2 kB / 0.495 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.1735, allocations: 31.42 kB / 0.495 GB, free: 9.219 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1735, allocations: 3.938 kB / 0.495 GB, free: 9.215 MB / 382.1 MB Notification: Performance of Templates: time 0.01305/0.1866, allocations: 6.938 MB / 0.5018 GB, free: 2.359 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