Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_laminar,tolerance=1e-07,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_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.816/2.816, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4121/0.4121, allocations: 46.1 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0029/0.0029, allocations: 83.8 kB / 417.7 MB, free: 7.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.175, allocations: 62.44 MB / 480.2 MB, free: 8.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.005767/0.1809, allocations: 2.262 MB / 482.4 MB, free: 6.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.184, allocations: 1.176 MB / 483.6 MB, free: 5.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.1844, allocations: 0 / 483.6 MB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.1849, allocations: 63.64 kB / 483.7 MB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.1855, allocations: 95.42 kB / 483.8 MB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.1865, allocations: 166.9 kB / 483.9 MB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009442/0.1874, allocations: 0.49 MB / 484.4 MB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1876, allocations: 57.05 kB / 484.5 MB, free: 4.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.1882, allocations: 175.1 kB / 484.7 MB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.1886, allocations: 210.9 kB / 484.9 MB, free: 4.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.1887, allocations: 16 kB / 484.9 MB, free: 4.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008482/0.1896, allocations: 335.5 kB / 485.2 MB, free: 3.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.1898, allocations: 99.52 kB / 485.3 MB, free: 3.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.1902, allocations: 194.6 kB / 485.5 MB, free: 3.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008324/0.191, allocations: 411.2 kB / 485.9 MB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1911, allocations: 0 / 485.9 MB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1911, allocations: 3.938 kB / 485.9 MB, free: 3.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.1911, allocations: 0 / 485.9 MB, free: 3.188 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002048/0.1932, allocations: 0.7487 MB / 486.6 MB, free: 2.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.1932, allocations: 12.03 kB / 486.7 MB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006085/0.1938, allocations: 88.23 kB / 486.7 MB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.1945, allocations: 308.1 kB / 487 MB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.1945, allocations: 33.38 kB / 487.1 MB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.943e-05/0.1946, allocations: 52.12 kB / 487.1 MB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.1962, allocations: 0.6558 MB / 487.8 MB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1963, allocations: 4 kB / 487.8 MB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.91e-05/0.1963, allocations: 20 kB / 487.8 MB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/0.1964, allocations: 24.98 kB / 487.8 MB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.1977, allocations: 483.5 kB / 488.3 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003178/0.2009, allocations: 1.519 MB / 489.8 MB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.2018, allocations: 299.5 kB / 490.1 MB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.2023, allocations: 150.4 kB / 490.3 MB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.04e-05/0.2024, allocations: 11.98 kB / 490.3 MB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.2024, allocations: 34.56 kB / 490.3 MB, free: 14.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 4.498e-06/0.2024, allocations: 0 / 490.3 MB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001867/0.2043, allocations: 0.4955 MB / 490.8 MB, free: 14.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.2044, allocations: 102.8 kB / 490.9 MB, free: 13.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009548/0.2054, allocations: 0.5447 MB / 491.4 MB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.2055, allocations: 25.7 kB / 491.5 MB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.2057, allocations: 239.8 kB / 491.7 MB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.813e-05/0.2058, allocations: 67.08 kB / 491.8 MB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.206, allocations: 81.97 kB / 491.9 MB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.2062, allocations: 358.8 kB / 492.2 MB, free: 12.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/0.2068, allocations: 152.1 kB / 492.4 MB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.2074, allocations: 272.6 kB / 492.6 MB, free: 12.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.2086, allocations: 453.5 kB / 493.1 MB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.2086, allocations: 3.938 kB / 493.1 MB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001501/0.2101, allocations: 0.4925 MB / 493.6 MB, free: 11.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.2102, allocations: 8 kB / 493.6 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.2103, allocations: 39.98 kB / 493.6 MB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.139e-05/0.2103, allocations: 12.47 kB / 493.6 MB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.2107, allocations: 47.89 kB / 493.7 MB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.2107, allocations: 8 kB / 493.7 MB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/0.2112, allocations: 75.23 kB / 493.7 MB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.2113, allocations: 20 kB / 493.8 MB, free: 10.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0004117/0.2117, allocations: 213.6 kB / 494 MB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.2119, allocations: 39.47 kB / 494 MB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.2132, allocations: 457 kB / 494.5 MB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.2132, allocations: 7.938 kB / 494.5 MB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.2132, allocations: 0 / 494.5 MB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2132, allocations: 7.984 kB / 494.5 MB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008106/0.214, allocations: 385.2 kB / 494.8 MB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.425e-05/0.2141, allocations: 35.98 kB / 494.9 MB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.2143, allocations: 27.97 kB / 494.9 MB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/0.2143, allocations: 4 kB / 494.9 MB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.2144, allocations: 12 kB / 494.9 MB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2144, allocations: 3.938 kB / 494.9 MB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2144, allocations: 0 / 494.9 MB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009518/0.2153, allocations: 0.6138 MB / 495.5 MB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.2155, allocations: 132.5 kB / 495.7 MB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.2156, allocations: 8 kB / 495.7 MB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.2159, allocations: 19.92 kB / 495.7 MB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.216, allocations: 23.97 kB / 495.7 MB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.2161, allocations: 16 kB / 495.7 MB, free: 8.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004552/0.2165, allocations: 395 kB / 496.1 MB, free: 8.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2165, allocations: 0 / 496.1 MB, free: 8.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006169/0.2171, allocations: 135.9 kB / 496.3 MB, free: 8.324 MB / 414.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.0003509/0.2175, allocations: 151.1 kB / 496.4 MB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.2187, allocations: 0.6941 MB / 497.1 MB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2187, allocations: 0 / 497.1 MB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005623/0.2192, allocations: 484.2 kB / 497.6 MB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.22, allocations: 118 kB / 497.7 MB, free: 6.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.2219, allocations: 1.047 MB / 498.7 MB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.2224, allocations: 0.8582 MB / 499.6 MB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.2226, allocations: 31.44 kB / 499.6 MB, free: 4.734 MB / 414.1 MB Notification: Performance of SimCode: time 2.054e-06/0.2226, allocations: 0 / 499.6 MB, free: 4.734 MB / 414.1 MB Notification: Performance of Templates: time 0.01361/0.2362, allocations: 8.251 MB / 0.496 GB, free: 12.54 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches