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.001833/0.001833, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.12 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003263/0.003263, allocations: 80.09 kB / 418.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1253, allocations: 62.45 MB / 480.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003771/0.1291, allocations: 2.22 MB / 483 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1311, allocations: 1.18 MB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1312, allocations: 4 kB / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.1315, allocations: 71.52 kB / 484.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1318, allocations: 95.38 kB / 484.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.1323, allocations: 191.3 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.1329, allocations: 497.7 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.133, allocations: 61.03 kB / 485.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.1333, allocations: 179.1 kB / 485.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1335, allocations: 199 kB / 485.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.1336, allocations: 16 kB / 485.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.1341, allocations: 331.5 kB / 485.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1343, allocations: 95.52 kB / 485.9 MB, free: 88 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.1345, allocations: 194.8 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007581/0.1353, allocations: 0.5801 MB / 486.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1353, allocations: 0 / 486.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1353, allocations: 4 kB / 486.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1353, allocations: 0 / 486.7 MB, free: 15.31 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.001288/0.1366, allocations: 0.7565 MB / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1367, allocations: 12.03 kB / 487.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.1371, allocations: 80.34 kB / 487.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.1375, allocations: 307.4 kB / 487.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.1375, allocations: 37.38 kB / 487.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.316e-05/0.1376, allocations: 48.06 kB / 487.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.1387, allocations: 0.6519 MB / 488.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1387, allocations: 0 / 488.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.1388, allocations: 20 kB / 488.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.1388, allocations: 24.98 kB / 488.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009406/0.1398, allocations: 483.5 kB / 489.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1419, allocations: 1.504 MB / 490.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.1425, allocations: 311.4 kB / 490.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/0.1429, allocations: 148.8 kB / 491 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/0.143, allocations: 11.98 kB / 491 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.143, allocations: 38.56 kB / 491.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.143, allocations: 0 / 491.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001321/0.1443, allocations: 0.4969 MB / 491.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.1444, allocations: 110.8 kB / 491.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.1451, allocations: 0.5408 MB / 492.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.1451, allocations: 29.7 kB / 492.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1453, allocations: 228 kB / 492.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.1454, allocations: 67 kB / 492.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1456, allocations: 85.88 kB / 492.6 MB, free: 9.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1458, allocations: 358.8 kB / 493 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.1461, allocations: 156.1 kB / 493.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.1466, allocations: 276.5 kB / 493.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008843/0.1475, allocations: 453 kB / 493.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1475, allocations: 0 / 493.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001073/0.1486, allocations: 0.4927 MB / 494.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1486, allocations: 8 kB / 494.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.302e-05/0.1487, allocations: 39.98 kB / 494.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.1488, allocations: 11.94 kB / 494.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.149, allocations: 43.89 kB / 494.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.149, allocations: 8 kB / 494.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.1494, allocations: 71.61 kB / 494.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.1494, allocations: 31.92 kB / 494.5 MB, free: 7.043 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.0002587/0.1497, allocations: 213.5 kB / 494.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1498, allocations: 43.44 kB / 494.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/0.1507, allocations: 447.5 kB / 495.2 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.1507, allocations: 7.938 kB / 495.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1507, allocations: 4 kB / 495.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1508, allocations: 0 / 495.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.1514, allocations: 389.2 kB / 495.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.153e-05/0.1514, allocations: 35.98 kB / 495.6 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1516, allocations: 27.97 kB / 495.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1516, allocations: 11.94 kB / 495.7 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.1516, allocations: 8 kB / 495.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1517, allocations: 7.938 kB / 495.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1517, allocations: 3.938 kB / 495.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009562/0.1526, allocations: 0.6063 MB / 496.3 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1528, allocations: 128.5 kB / 496.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.1528, allocations: 4 kB / 496.4 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.1531, allocations: 23.91 kB / 496.5 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.1532, allocations: 19.98 kB / 496.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.1533, allocations: 15.98 kB / 496.5 MB, free: 4.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004654/0.1537, allocations: 395 kB / 496.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1538, allocations: 0 / 496.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.1543, allocations: 139.8 kB / 497 MB, free: 4.457 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.0002996/0.1546, allocations: 159 kB / 497.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.1558, allocations: 0.6945 MB / 497.9 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1558, allocations: 0 / 497.9 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.1564, allocations: 480.3 kB / 498.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/0.1571, allocations: 110 kB / 498.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1588, allocations: 0.9306 MB / 499.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.1594, allocations: 0.8658 MB / 0.4885 GB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.1594, allocations: 31.42 kB / 0.4885 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1595, allocations: 0 / 0.4885 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of Templates: time 0.01278/0.1722, allocations: 8.258 MB / 0.4966 GB, free: 8.766 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 -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