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.001125/0.001125, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 71.89 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1239, allocations: 62.45 MB / 481.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003558/0.1275, allocations: 2.211 MB / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1295, allocations: 1.188 MB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.1298, allocations: 4 kB / 484.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1301, allocations: 59.61 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.1305, allocations: 103.3 kB / 485 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006411/0.1311, allocations: 191.2 kB / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000588/0.1317, allocations: 0.49 MB / 485.7 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1318, allocations: 53.06 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.1322, allocations: 167.2 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.1325, allocations: 206.9 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.1326, allocations: 20 kB / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.1331, allocations: 335.5 kB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.1333, allocations: 91.53 kB / 486.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.1335, allocations: 194.6 kB / 486.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006725/0.1342, allocations: 0.5878 MB / 487.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1342, allocations: 0 / 487.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1342, allocations: 4 kB / 487.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1342, allocations: 0 / 487.4 MB, free: 14.57 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001141/0.1354, allocations: 0.7526 MB / 488.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1354, allocations: 8.031 kB / 488.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.1358, allocations: 80.33 kB / 488.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.1362, allocations: 299.5 kB / 488.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.1363, allocations: 37.38 kB / 488.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.1363, allocations: 56.09 kB / 488.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.1372, allocations: 0.6558 MB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1373, allocations: 0 / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.1373, allocations: 16 kB / 489.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.1374, allocations: 21 kB / 489.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.1382, allocations: 495.5 kB / 489.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.1402, allocations: 1.504 MB / 491.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.1407, allocations: 303.5 kB / 491.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.141, allocations: 146.5 kB / 491.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.392e-05/0.1411, allocations: 19.91 kB / 491.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1411, allocations: 34.56 kB / 491.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.1411, allocations: 0 / 491.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001124/0.1423, allocations: 0.499 MB / 492.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.1423, allocations: 106.8 kB / 492.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.1429, allocations: 0.5408 MB / 492.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1429, allocations: 33.7 kB / 492.9 MB, free: 8.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1431, allocations: 228.1 kB / 493.2 MB, free: 8.508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.1431, allocations: 74.98 kB / 493.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.1433, allocations: 85.81 kB / 493.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1434, allocations: 354.8 kB / 493.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.1437, allocations: 156.1 kB / 493.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.1441, allocations: 277.5 kB / 494.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.1449, allocations: 449.7 kB / 494.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1449, allocations: 0 / 494.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000933/0.1458, allocations: 0.4964 MB / 495 MB, free: 6.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1459, allocations: 8 kB / 495 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-05/0.1459, allocations: 40.52 kB / 495.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.146, allocations: 15.94 kB / 495.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.1462, allocations: 39.91 kB / 495.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.1462, allocations: 15.92 kB / 495.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.1465, allocations: 67.27 kB / 495.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.1466, allocations: 24 kB / 495.2 MB, free: 6.305 MB / 366.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.0002014/0.1468, allocations: 209.6 kB / 495.4 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1469, allocations: 51.44 kB / 495.5 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008009/0.1477, allocations: 429.2 kB / 495.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1477, allocations: 11.92 kB / 495.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1477, allocations: 4 kB / 495.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1477, allocations: 3.938 kB / 495.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.1483, allocations: 393.2 kB / 496.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.738e-05/0.1484, allocations: 35.98 kB / 496.3 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.1485, allocations: 23.97 kB / 496.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1485, allocations: 8 kB / 496.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.1485, allocations: 15.98 kB / 496.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1486, allocations: 3.938 kB / 496.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1486, allocations: 0 / 496.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.1494, allocations: 0.6102 MB / 497 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1495, allocations: 128.5 kB / 497.1 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.1496, allocations: 4 kB / 497.1 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.1499, allocations: 31.84 kB / 497.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.15, allocations: 19.98 kB / 497.2 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.15, allocations: 8 kB / 497.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003783/0.1504, allocations: 403 kB / 497.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1504, allocations: 0 / 497.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005237/0.1509, allocations: 135.8 kB / 497.7 MB, free: 3.719 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.0002761/0.1512, allocations: 151.1 kB / 497.9 MB, free: 3.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009254/0.1521, allocations: 0.6735 MB / 498.5 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1522, allocations: 4.062 kB / 498.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.1526, allocations: 480.2 kB / 499 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/0.1533, allocations: 129.4 kB / 499.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1548, allocations: 0.8938 MB / 0.4883 GB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.1553, allocations: 0.8698 MB / 0.4892 GB, free: 328 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.1555, allocations: 87.33 kB / 0.4892 GB, free: 240 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.1556, allocations: 27.44 kB / 0.4893 GB, free: 212 kB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1556, allocations: 0 / 0.4893 GB, free: 212 kB / 366.1 MB Notification: Performance of Templates: time 0.01367/0.1693, allocations: 8.514 MB / 0.4976 GB, free: 7.793 MB / 382.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 -s cvode -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