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.0009874/0.0009874, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1945/0.1945, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 79.86 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1133, allocations: 62.44 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003438/0.1167, allocations: 2.221 MB / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1187, allocations: 1.176 MB / 484.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.1189, allocations: 7.938 kB / 484.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.1192, allocations: 63.59 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.1195, allocations: 107.2 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.1201, allocations: 187.3 kB / 485.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.1207, allocations: 0.4899 MB / 485.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.1208, allocations: 57.05 kB / 485.8 MB, free: 224 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.1211, allocations: 179.1 kB / 486 MB, free: 44 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.1214, allocations: 207 kB / 486.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.1214, allocations: 12 kB / 486.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.1219, allocations: 331.5 kB / 486.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1221, allocations: 103.5 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.1223, allocations: 186.7 kB / 486.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.123, allocations: 0.5916 MB / 487.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.123, allocations: 0 / 487.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.123, allocations: 0 / 487.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.123, allocations: 0 / 487.4 MB, free: 14.62 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.001199/0.1242, allocations: 0.7526 MB / 488.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1242, allocations: 8.031 kB / 488.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.1246, allocations: 76.34 kB / 488.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.1251, allocations: 315.4 kB / 488.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.1251, allocations: 33.38 kB / 488.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.1252, allocations: 48.12 kB / 488.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.1261, allocations: 0.648 MB / 489.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1262, allocations: 3.938 kB / 489.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.1262, allocations: 20 kB / 489.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/0.1263, allocations: 32.98 kB / 489.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.1271, allocations: 479.5 kB / 489.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.1292, allocations: 1.511 MB / 491.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.1297, allocations: 295.5 kB / 491.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.13, allocations: 158.4 kB / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.1301, allocations: 7.984 kB / 491.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1301, allocations: 38.5 kB / 491.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.1301, allocations: 0 / 491.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001149/0.1313, allocations: 0.4953 MB / 492.3 MB, free: 9.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.1314, allocations: 106.8 kB / 492.4 MB, free: 9.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.132, allocations: 0.5447 MB / 492.9 MB, free: 8.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.132, allocations: 33.95 kB / 492.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1322, allocations: 231.9 kB / 493.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.1322, allocations: 63.02 kB / 493.2 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.1323, allocations: 85.88 kB / 493.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1325, allocations: 358.7 kB / 493.7 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.1328, allocations: 156.1 kB / 493.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.1332, allocations: 273.5 kB / 494.1 MB, free: 7.574 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007494/0.134, allocations: 450.9 kB / 494.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.134, allocations: 4 kB / 494.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009563/0.135, allocations: 0.5023 MB / 495 MB, free: 6.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.135, allocations: 4.531 kB / 495 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.798e-05/0.1351, allocations: 47.98 kB / 495.1 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1351, allocations: 7.938 kB / 495.1 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1353, allocations: 43.89 kB / 495.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.1353, allocations: 7.938 kB / 495.1 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.1357, allocations: 71.27 kB / 495.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.1357, allocations: 23.98 kB / 495.2 MB, free: 6.363 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.0002088/0.1359, allocations: 213.6 kB / 495.4 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.136, allocations: 43.44 kB / 495.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008066/0.1369, allocations: 437.2 kB / 495.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.1369, allocations: 7.938 kB / 495.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1369, allocations: 3.938 kB / 495.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1369, allocations: 0 / 495.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.1374, allocations: 393.2 kB / 496.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-05/0.1375, allocations: 39.98 kB / 496.3 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.1377, allocations: 31.91 kB / 496.4 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1377, allocations: 0 / 496.4 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.1377, allocations: 12 kB / 496.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1377, allocations: 7.938 kB / 496.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1377, allocations: 0 / 496.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.1385, allocations: 0.6063 MB / 497 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1387, allocations: 124.5 kB / 497.1 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.1387, allocations: 4 kB / 497.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.139, allocations: 23.91 kB / 497.1 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.1391, allocations: 23.92 kB / 497.2 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.1392, allocations: 23.98 kB / 497.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004239/0.1396, allocations: 391 kB / 497.6 MB, free: 3.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1396, allocations: 7.938 kB / 497.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005326/0.1402, allocations: 131.8 kB / 497.7 MB, free: 3.781 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.0002798/0.1404, allocations: 155.1 kB / 497.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009329/0.1414, allocations: 0.6707 MB / 498.5 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1414, allocations: 0 / 498.5 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004991/0.1419, allocations: 472.3 kB / 499 MB, free: 2.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.1426, allocations: 125.9 kB / 499.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1441, allocations: 0.9002 MB / 0.4883 GB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.1445, allocations: 0.8737 MB / 0.4892 GB, free: 392 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.1447, allocations: 79.36 kB / 0.4892 GB, free: 312 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.1448, allocations: 27.44 kB / 0.4893 GB, free: 284 kB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1448, allocations: 0 / 0.4893 GB, free: 284 kB / 366.1 MB Notification: Performance of Templates: time 0.01383/0.1586, allocations: 8.525 MB / 0.4976 GB, free: 7.855 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 -s gbode -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