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.0009551/0.0009551, allocations: 96.11 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 205.9 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 247.5 MB, free: 9.727 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1836/0.1836, allocations: 46.19 MB / 345.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002573, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1036, allocations: 63.57 MB / 483.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002447/0.1061, allocations: 1.919 MB / 485.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1079, allocations: 1.169 MB / 486.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1081, allocations: 4 kB / 486.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.1083, allocations: 59.66 kB / 486.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.1086, allocations: 87.48 kB / 487 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.1091, allocations: 171.4 kB / 487.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.1098, allocations: 0.5875 MB / 487.8 MB, free: 120 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1099, allocations: 57.05 kB / 487.8 MB, free: 60 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.1102, allocations: 171.2 kB / 488 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1105, allocations: 203 kB / 488.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.1105, allocations: 12 kB / 488.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.111, allocations: 331.4 kB / 488.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1111, allocations: 103.5 kB / 488.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.1113, allocations: 216.4 kB / 488.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.1118, allocations: 407.2 kB / 489.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1118, allocations: 0 / 489.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1118, allocations: 4 kB / 489.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1118, allocations: 0 / 489.2 MB, free: 14.63 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.00101/0.1128, allocations: 0.6785 MB / 489.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1129, allocations: 8.875 kB / 489.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.1133, allocations: 96.33 kB / 490 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.1136, allocations: 296.1 kB / 490.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1136, allocations: 33.38 kB / 490.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.1137, allocations: 56.05 kB / 490.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.1147, allocations: 0.6675 MB / 491 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1147, allocations: 4 kB / 491.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.1148, allocations: 16 kB / 491.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.1148, allocations: 25 kB / 491.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000922/0.1157, allocations: 0.4995 MB / 491.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.1177, allocations: 1.503 MB / 493.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.1182, allocations: 323.5 kB / 493.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.1186, allocations: 162.4 kB / 493.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.1187, allocations: 15.97 kB / 493.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1187, allocations: 42.55 kB / 493.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.1187, allocations: 0 / 493.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001303/0.12, allocations: 0.5322 MB / 494.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1201, allocations: 106.8 kB / 494.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.1207, allocations: 0.5447 MB / 494.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.1207, allocations: 29.7 kB / 494.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1209, allocations: 227.9 kB / 495.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.121, allocations: 75.03 kB / 495.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.1211, allocations: 33.7 kB / 495.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1212, allocations: 362.8 kB / 495.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.1216, allocations: 160.1 kB / 495.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.122, allocations: 295.6 kB / 496 MB, free: 7.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.1229, allocations: 477.6 kB / 496.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1229, allocations: 0 / 496.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001062/0.124, allocations: 0.5199 MB / 497 MB, free: 6.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.124, allocations: 8.5 kB / 497 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.557e-05/0.1241, allocations: 40 kB / 497 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1241, allocations: 15.92 kB / 497 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.1243, allocations: 47.91 kB / 497.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.1244, allocations: 4 kB / 497.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.1247, allocations: 83.25 kB / 497.1 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.1248, allocations: 20 kB / 497.2 MB, free: 6.289 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.0002299/0.125, allocations: 213.6 kB / 497.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1251, allocations: 43.44 kB / 497.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/0.126, allocations: 459.2 kB / 497.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.126, allocations: 11.88 kB / 497.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.126, allocations: 0 / 497.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.126, allocations: 3.984 kB / 497.9 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1266, allocations: 385.2 kB / 498.3 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.828e-05/0.1267, allocations: 43.98 kB / 498.3 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1269, allocations: 35.97 kB / 498.3 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1269, allocations: 4 kB / 498.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.1269, allocations: 8 kB / 498.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1269, allocations: 3.938 kB / 498.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1269, allocations: 7.875 kB / 498.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009034/0.1278, allocations: 0.6307 MB / 499 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1279, allocations: 128.5 kB / 499.1 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.128, allocations: 8 kB / 499.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.1283, allocations: 23.92 kB / 499.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.1284, allocations: 23.97 kB / 499.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.1284, allocations: 16 kB / 499.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004073/0.1289, allocations: 395 kB / 499.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1289, allocations: 0 / 499.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005535/0.1294, allocations: 135.8 kB / 499.7 MB, free: 3.648 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.000298/0.1297, allocations: 155.1 kB / 499.9 MB, free: 3.488 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.1307, allocations: 0.6844 MB / 0.4888 GB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1308, allocations: 0 / 0.4888 GB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.1313, allocations: 0.4886 MB / 0.4893 GB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.1321, allocations: 109.3 kB / 0.4894 GB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1337, allocations: 1.067 MB / 0.4904 GB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1341, allocations: 0.87 MB / 0.4913 GB, free: 60 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.1342, allocations: 27.44 kB / 0.4913 GB, free: 32 kB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1342, allocations: 0 / 0.4913 GB, free: 32 kB / 366.1 MB Notification: Performance of Templates: time 0.01149/0.1457, allocations: 8.204 MB / 0.4993 GB, free: 7.879 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