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.001345/0.001345, 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.001356/0.001356, 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 1.445/1.445, 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.2309/0.2309, allocations: 46.12 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 76.47 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1316, allocations: 62.46 MB / 480.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004299/0.1359, allocations: 2.281 MB / 482.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1381, allocations: 1.172 MB / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1383, allocations: 11.94 kB / 483.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1386, allocations: 59.7 kB / 483.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1389, allocations: 83.45 kB / 483.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.1395, allocations: 167.6 kB / 484 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.1401, allocations: 0.4939 MB / 484.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1403, allocations: 61.05 kB / 484.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.1406, allocations: 171.1 kB / 484.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.1409, allocations: 214.9 kB / 484.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.1409, allocations: 12 kB / 485 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005562/0.1415, allocations: 331.5 kB / 485.3 MB, free: 500 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1416, allocations: 107.4 kB / 485.4 MB, free: 392 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.1419, allocations: 182.8 kB / 485.6 MB, free: 208 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.1425, allocations: 419.1 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1425, allocations: 0 / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1425, allocations: 4 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1425, allocations: 4 kB / 486 MB, free: 15.79 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.001481/0.144, allocations: 0.7486 MB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1441, allocations: 8.031 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004375/0.1445, allocations: 80.33 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.145, allocations: 308 kB / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.145, allocations: 33.38 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.1451, allocations: 48.12 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.1463, allocations: 0.6519 MB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.1464, allocations: 3.938 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.1464, allocations: 24 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/0.1465, allocations: 28.92 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.1475, allocations: 483.5 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.1498, allocations: 1.507 MB / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.1505, allocations: 303.5 kB / 490.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.1508, allocations: 150.4 kB / 490.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.638e-05/0.1509, allocations: 4 kB / 490.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.1509, allocations: 50.47 kB / 490.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.1509, allocations: 0 / 490.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001344/0.1523, allocations: 0.4931 MB / 490.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.1524, allocations: 106.8 kB / 491 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.1531, allocations: 0.5447 MB / 491.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.1531, allocations: 25.7 kB / 491.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.1533, allocations: 228 kB / 491.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.1534, allocations: 67 kB / 491.8 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.1536, allocations: 85.88 kB / 491.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002555/0.1538, allocations: 362.7 kB / 492.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.1542, allocations: 156.1 kB / 492.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/0.1547, allocations: 276.5 kB / 492.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008701/0.1556, allocations: 449 kB / 493.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1556, allocations: 0 / 493.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00106/0.1567, allocations: 0.4967 MB / 493.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1567, allocations: 4 kB / 493.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-05/0.1568, allocations: 43.98 kB / 493.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1568, allocations: 7.938 kB / 493.7 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.157, allocations: 43.89 kB / 493.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.1571, allocations: 7.938 kB / 493.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.1574, allocations: 75.56 kB / 493.8 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.1575, allocations: 27.94 kB / 493.8 MB, free: 7.527 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.0002708/0.1577, allocations: 217.5 kB / 494 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.1579, allocations: 43.44 kB / 494.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009158/0.1588, allocations: 450.5 kB / 494.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.1588, allocations: 7.938 kB / 494.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1588, allocations: 0 / 494.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1588, allocations: 0 / 494.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.1594, allocations: 393.2 kB / 494.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.497e-05/0.1595, allocations: 39.98 kB / 495 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1597, allocations: 27.91 kB / 495 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1597, allocations: 0 / 495 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.1597, allocations: 12 kB / 495 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1597, allocations: 11.94 kB / 495 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.1597, allocations: 4 kB / 495 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.1607, allocations: 0.5994 MB / 495.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.1608, allocations: 132.5 kB / 495.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.1609, allocations: 0 / 495.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.1612, allocations: 23.92 kB / 495.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.1613, allocations: 27.91 kB / 495.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.1613, allocations: 16 kB / 495.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004853/0.1618, allocations: 391 kB / 496.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1618, allocations: 0 / 496.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000618/0.1624, allocations: 135.8 kB / 496.3 MB, free: 4.938 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.0003465/0.1628, allocations: 147.2 kB / 496.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.164, allocations: 0.6951 MB / 497.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.164, allocations: 1.062 kB / 497.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006348/0.1646, allocations: 484.2 kB / 497.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.1654, allocations: 125.4 kB / 497.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1672, allocations: 1.036 MB / 498.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.1678, allocations: 0.8659 MB / 499.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.1679, allocations: 31.44 kB / 499.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1679, allocations: 0 / 499.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of Templates: time 0.01317/0.1811, allocations: 8.243 MB / 0.496 GB, free: 9.152 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