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.001471/0.001471, allocations: 107.6 kB / 17.03 MB, free: 6.094 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.001722/0.001722, allocations: 194.9 kB / 17.96 MB, free: 5.191 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.393/1.393, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2645/0.2645, allocations: 43.53 MB / 314.7 MB, free: 480 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.001443/0.001443, allocations: 74.5 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1122, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003053/0.1153, allocations: 2.193 MB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1168, allocations: 1.161 MB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.1169, allocations: 4 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.1172, allocations: 67.59 kB / 445.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1174, allocations: 99.28 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.1178, allocations: 167.4 kB / 445.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.1182, allocations: 0.4938 MB / 446.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.915e-05/0.1183, allocations: 57.05 kB / 446.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.1185, allocations: 183.1 kB / 446.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1187, allocations: 195 kB / 446.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.1187, allocations: 16 kB / 446.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.1191, allocations: 323.5 kB / 446.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1192, allocations: 99.52 kB / 447 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1194, allocations: 182.8 kB / 447.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005377/0.1199, allocations: 0.5839 MB / 447.8 MB, free: 296 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1199, allocations: 0 / 447.8 MB, free: 296 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1199, allocations: 0 / 447.8 MB, free: 296 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1199, allocations: 3.938 kB / 447.8 MB, free: 292 kB / 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.001137/0.1211, allocations: 0.7487 MB / 448.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1211, allocations: 15.89 kB / 448.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.1212, allocations: 52.38 kB / 448.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.1216, allocations: 295.5 kB / 448.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.1217, allocations: 37.38 kB / 448.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.1218, allocations: 48.06 kB / 449 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.1227, allocations: 0.6558 MB / 449.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1227, allocations: 0 / 449.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1228, allocations: 20 kB / 449.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.1228, allocations: 28.98 kB / 449.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008549/0.1237, allocations: 487.5 kB / 450.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.1259, allocations: 1.503 MB / 451.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.1265, allocations: 303.5 kB / 452 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.1268, allocations: 150.4 kB / 452.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/0.1269, allocations: 15.97 kB / 452.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1269, allocations: 30.56 kB / 452.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.1269, allocations: 7.938 kB / 452.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001175/0.1281, allocations: 0.4976 MB / 452.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1282, allocations: 107.1 kB / 452.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.1288, allocations: 0.5368 MB / 453.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1288, allocations: 29.7 kB / 453.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.129, allocations: 228 kB / 453.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.129, allocations: 70.94 kB / 453.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.1292, allocations: 85.88 kB / 453.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1293, allocations: 358.7 kB / 454.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.1297, allocations: 160.1 kB / 454.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.1301, allocations: 271.8 kB / 454.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00077/0.1309, allocations: 449.9 kB / 454.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1309, allocations: 4 kB / 454.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009261/0.1318, allocations: 0.493 MB / 455.4 MB, free: 8.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1319, allocations: 8 kB / 455.4 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-05/0.1319, allocations: 39.98 kB / 455.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.132, allocations: 11.94 kB / 455.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1322, allocations: 43.89 kB / 455.5 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.1322, allocations: 8 kB / 455.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.1325, allocations: 71.25 kB / 455.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.1326, allocations: 20 kB / 455.6 MB, free: 8.074 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.000224/0.1328, allocations: 217.7 kB / 455.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.1329, allocations: 39.44 kB / 455.9 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008492/0.1338, allocations: 451.9 kB / 456.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.1338, allocations: 7.938 kB / 456.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1338, allocations: 0 / 456.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1338, allocations: 4 kB / 456.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000556/0.1344, allocations: 381.3 kB / 456.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.958e-05/0.1345, allocations: 43.98 kB / 456.7 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1346, allocations: 23.97 kB / 456.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1346, allocations: 0 / 456.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.1346, allocations: 12 kB / 456.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1347, allocations: 7.938 kB / 456.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1347, allocations: 7.938 kB / 456.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.1355, allocations: 0.6045 MB / 457.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1357, allocations: 124.5 kB / 457.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.1357, allocations: 11.92 kB / 457.5 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.136, allocations: 19.92 kB / 457.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.1361, allocations: 31.91 kB / 457.6 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.1362, allocations: 16 kB / 457.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000392/0.1366, allocations: 391 kB / 458 MB, free: 5.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1366, allocations: 0 / 458 MB, free: 5.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005487/0.1371, allocations: 135.8 kB / 458.1 MB, free: 5.484 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.0003046/0.1374, allocations: 163.1 kB / 458.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1384, allocations: 0.6606 MB / 458.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1385, allocations: 0 / 458.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007218/0.1392, allocations: 484.2 kB / 459.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.1405, allocations: 114.5 kB / 459.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1428, allocations: 0.9045 MB / 460.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.1434, allocations: 0.8621 MB / 461.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003169/0.1437, allocations: 91.33 kB / 461.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1438, allocations: 27.44 kB / 461.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1438, allocations: 0 / 461.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of Templates: time 0.02143/0.1653, allocations: 8.512 MB / 469.9 MB, free: 9.508 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 -s gbode -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