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.001212/0.001212, allocations: 115.8 kB / 17.09 MB, free: 6.016 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.001254/0.001255, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.344/1.344, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2065/0.2065, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 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.001565/0.001565, allocations: 75.89 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.00336/0.1122, allocations: 2.198 MB / 0.4907 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1141, allocations: 1.165 MB / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.1143, allocations: 0 / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.1147, allocations: 67.59 kB / 0.4919 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.115, allocations: 95.36 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.1156, allocations: 179.4 kB / 0.4922 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.1161, allocations: 0.4899 MB / 0.4927 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.1162, allocations: 61.03 kB / 0.4927 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.1165, allocations: 175.1 kB / 0.4929 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.1168, allocations: 199 kB / 0.4931 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.1169, allocations: 15.98 kB / 0.4931 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004888/0.1174, allocations: 323.5 kB / 0.4934 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1175, allocations: 99.45 kB / 0.4935 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.1177, allocations: 194.7 kB / 0.4937 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.1184, allocations: 0.5761 MB / 0.4942 GB, free: 5.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1184, allocations: 0 / 0.4942 GB, free: 5.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1184, allocations: 3.984 kB / 0.4943 GB, free: 5.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.1184, allocations: 0 / 0.4943 GB, free: 5.902 MB / 382.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.001286/0.1197, allocations: 0.7526 MB / 0.495 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1197, allocations: 11.89 kB / 0.495 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.677e-05/0.1198, allocations: 48.38 kB / 0.495 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.1202, allocations: 299.5 kB / 0.4953 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.1202, allocations: 33.38 kB / 0.4954 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.1203, allocations: 48.12 kB / 0.4954 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.1213, allocations: 0.6597 MB / 0.4961 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1213, allocations: 0 / 0.4961 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.1214, allocations: 16 kB / 0.4961 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.1214, allocations: 28.92 kB / 0.4961 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.1223, allocations: 479.5 kB / 0.4966 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.1242, allocations: 1.507 MB / 0.498 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.1248, allocations: 307.4 kB / 0.4983 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.1251, allocations: 154.4 kB / 0.4985 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.1252, allocations: 11.98 kB / 0.4985 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1252, allocations: 38.56 kB / 0.4985 GB, free: 1.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.1252, allocations: 0 / 0.4985 GB, free: 1.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001223/0.1264, allocations: 0.4994 MB / 0.499 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.1265, allocations: 114.7 kB / 0.4991 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.1271, allocations: 0.5368 MB / 0.4996 GB, free: 136 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1271, allocations: 29.7 kB / 0.4997 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.1273, allocations: 231.9 kB / 0.4999 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.1274, allocations: 63.02 kB / 0.4999 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.1275, allocations: 85.88 kB / 0.5 GB, free: 15.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1277, allocations: 350.8 kB / 0.5004 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.128, allocations: 168 kB / 0.5005 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.1285, allocations: 267.9 kB / 0.5008 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/0.1292, allocations: 446.9 kB / 0.5012 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1293, allocations: 4 kB / 0.5012 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001004/0.1303, allocations: 0.4995 MB / 0.5017 GB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1303, allocations: 4 kB / 0.5017 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-05/0.1304, allocations: 43.98 kB / 0.5017 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.1304, allocations: 7.938 kB / 0.5017 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.1306, allocations: 47.89 kB / 0.5018 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.1307, allocations: 7.938 kB / 0.5018 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.131, allocations: 75.48 kB / 0.5019 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.1311, allocations: 27.98 kB / 0.5019 GB, free: 13.67 MB / 398.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.000227/0.1313, allocations: 205.6 kB / 0.5021 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.1314, allocations: 43.44 kB / 0.5021 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008526/0.1323, allocations: 449 kB / 0.5026 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.1323, allocations: 15.88 kB / 0.5026 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1323, allocations: 0 / 0.5026 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1323, allocations: 4 kB / 0.5026 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.1329, allocations: 385.3 kB / 0.503 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.995e-05/0.133, allocations: 32 kB / 0.503 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.1331, allocations: 27.91 kB / 0.503 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1331, allocations: 4 kB / 0.503 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.1332, allocations: 15.98 kB / 0.503 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1332, allocations: 3.938 kB / 0.503 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1332, allocations: 0 / 0.503 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/0.1341, allocations: 0.6033 MB / 0.5036 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1342, allocations: 128.5 kB / 0.5037 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.1343, allocations: 0 / 0.5037 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.1346, allocations: 31.91 kB / 0.5038 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.1347, allocations: 19.98 kB / 0.5038 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.1347, allocations: 15.98 kB / 0.5038 GB, free: 11.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000396/0.1351, allocations: 395 kB / 0.5042 GB, free: 11.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1351, allocations: 0 / 0.5042 GB, free: 11.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005666/0.1357, allocations: 135.8 kB / 0.5043 GB, free: 11.1 MB / 398.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.0003223/0.136, allocations: 155.1 kB / 0.5045 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009715/0.137, allocations: 0.6641 MB / 0.5051 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.137, allocations: 0 / 0.5051 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.1375, allocations: 485.2 kB / 0.5056 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.1382, allocations: 121.7 kB / 0.5057 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1399, allocations: 0.908 MB / 0.5066 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.1403, allocations: 0.8659 MB / 0.5074 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.853e-05/0.1404, allocations: 31.44 kB / 0.5075 GB, free: 7.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1404, allocations: 0 / 0.5075 GB, free: 7.66 MB / 398.1 MB Notification: Performance of Templates: time 0.01235/0.1527, allocations: 8.261 MB / 0.5155 GB, free: 15.4 MB / 414.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/jenkins1/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/jenkins1/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