Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 105.1 kB / 16.27 MB, free: 5.93 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.001146/0.001146, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2031/0.2031, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00164/0.001641, allocations: 69.27 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1228, allocations: 57.79 MB / 440.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003271/0.1261, allocations: 2.194 MB / 442.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1276, allocations: 1.165 MB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.1277, allocations: 4 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1279, allocations: 59.61 kB / 444 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.1281, allocations: 99.34 kB / 444.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1286, allocations: 187.3 kB / 444.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.129, allocations: 489.8 kB / 444.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.1291, allocations: 61.03 kB / 444.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.1293, allocations: 171 kB / 445 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1295, allocations: 199 kB / 445.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.1295, allocations: 16 kB / 445.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.13, allocations: 323.5 kB / 445.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.1301, allocations: 95.52 kB / 445.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1302, allocations: 190.7 kB / 445.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.1308, allocations: 0.5799 MB / 446.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1308, allocations: 0 / 446.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1308, allocations: 4 kB / 446.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1308, allocations: 0 / 446.3 MB, free: 1.027 MB / 318.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.001155/0.132, allocations: 0.7525 MB / 447.1 MB, free: 232 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.132, allocations: 11.89 kB / 447.1 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/0.1321, allocations: 48.38 kB / 447.2 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.1325, allocations: 299.5 kB / 447.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.1325, allocations: 41.38 kB / 447.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.1326, allocations: 44.12 kB / 447.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.1336, allocations: 0.6558 MB / 448.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1336, allocations: 0 / 448.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.1337, allocations: 19.98 kB / 448.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.1337, allocations: 25 kB / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008618/0.1346, allocations: 487.5 kB / 448.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.1366, allocations: 1.5 MB / 450.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/0.1373, allocations: 307 kB / 450.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.1378, allocations: 146.4 kB / 450.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-05/0.1379, allocations: 19.91 kB / 450.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.138, allocations: 38.56 kB / 450.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 3.006e-06/0.138, allocations: 0 / 450.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001955/0.1399, allocations: 0.4899 MB / 451.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.14, allocations: 115.1 kB / 451.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000924/0.141, allocations: 0.5368 MB / 451.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.141, allocations: 29.64 kB / 451.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.1413, allocations: 228 kB / 452.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.1414, allocations: 74.94 kB / 452.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.1416, allocations: 81.88 kB / 452.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1418, allocations: 358.8 kB / 452.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.1424, allocations: 156.1 kB / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.1431, allocations: 274.7 kB / 453 MB, free: 10.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.1444, allocations: 446.9 kB / 453.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.1444, allocations: 12 kB / 453.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001585/0.146, allocations: 0.4891 MB / 454 MB, free: 9.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.146, allocations: 8 kB / 454 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.1462, allocations: 39.98 kB / 454 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/0.1462, allocations: 11.92 kB / 454 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.1466, allocations: 43.89 kB / 454.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/0.1466, allocations: 7.938 kB / 454.1 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.1472, allocations: 79.41 kB / 454.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.1473, allocations: 20 kB / 454.2 MB, free: 8.816 MB / 334.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.0003819/0.1477, allocations: 217.6 kB / 454.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.1479, allocations: 39.44 kB / 454.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.1492, allocations: 444.1 kB / 454.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.1492, allocations: 11.94 kB / 454.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.1493, allocations: 0 / 454.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1493, allocations: 0 / 454.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009658/0.1502, allocations: 393.2 kB / 455.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-05/0.1503, allocations: 39.98 kB / 455.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.1506, allocations: 23.97 kB / 455.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1506, allocations: 0 / 455.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.1506, allocations: 12 kB / 455.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.1507, allocations: 7.938 kB / 455.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1507, allocations: 0 / 455.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.152, allocations: 0.6044 MB / 455.9 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.1522, allocations: 132.5 kB / 456.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.1524, allocations: 8 kB / 456.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.1528, allocations: 19.92 kB / 456.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.153, allocations: 23.97 kB / 456.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.153, allocations: 16 kB / 456.1 MB, free: 6.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.1537, allocations: 395 kB / 456.5 MB, free: 6.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1537, allocations: 0 / 456.5 MB, free: 6.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009873/0.1547, allocations: 131.8 kB / 456.6 MB, free: 6.238 MB / 334.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.0004748/0.1552, allocations: 155.1 kB / 456.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.1568, allocations: 0.6912 MB / 457.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1568, allocations: 0 / 457.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007328/0.1575, allocations: 489.3 kB / 458 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.1587, allocations: 117.8 kB / 458.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.1612, allocations: 0.917 MB / 459 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.1619, allocations: 0.8621 MB / 459.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.1622, allocations: 83.34 kB / 459.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.1624, allocations: 31.44 kB / 460 MB, free: 2.688 MB / 334.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1624, allocations: 0 / 460 MB, free: 2.688 MB / 334.1 MB Notification: Performance of Templates: time 0.02285/0.1852, allocations: 8.527 MB / 468.5 MB, free: 10.2 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches