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.00187/0.001869, allocations: 113.8 kB / 17.08 MB, free: 6 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.002282/0.002282, allocations: 199 kB / 18.01 MB, free: 5.082 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.677/1.677, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2151/0.2151, allocations: 43.52 MB / 314.8 MB, free: 460 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.001554/0.001554, allocations: 59.91 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1154, allocations: 57.8 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.004005/0.1195, allocations: 2.202 MB / 0.4907 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.1217, allocations: 1.161 MB / 0.4919 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.122, allocations: 4 kB / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.1224, allocations: 71.58 kB / 0.4919 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.1227, allocations: 87.38 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.1235, allocations: 187.3 kB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007813/0.1243, allocations: 0.4899 MB / 0.4927 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1244, allocations: 61.03 kB / 0.4927 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.1249, allocations: 167.1 kB / 0.4929 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.1253, allocations: 199 kB / 0.4931 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.46e-05/0.1254, allocations: 16 kB / 0.4931 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006749/0.1261, allocations: 331.4 kB / 0.4934 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1263, allocations: 95.47 kB / 0.4935 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.1266, allocations: 194.7 kB / 0.4937 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009974/0.1276, allocations: 0.5761 MB / 0.4943 GB, free: 5.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1276, allocations: 0 / 0.4943 GB, free: 5.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1276, allocations: 4 kB / 0.4943 GB, free: 5.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.1276, 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.002076/0.1297, allocations: 0.752 MB / 0.495 GB, free: 5.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.289e-05/0.1298, allocations: 15.89 kB / 0.495 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.13, allocations: 44.38 kB / 0.495 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/0.1306, allocations: 307.5 kB / 0.4953 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.1307, allocations: 37.38 kB / 0.4954 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.985e-05/0.1308, allocations: 44.12 kB / 0.4954 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.132, allocations: 0.6597 MB / 0.4961 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.132, allocations: 0 / 0.4961 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.132, allocations: 16 kB / 0.4961 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/0.1321, allocations: 24.94 kB / 0.4961 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1331, allocations: 487.5 kB / 0.4966 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.1354, allocations: 1.507 MB / 0.498 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.136, allocations: 311.4 kB / 0.4983 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.1363, allocations: 142.5 kB / 0.4985 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.762e-05/0.1364, allocations: 11.98 kB / 0.4985 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1364, allocations: 38.56 kB / 0.4985 GB, free: 1.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.605e-06/0.1365, allocations: 0 / 0.4985 GB, free: 1.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001258/0.1377, allocations: 0.4921 MB / 0.499 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.1378, allocations: 114.8 kB / 0.4991 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.1384, allocations: 0.5368 MB / 0.4996 GB, free: 140 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1385, allocations: 25.7 kB / 0.4997 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.1387, allocations: 235.9 kB / 0.4999 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.51e-05/0.1388, allocations: 71 kB / 0.4999 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.1389, allocations: 81.88 kB / 0.5 GB, free: 15.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1391, allocations: 354.8 kB / 0.5004 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.1395, allocations: 160 kB / 0.5005 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.1399, allocations: 271.8 kB / 0.5008 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.1407, allocations: 446.9 kB / 0.5012 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1407, allocations: 8 kB / 0.5012 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009984/0.1417, allocations: 0.4937 MB / 0.5017 GB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1418, allocations: 8 kB / 0.5017 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.996e-05/0.1418, allocations: 39.98 kB / 0.5017 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.1419, allocations: 7.938 kB / 0.5017 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.1421, allocations: 39.91 kB / 0.5018 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.1421, allocations: 7.938 kB / 0.5018 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.1425, allocations: 79.47 kB / 0.5019 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.1426, allocations: 20 kB / 0.5019 GB, free: 13.68 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.0002529/0.1428, allocations: 209.6 kB / 0.5021 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.143, allocations: 51.41 kB / 0.5021 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008666/0.1438, allocations: 447.8 kB / 0.5026 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.1439, allocations: 7.938 kB / 0.5026 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1439, allocations: 0 / 0.5026 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1439, allocations: 7.984 kB / 0.5026 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.1445, allocations: 385.3 kB / 0.5029 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.305e-05/0.1445, allocations: 39.98 kB / 0.503 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.1447, allocations: 31.91 kB / 0.503 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1447, allocations: 0 / 0.503 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.1447, allocations: 12 kB / 0.503 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1448, allocations: 3.938 kB / 0.503 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1448, allocations: 4 kB / 0.503 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000853/0.1456, allocations: 0.6072 MB / 0.5036 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.1458, allocations: 124.5 kB / 0.5037 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.1459, allocations: 4 kB / 0.5037 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.1462, allocations: 23.92 kB / 0.5038 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.1463, allocations: 23.97 kB / 0.5038 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.1463, allocations: 16 kB / 0.5038 GB, free: 11.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004072/0.1467, allocations: 391 kB / 0.5042 GB, free: 11.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1467, allocations: 0 / 0.5042 GB, free: 11.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006021/0.1473, allocations: 139.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.0003618/0.1477, allocations: 155.1 kB / 0.5045 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1487, 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.615e-06/0.1487, allocations: 0 / 0.5051 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.1493, allocations: 481.2 kB / 0.5056 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007255/0.15, allocations: 117.8 kB / 0.5057 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1516, allocations: 0.915 MB / 0.5066 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.1521, allocations: 0.862 MB / 0.5074 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.1522, allocations: 31.42 kB / 0.5074 GB, free: 7.664 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1522, allocations: 0 / 0.5074 GB, free: 7.664 MB / 398.1 MB Notification: Performance of Templates: time 0.01432/0.1665, allocations: 8.324 MB / 0.5156 GB, free: 15.34 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