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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.00122/0.00122, allocations: 181.2 kB / 19.38 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 222.9 MB / 243.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1977/0.1977, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3148, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002887/0.3178, allocations: 2.195 MB / 0.5217 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3192, allocations: 1.116 MB / 0.5228 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.3193, allocations: 2.5 kB / 0.5228 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3196, allocations: 69.38 kB / 0.5229 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.3198, allocations: 103.4 kB / 0.523 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.3203, allocations: 174.7 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004792/0.3208, allocations: 0.4912 MB / 0.5236 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.3209, allocations: 53.38 kB / 0.5237 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.3211, allocations: 170.3 kB / 0.5239 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.3213, allocations: 204.4 kB / 0.5241 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.3214, allocations: 13.75 kB / 0.5241 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.3219, allocations: 327.9 kB / 0.5244 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.322, allocations: 98.03 kB / 0.5245 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.3221, allocations: 183.9 kB / 0.5246 GB, free: 492 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006565/0.3228, allocations: 0.5867 MB / 0.5252 GB, free: 252 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3228, allocations: 1.312 kB / 0.5252 GB, free: 252 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3228, allocations: 0 / 0.5252 GB, free: 252 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.3228, allocations: 0 / 0.5252 GB, free: 252 kB / 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.001222/0.3241, allocations: 0.7529 MB / 0.526 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3241, allocations: 12.72 kB / 0.526 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.132e-05/0.3242, allocations: 47.62 kB / 0.526 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.3246, allocations: 292.2 kB / 0.5263 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.3246, allocations: 36.66 kB / 0.5263 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.021e-05/0.3247, allocations: 47.77 kB / 0.5264 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.3259, allocations: 0.6561 MB / 0.527 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3259, allocations: 9.25 kB / 0.527 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.326, allocations: 16.12 kB / 0.527 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.524e-05/0.3261, allocations: 29.59 kB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009423/0.327, allocations: 486.4 kB / 0.5275 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.3291, allocations: 1.501 MB / 0.529 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.3297, allocations: 300.9 kB / 0.5293 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.33, allocations: 152.7 kB / 0.5294 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.3301, allocations: 9.219 kB / 0.5294 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.3301, allocations: 48.8 kB / 0.5295 GB, free: 13.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.744e-06/0.3301, allocations: 0 / 0.5295 GB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001229/0.3314, allocations: 0.4887 MB / 0.53 GB, free: 13.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.3314, allocations: 104.3 kB / 0.5301 GB, free: 13.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00057/0.332, allocations: 0.539 MB / 0.5306 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3321, allocations: 27.02 kB / 0.5306 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.3322, allocations: 236 kB / 0.5308 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.3323, allocations: 64.81 kB / 0.5309 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3324, allocations: 89.09 kB / 0.531 GB, free: 12.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3326, allocations: 355.8 kB / 0.5313 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.3329, allocations: 158.2 kB / 0.5315 GB, free: 11.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.3334, allocations: 270.5 kB / 0.5317 GB, free: 11.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.3342, allocations: 451.5 kB / 0.5322 GB, free: 11.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3342, allocations: 0 / 0.5322 GB, free: 11.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009864/0.3352, allocations: 0.4999 MB / 0.5327 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3352, allocations: 10.22 kB / 0.5327 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.666e-05/0.3353, allocations: 42.02 kB / 0.5327 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3353, allocations: 9.562 kB / 0.5327 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3356, allocations: 46.3 kB / 0.5328 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.3356, allocations: 5.875 kB / 0.5328 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.3359, allocations: 77.16 kB / 0.5328 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.336, allocations: 20.31 kB / 0.5329 GB, free: 11.15 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.0002423/0.3362, allocations: 208 kB / 0.5331 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3363, allocations: 42.12 kB / 0.5331 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008627/0.3372, allocations: 451.2 kB / 0.5335 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3372, allocations: 8.312 kB / 0.5335 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3373, allocations: 1.125 kB / 0.5335 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3373, allocations: 1.031 kB / 0.5335 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.3378, allocations: 393.2 kB / 0.5339 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.471e-05/0.3379, allocations: 37.64 kB / 0.5339 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3381, allocations: 28.09 kB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3381, allocations: 1.188 kB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.3381, allocations: 16.03 kB / 0.534 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3381, allocations: 9.062 kB / 0.534 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3381, allocations: 1.125 kB / 0.534 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008862/0.339, allocations: 0.6027 MB / 0.5346 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.3392, allocations: 122.9 kB / 0.5347 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.3392, allocations: 2.062 kB / 0.5347 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.3395, allocations: 26.16 kB / 0.5347 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.3396, allocations: 23.67 kB / 0.5348 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.3397, allocations: 14.08 kB / 0.5348 GB, free: 9.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004285/0.3401, allocations: 397.1 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3401, allocations: 1.25 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005918/0.3407, allocations: 134.1 kB / 0.5353 GB, free: 9.559 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.0003042/0.341, allocations: 157.3 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.342, allocations: 0.6709 MB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3421, allocations: 0 / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005242/0.3426, allocations: 475.3 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.3433, allocations: 123.8 kB / 0.5367 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.3449, allocations: 0.931 MB / 0.5376 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.3454, allocations: 0.8567 MB / 0.5384 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.3454, allocations: 32.59 kB / 0.5384 GB, free: 7.102 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3455, allocations: 4.969 kB / 0.5384 GB, free: 7.098 MB / 398.1 MB Notification: Performance of Templates: time 0.01059/0.356, allocations: 8.286 MB / 0.5465 GB, free: 15.86 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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