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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 180.5 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007835/0.0007835, allocations: 90.62 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.183/0.183, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.46e-05, allocations: 0 / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 58.85 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3767/0.4776, allocations: 93.11 MB / 0.5569 GB, free: 2.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.4778, allocations: 97.78 kB / 0.557 GB, free: 2.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02951/0.5074, allocations: 12.14 MB / 0.5688 GB, free: 7.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5074, allocations: 4 kB / 0.5688 GB, free: 7.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.5075, allocations: 8 kB / 0.5688 GB, free: 7.953 MB / 378.7 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.001012/0.5085, allocations: 0.6529 MB / 0.5695 GB, free: 7.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5085, allocations: 8.031 kB / 0.5695 GB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.5086, allocations: 55.39 kB / 0.5695 GB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.509, allocations: 285 kB / 0.5698 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.509, allocations: 16 kB / 0.5698 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.5091, allocations: 24 kB / 0.5698 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00054/0.5096, allocations: 383.8 kB / 0.5702 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.5104, allocations: 0.5612 MB / 0.5708 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5104, allocations: 0 / 0.5708 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.5105, allocations: 0 / 0.5708 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/0.5105, allocations: 33 kB / 0.5708 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.5123, allocations: 1.369 MB / 0.5721 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.5127, allocations: 258.2 kB / 0.5724 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.5129, allocations: 122.9 kB / 0.5725 GB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.5129, allocations: 23.3 kB / 0.5725 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.5129, allocations: 34.56 kB / 0.5725 GB, free: 4.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.5129, allocations: 0 / 0.5725 GB, free: 4.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005426/0.5135, allocations: 280.5 kB / 0.5728 GB, free: 4.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.5136, allocations: 107 kB / 0.5729 GB, free: 4.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.5138, allocations: 226.4 kB / 0.5731 GB, free: 3.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.5138, allocations: 29.69 kB / 0.5732 GB, free: 3.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.514, allocations: 243 kB / 0.5734 GB, free: 3.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.5141, allocations: 64.95 kB / 0.5735 GB, free: 3.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.5141, allocations: 0 / 0.5735 GB, free: 3.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5143, allocations: 333.5 kB / 0.5738 GB, free: 3.184 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.5145, allocations: 129.3 kB / 0.5739 GB, free: 3.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.5149, allocations: 243.7 kB / 0.5741 GB, free: 2.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.5153, allocations: 156.4 kB / 0.5743 GB, free: 2.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5153, allocations: 4 kB / 0.5743 GB, free: 2.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009567/0.5163, allocations: 392.3 kB / 0.5747 GB, free: 2.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.5163, allocations: 12.52 kB / 0.5747 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.5165, allocations: 39.97 kB / 0.5747 GB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.5165, allocations: 11.94 kB / 0.5747 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.5168, allocations: 43.28 kB / 0.5748 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.5169, allocations: 11.92 kB / 0.5748 GB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.5173, allocations: 39.83 kB / 0.5748 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.5174, allocations: 23.55 kB / 0.5748 GB, free: 2.137 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.5176, allocations: 120.8 kB / 0.5749 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.5177, allocations: 23.7 kB / 0.575 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.5187, allocations: 399.4 kB / 0.5753 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.5188, allocations: 11.92 kB / 0.5754 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5188, allocations: 0 / 0.5754 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5188, allocations: 4 kB / 0.5754 GB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/0.5196, allocations: 350.5 kB / 0.5757 GB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.632e-05/0.5198, allocations: 31.97 kB / 0.5757 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.52, allocations: 38.59 kB / 0.5758 GB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.52, allocations: 0 / 0.5758 GB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.5201, allocations: 11.98 kB / 0.5758 GB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.5201, allocations: 4 kB / 0.5758 GB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5201, allocations: 7.938 kB / 0.5758 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.5209, allocations: 0.5429 MB / 0.5763 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.521, allocations: 96.88 kB / 0.5764 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.5211, allocations: 0 / 0.5764 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.5215, allocations: 27.97 kB / 0.5764 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.5217, allocations: 23.47 kB / 0.5765 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.5217, allocations: 15.98 kB / 0.5765 GB, free: 480 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002097/0.5219, allocations: 165 kB / 0.5766 GB, free: 340 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5219, allocations: 0 / 0.5766 GB, free: 340 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001128/0.5231, allocations: 154.8 kB / 0.5768 GB, free: 188 kB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005473/0.5236, allocations: 210.1 kB / 0.577 GB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009192/0.5246, allocations: 0.5873 MB / 0.5776 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5246, allocations: 4.125 kB / 0.5776 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.5251, allocations: 445.8 kB / 0.578 GB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.5256, allocations: 31.36 kB / 0.578 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.5277, allocations: 0.6119 MB / 0.5786 GB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006422/0.5283, allocations: 0.8799 MB / 0.5795 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.5286, allocations: 57.86 kB / 0.5795 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.5287, allocations: 19.42 kB / 0.5795 GB, free: 13.25 MB / 394.7 MB Notification: Performance of SimCode: time 9.31e-07/0.5287, allocations: 0 / 0.5795 GB, free: 13.25 MB / 394.7 MB Notification: Performance of Templates: time 0.01236/0.541, allocations: 4.78 MB / 0.5842 GB, free: 8.477 MB / 394.7 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/jenkins/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","../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