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.001643/0.001643, allocations: 111.4 kB / 17.99 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 209.8 kB / 18.93 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 247.1 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.2351/0.2351, allocations: 46.12 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 81.95 kB / 417.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1353, allocations: 62.44 MB / 480.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003928/0.1393, allocations: 2.335 MB / 482.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.1426, allocations: 2.142 MB / 484.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1427, allocations: 7.938 kB / 484.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.143, allocations: 59.66 kB / 484.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.1433, allocations: 95.42 kB / 484.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1444, allocations: 402.5 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006227/0.1451, allocations: 0.521 MB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1452, allocations: 61.05 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.1455, allocations: 191 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1458, allocations: 214.9 kB / 486.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.1458, allocations: 16 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1469, allocations: 0.6981 MB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.147, allocations: 111.5 kB / 487.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.1472, allocations: 198.6 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008839/0.1481, allocations: 0.5769 MB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1481, allocations: 3.938 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1481, allocations: 3.938 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1482, allocations: 0 / 487.8 MB, free: 13.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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001454/0.1496, allocations: 0.8425 MB / 488.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1497, allocations: 8.031 kB / 488.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.1501, allocations: 88.23 kB / 488.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.1505, allocations: 320 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.1505, allocations: 41.69 kB / 489.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.1506, allocations: 60.12 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1518, allocations: 0.7657 MB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1519, allocations: 0 / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.1519, allocations: 24 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.321e-05/0.152, allocations: 21.31 kB / 490 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/0.153, allocations: 0.5554 MB / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.1553, allocations: 1.692 MB / 492.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.1559, allocations: 303.5 kB / 492.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.1563, allocations: 146.5 kB / 492.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-05/0.1563, allocations: 15.97 kB / 492.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1564, allocations: 38.5 kB / 492.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.1564, allocations: 0 / 492.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001261/0.1576, allocations: 0.5071 MB / 493.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.1577, allocations: 106.8 kB / 493.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/0.1585, allocations: 0.6354 MB / 494 MB, free: 7.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.1585, allocations: 29.95 kB / 494 MB, free: 7.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.1587, allocations: 299.3 kB / 494.3 MB, free: 7.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.1588, allocations: 71 kB / 494.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.159, allocations: 126.1 kB / 494.5 MB, free: 6.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1592, allocations: 362.8 kB / 494.9 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.1596, allocations: 192.9 kB / 495 MB, free: 6.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.1602, allocations: 461.4 kB / 495.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.1613, allocations: 0.6672 MB / 496.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.964e-06/0.1613, allocations: 4 kB / 496.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001281/0.1626, allocations: 0.6943 MB / 496.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1626, allocations: 12.06 kB / 496.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.695e-05/0.1627, allocations: 51.98 kB / 496.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.1628, allocations: 16 kB / 496.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.1631, allocations: 67.83 kB / 497 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.1631, allocations: 23.92 kB / 497 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.1635, allocations: 91.03 kB / 497.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.1636, allocations: 44 kB / 497.2 MB, free: 4.02 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.0002888/0.1639, allocations: 257.4 kB / 497.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.164, allocations: 59.27 kB / 497.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009576/0.165, allocations: 473.7 kB / 497.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.165, allocations: 7.984 kB / 497.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.165, allocations: 0 / 497.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.165, allocations: 0 / 497.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/0.1656, allocations: 409.3 kB / 498.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.828e-05/0.1657, allocations: 39.98 kB / 498.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1659, allocations: 27.91 kB / 498.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.1659, allocations: 7.938 kB / 498.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.166, allocations: 12 kB / 498.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.166, allocations: 4 kB / 498.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.166, allocations: 0 / 498.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.1673, allocations: 0.6172 MB / 499 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.1675, allocations: 136.4 kB / 499.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.1676, allocations: 7.938 kB / 499.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.1681, allocations: 19.98 kB / 499.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.1682, allocations: 27.91 kB / 499.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.1683, allocations: 15.94 kB / 499.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007804/0.1691, allocations: 450.7 kB / 499.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1691, allocations: 0 / 499.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001246/0.1703, allocations: 191.8 kB / 499.9 MB, free: 1.203 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.0006219/0.171, allocations: 235 kB / 0.4884 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.1727, allocations: 0.7738 MB / 0.4891 GB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1727, allocations: 1.75 kB / 0.4891 GB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008452/0.1735, allocations: 480.2 kB / 0.4896 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.1748, allocations: 130.2 kB / 0.4897 GB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.1776, allocations: 1.153 MB / 0.4908 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/0.1783, allocations: 0.8855 MB / 0.4917 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1784, allocations: 35.44 kB / 0.4917 GB, free: 13.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.283e-06/0.1784, allocations: 4 kB / 0.4917 GB, free: 13.3 MB / 382.1 MB Notification: Performance of Templates: time 0.02387/0.2023, allocations: 10.13 MB / 0.5016 GB, free: 3.219 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/jenkins1/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/jenkins1/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