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.001195/0.001195, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.1 MB / 344.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 79.88 kB / 419 MB, free: 18.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.14, allocations: 62.44 MB / 481.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003625/0.1437, allocations: 2.276 MB / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.1469, allocations: 2.145 MB / 485.9 MB, free: 16 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.147, allocations: 7.938 kB / 485.9 MB, free: 8 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.1474, allocations: 79.58 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1477, allocations: 107.2 kB / 486.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1489, allocations: 438.2 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.1495, allocations: 0.5209 MB / 487 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1496, allocations: 65.05 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.1499, allocations: 195 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.1502, allocations: 218.8 kB / 487.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.1503, allocations: 12 kB / 487.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1514, allocations: 0.6864 MB / 488.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1515, allocations: 103.5 kB / 488.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1518, allocations: 198.6 kB / 488.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1528, allocations: 0.8604 MB / 489.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1528, allocations: 3.984 kB / 489.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1528, allocations: 4 kB / 489.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1528, allocations: 0 / 489.4 MB, free: 12.53 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.001231/0.1541, allocations: 0.8347 MB / 490.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1541, allocations: 8.031 kB / 490.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.1545, allocations: 92.23 kB / 490.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.155, allocations: 319.4 kB / 490.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.155, allocations: 37.69 kB / 490.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.1551, allocations: 64.11 kB / 490.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1562, allocations: 0.7657 MB / 491.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1563, allocations: 4 kB / 491.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.1563, allocations: 20 kB / 491.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.1563, allocations: 25.31 kB / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009389/0.1573, allocations: 0.5515 MB / 492.1 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.1596, allocations: 1.68 MB / 493.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.1602, allocations: 315.4 kB / 494.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.1605, allocations: 154.4 kB / 494.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.1606, allocations: 4 kB / 494.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.1607, allocations: 42.56 kB / 494.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.1607, allocations: 0 / 494.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001233/0.1619, allocations: 0.4953 MB / 494.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/0.162, allocations: 119 kB / 494.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.1628, allocations: 0.6354 MB / 495.5 MB, free: 6.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.1628, allocations: 25.7 kB / 495.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.1631, allocations: 295.3 kB / 495.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.1632, allocations: 78.98 kB / 495.9 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.1634, allocations: 118.1 kB / 496 MB, free: 5.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1635, allocations: 366.8 kB / 496.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.1639, allocations: 192.9 kB / 496.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.1645, allocations: 461.4 kB / 497 MB, free: 4.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009759/0.1655, allocations: 0.675 MB / 497.7 MB, free: 3.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1655, allocations: 0 / 497.7 MB, free: 3.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001176/0.1667, allocations: 0.6901 MB / 498.4 MB, free: 2.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.1667, allocations: 11.94 kB / 498.4 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.813e-05/0.1668, allocations: 51.98 kB / 498.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.39e-05/0.1669, allocations: 15.94 kB / 498.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.1672, allocations: 71.81 kB / 498.5 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.1672, allocations: 15.94 kB / 498.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.1677, allocations: 107.2 kB / 498.7 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.1678, allocations: 36 kB / 498.7 MB, free: 2.668 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.0003814/0.1682, allocations: 261.4 kB / 498.9 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.1683, allocations: 51.28 kB / 499 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.1693, allocations: 469.7 kB / 499.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.1693, allocations: 4 kB / 499.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1693, allocations: 0 / 499.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1693, allocations: 7.984 kB / 499.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/0.1699, allocations: 401.3 kB / 499.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-05/0.17, allocations: 51.92 kB / 499.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1702, allocations: 23.97 kB / 499.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1702, allocations: 3.938 kB / 499.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.1702, allocations: 16 kB / 499.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1702, allocations: 7.938 kB / 500 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1702, allocations: 3.984 kB / 500 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.1711, allocations: 0.614 MB / 0.4888 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.1712, allocations: 128.5 kB / 0.489 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.1713, allocations: 11.94 kB / 0.489 GB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.1716, allocations: 11.98 kB / 0.489 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.1717, allocations: 27.97 kB / 0.489 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.1717, allocations: 12 kB / 0.489 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004701/0.1722, allocations: 450.7 kB / 0.4895 GB, free: 56 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1722, allocations: 4 kB / 0.4895 GB, free: 52 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007726/0.173, allocations: 191.8 kB / 0.4896 GB, free: 15.86 MB / 382.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.0004535/0.1735, allocations: 234.9 kB / 0.4899 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.1745, allocations: 0.7584 MB / 0.4906 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1746, allocations: 0 / 0.4906 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.1751, allocations: 484.3 kB / 0.4911 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/0.1758, allocations: 129.7 kB / 0.4912 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1775, allocations: 1 MB / 0.4922 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.178, allocations: 0.8933 MB / 0.493 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002856/0.1783, allocations: 136.4 kB / 0.4932 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.1784, allocations: 31.44 kB / 0.4932 GB, free: 12 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1784, allocations: 0 / 0.4932 GB, free: 12 MB / 382.1 MB Notification: Performance of Templates: time 0.01626/0.1946, allocations: 10.52 MB / 0.5035 GB, free: 1.574 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 -s cvode -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