Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 106.1 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2021/0.2021, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 56.75 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1204, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003683/0.1241, allocations: 2.253 MB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.1272, allocations: 2.048 MB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.1274, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.1278, allocations: 83.5 kB / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.1281, allocations: 103.3 kB / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1294, allocations: 414.4 kB / 474.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.1299, allocations: 0.5286 MB / 475.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1301, allocations: 65.05 kB / 475.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.1303, allocations: 183 kB / 475.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.1306, allocations: 214.8 kB / 475.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.1306, allocations: 12 kB / 475.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.1317, allocations: 0.663 MB / 476.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1319, allocations: 103.5 kB / 476.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.1321, allocations: 198.6 kB / 476.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009685/0.1331, allocations: 0.8295 MB / 477.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1331, allocations: 0 / 477.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1331, allocations: 0 / 477.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1331, allocations: 4 kB / 477.6 MB, free: 6.645 MB / 350.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.00136/0.1345, allocations: 0.8346 MB / 478.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1345, allocations: 8.031 kB / 478.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1346, allocations: 56.28 kB / 478.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.135, allocations: 315.4 kB / 478.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.1351, allocations: 45.66 kB / 478.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.1351, allocations: 60.12 kB / 478.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1363, allocations: 0.758 MB / 479.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1363, allocations: 3.938 kB / 479.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.1363, allocations: 27.98 kB / 479.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.1364, allocations: 25.31 kB / 479.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009783/0.1374, allocations: 0.5515 MB / 480.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.1396, allocations: 1.684 MB / 482 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.1402, allocations: 307.5 kB / 482.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.1405, allocations: 146.5 kB / 482.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-05/0.1406, allocations: 7.984 kB / 482.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1406, allocations: 38.64 kB / 482.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.1406, allocations: 4 kB / 482.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001275/0.1419, allocations: 0.503 MB / 483 MB, free: 1.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.142, allocations: 107.1 kB / 483.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.1427, allocations: 0.6429 MB / 483.7 MB, free: 292 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1427, allocations: 33.7 kB / 483.7 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.143, allocations: 287.6 kB / 484 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.1431, allocations: 71 kB / 484.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.1432, allocations: 130 kB / 484.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1434, allocations: 366.7 kB / 484.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.1438, allocations: 192.9 kB / 484.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.1444, allocations: 462.4 kB / 485.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.1454, allocations: 0.6711 MB / 485.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1454, allocations: 8 kB / 485.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001273/0.1467, allocations: 0.6884 MB / 486.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1468, allocations: 13.5 kB / 486.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.174e-05/0.1468, allocations: 47.98 kB / 486.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.1469, allocations: 12 kB / 486.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.1472, allocations: 71.83 kB / 486.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.1472, allocations: 23.91 kB / 486.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.1477, allocations: 98.95 kB / 486.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.1477, allocations: 44.11 kB / 486.9 MB, free: 12.81 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.0002829/0.148, allocations: 249.5 kB / 487.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.1481, allocations: 59.28 kB / 487.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009183/0.1491, allocations: 461.7 kB / 487.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.1491, allocations: 11.98 kB / 487.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1491, allocations: 4 kB / 487.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1491, allocations: 0 / 487.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/0.1497, allocations: 405.3 kB / 488.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-05/0.1498, allocations: 39.98 kB / 488.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1499, allocations: 27.97 kB / 488.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.15, allocations: 3.938 kB / 488.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.15, allocations: 19.98 kB / 488.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.15, allocations: 0 / 488.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.15, allocations: 3.938 kB / 488.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.1509, allocations: 0.6148 MB / 488.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1511, allocations: 128.4 kB / 488.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.1511, allocations: 11.94 kB / 488.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.1515, allocations: 19.97 kB / 488.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.1516, allocations: 23.98 kB / 488.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.1516, allocations: 11.98 kB / 489 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004774/0.1521, allocations: 450.8 kB / 489.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1521, allocations: 4 kB / 489.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008016/0.1529, allocations: 179.9 kB / 489.6 MB, free: 10.02 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.0004814/0.1534, allocations: 227 kB / 489.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.1546, allocations: 0.7775 MB / 490.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1546, allocations: 4.5 kB / 490.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.1552, allocations: 492.2 kB / 491.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.1559, allocations: 122.2 kB / 491.2 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.1577, allocations: 1.022 MB / 492.2 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1581, allocations: 0.8893 MB / 493.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.1582, allocations: 39.44 kB / 493.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1582, allocations: 4 kB / 493.1 MB, free: 6.246 MB / 366.1 MB Notification: Performance of Templates: time 0.01365/0.1719, allocations: 9.979 MB / 0.4913 GB, free: 12.32 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches