Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009304/0.0009304, allocations: 95.36 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2894/0.2894, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.615e-05, allocations: 4.219 kB / 444.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 61.92 MB / 0.4947 GB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.4841, allocations: 94.25 MB / 0.5867 GB, free: 2.227 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.4844, allocations: 99.92 kB / 0.5868 GB, free: 2.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03156/0.516, allocations: 12.47 MB / 0.599 GB, free: 5.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.516, allocations: 0.8438 kB / 0.599 GB, free: 5.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.516, allocations: 8 kB / 0.599 GB, free: 5.48 MB / 410.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.001007/0.517, allocations: 0.6507 MB / 0.5997 GB, free: 4.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.5171, allocations: 11.98 kB / 0.5997 GB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.5172, allocations: 47.44 kB / 0.5997 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.5176, allocations: 294.4 kB / 0.6 GB, free: 4.398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5176, allocations: 20 kB / 0.6 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.5177, allocations: 24 kB / 0.6 GB, free: 4.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005644/0.5183, allocations: 378.4 kB / 0.6004 GB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.5191, allocations: 0.5641 MB / 0.6009 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5191, allocations: 3.938 kB / 0.601 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.5192, allocations: 0 / 0.601 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.5192, allocations: 29.3 kB / 0.601 GB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.5212, allocations: 1.375 MB / 0.6023 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.5216, allocations: 259.6 kB / 0.6026 GB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.5218, allocations: 114.5 kB / 0.6027 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.5219, allocations: 19.88 kB / 0.6027 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.5219, allocations: 34.56 kB / 0.6027 GB, free: 1.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.5219, allocations: 4 kB / 0.6027 GB, free: 1.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005761/0.5225, allocations: 282.8 kB / 0.603 GB, free: 1.191 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.5226, allocations: 106.8 kB / 0.6031 GB, free: 1.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.5228, allocations: 215.9 kB / 0.6033 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.5229, allocations: 25.7 kB / 0.6033 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.523, allocations: 247.6 kB / 0.6036 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.5231, allocations: 75 kB / 0.6036 GB, free: 500 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.5231, allocations: 0 / 0.6036 GB, free: 500 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5232, allocations: 330.8 kB / 0.604 GB, free: 160 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.5234, allocations: 128 kB / 0.6041 GB, free: 28 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.5237, allocations: 239.4 kB / 0.6043 GB, free: 15.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.524, allocations: 157 kB / 0.6045 GB, free: 15.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.524, allocations: 0 / 0.6045 GB, free: 15.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006148/0.5246, allocations: 400.8 kB / 0.6048 GB, free: 15.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5246, allocations: 9.406 kB / 0.6049 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.698e-05/0.5247, allocations: 35.97 kB / 0.6049 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5247, allocations: 16.45 kB / 0.6049 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.525, allocations: 47.91 kB / 0.6049 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.525, allocations: 7.938 kB / 0.605 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.5253, allocations: 39.81 kB / 0.605 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.5253, allocations: 23.98 kB / 0.605 GB, free: 15.01 MB / 426.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.0001216/0.5254, allocations: 124.9 kB / 0.6051 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/0.5255, allocations: 23.67 kB / 0.6052 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006822/0.5262, allocations: 398.8 kB / 0.6055 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.5262, allocations: 4 kB / 0.6055 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5262, allocations: 0 / 0.6055 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5263, allocations: 0 / 0.6055 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.5268, allocations: 357.8 kB / 0.6059 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.765e-05/0.5269, allocations: 31.97 kB / 0.6059 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.527, allocations: 35.91 kB / 0.6059 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5271, allocations: 0 / 0.6059 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.5271, allocations: 11.95 kB / 0.606 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5271, allocations: 3.984 kB / 0.606 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5271, allocations: 4 kB / 0.606 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.5277, allocations: 0.5444 MB / 0.6065 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.408e-05/0.5278, allocations: 96.86 kB / 0.6066 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.5278, allocations: 0 / 0.6066 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.5281, allocations: 27.97 kB / 0.6066 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.5282, allocations: 31.86 kB / 0.6066 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.5282, allocations: 12 kB / 0.6067 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.5284, allocations: 164.5 kB / 0.6068 GB, free: 13.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5284, allocations: 0 / 0.6068 GB, free: 13.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007127/0.5291, allocations: 163.4 kB / 0.607 GB, free: 12.91 MB / 426.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.0004678/0.5296, allocations: 216.4 kB / 0.6072 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006368/0.5302, allocations: 0.588 MB / 0.6078 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5302, allocations: 0 / 0.6078 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.5306, allocations: 452.5 kB / 0.6082 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5309, allocations: 28.59 kB / 0.6082 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.5323, allocations: 0.6126 MB / 0.6088 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.5328, allocations: 0.8688 MB / 0.6097 GB, free: 9.949 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.5329, allocations: 53.97 kB / 0.6097 GB, free: 9.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.533, allocations: 15.44 kB / 0.6097 GB, free: 9.883 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.533, allocations: 0 / 0.6097 GB, free: 9.883 MB / 426.7 MB Notification: Performance of Templates: time 0.008265/0.5412, allocations: 4.778 MB / 0.6144 GB, free: 5.137 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches