Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.3 MB, free: 9.121 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.14 MB / 343.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003152/0.003152, allocations: 72.75 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.139, allocations: 62.46 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.004288/0.1433, allocations: 2.335 MB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.1469, allocations: 2.173 MB / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1471, allocations: 0 / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1474, allocations: 75.62 kB / 484 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.1477, allocations: 91.44 kB / 484.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.1489, allocations: 394 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006924/0.1496, allocations: 0.6185 MB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1497, allocations: 65.05 kB / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.15, allocations: 171.1 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.1504, allocations: 226.8 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.1504, allocations: 8 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1516, allocations: 0.6864 MB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.1518, allocations: 103.5 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.152, allocations: 206.5 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.1532, allocations: 0.8412 MB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1532, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1532, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1532, allocations: 0 / 487.4 MB, free: 13.63 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001471/0.1547, allocations: 0.8425 MB / 488.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1547, allocations: 12.86 kB / 488.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00045/0.1552, allocations: 88.25 kB / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.1557, allocations: 319.9 kB / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1557, allocations: 41.69 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.1558, allocations: 56.12 kB / 488.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.157, allocations: 0.7697 MB / 489.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.157, allocations: 0 / 489.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.1571, allocations: 20 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.1571, allocations: 29.3 kB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1582, allocations: 0.5476 MB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.1605, allocations: 1.684 MB / 491.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.1611, allocations: 307.5 kB / 492.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.1615, allocations: 150.4 kB / 492.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.1615, allocations: 15.98 kB / 492.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1616, allocations: 34.56 kB / 492.3 MB, free: 8.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.1616, allocations: 3.938 kB / 492.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001268/0.1629, allocations: 0.5059 MB / 492.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.1629, allocations: 110.8 kB / 492.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.1637, allocations: 0.6315 MB / 493.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1637, allocations: 29.7 kB / 493.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.164, allocations: 295.3 kB / 493.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.1641, allocations: 78.94 kB / 493.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.1643, allocations: 122.2 kB / 494 MB, free: 6.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1645, allocations: 362.8 kB / 494.4 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.1649, allocations: 188.9 kB / 494.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/0.1656, allocations: 469.4 kB / 495 MB, free: 5.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.1667, allocations: 0.6695 MB / 495.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.1667, allocations: 4 kB / 495.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001409/0.1681, allocations: 0.6877 MB / 496.4 MB, free: 4.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.1682, allocations: 11.94 kB / 496.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.295e-05/0.1683, allocations: 55.92 kB / 496.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.1683, allocations: 12.69 kB / 496.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1686, allocations: 79.81 kB / 496.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.1686, allocations: 15.94 kB / 496.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.1691, allocations: 99.03 kB / 496.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.1691, allocations: 35.94 kB / 496.7 MB, free: 3.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003023/0.1694, allocations: 261.5 kB / 497 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1696, allocations: 51.28 kB / 497 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.1707, allocations: 469.6 kB / 497.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.1707, allocations: 4 kB / 497.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1707, allocations: 8 kB / 497.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1707, allocations: 3.984 kB / 497.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006999/0.1714, allocations: 401.3 kB / 497.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.3e-05/0.1715, allocations: 47.98 kB / 497.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1717, allocations: 23.97 kB / 497.9 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.1717, allocations: 3.938 kB / 497.9 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.1717, allocations: 12 kB / 498 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.1718, allocations: 7.984 kB / 498 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1718, allocations: 0 / 498 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/0.1727, allocations: 0.621 MB / 498.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1729, allocations: 128.5 kB / 498.7 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.173, allocations: 7.938 kB / 498.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.1733, allocations: 23.97 kB / 498.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.1734, allocations: 27.97 kB / 498.8 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.1734, allocations: 12 kB / 498.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005315/0.174, allocations: 446.7 kB / 499.2 MB, free: 1.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.174, allocations: 4 kB / 499.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000773/0.1748, allocations: 191.8 kB / 499.4 MB, free: 0.957 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0005477/0.1753, allocations: 238.9 kB / 499.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.1766, allocations: 0.7515 MB / 0.4887 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1766, allocations: 0 / 0.4887 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.1772, allocations: 480.2 kB / 0.4891 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.178, allocations: 118.8 kB / 0.4892 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.1801, allocations: 1.135 MB / 0.4903 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.1807, allocations: 0.8935 MB / 0.4912 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003421/0.1811, allocations: 136.4 kB / 0.4913 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.1811, allocations: 35.42 kB / 0.4914 GB, free: 12.96 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1811, allocations: 0 / 0.4914 GB, free: 12.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01913/0.2003, allocations: 10.08 MB / 0.5012 GB, free: 2.977 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches