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.001149/0.001148, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001123/0.001123, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1982/0.1982, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3691, allocations: 60.83 MB / 0.5189 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003271/0.3724, allocations: 2.208 MB / 0.5211 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.374, allocations: 1.113 MB / 0.5222 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.3742, allocations: 2.531 kB / 0.5222 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.3744, allocations: 64.86 kB / 0.5222 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.3747, allocations: 107.3 kB / 0.5223 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.3752, allocations: 167.9 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000539/0.3757, allocations: 0.4939 MB / 0.523 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3758, allocations: 58.8 kB / 0.523 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.3761, allocations: 173 kB / 0.5232 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.3764, allocations: 208 kB / 0.5234 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.3764, allocations: 13.91 kB / 0.5234 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005688/0.377, allocations: 323.3 kB / 0.5237 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3771, allocations: 97.48 kB / 0.5238 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3773, allocations: 185.3 kB / 0.524 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.3779, allocations: 0.5795 MB / 0.5246 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3779, allocations: 1.375 kB / 0.5246 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3779, allocations: 0 / 0.5246 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3779, allocations: 0 / 0.5246 GB, free: 0.5039 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.001136/0.3791, allocations: 0.7559 MB / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3791, allocations: 14.83 kB / 0.5253 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.3792, allocations: 46.38 kB / 0.5254 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3796, allocations: 291.6 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.3797, allocations: 34.91 kB / 0.5257 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.3797, allocations: 45.84 kB / 0.5257 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3808, allocations: 0.661 MB / 0.5264 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3808, allocations: 0 / 0.5264 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.3809, allocations: 16.22 kB / 0.5264 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.3809, allocations: 33.52 kB / 0.5264 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009311/0.3819, allocations: 485.5 kB / 0.5269 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.384, allocations: 1.502 MB / 0.5283 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.3846, allocations: 301 kB / 0.5286 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.385, allocations: 153.8 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.385, allocations: 12.27 kB / 0.5288 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3851, allocations: 41.53 kB / 0.5288 GB, free: 13.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.904e-06/0.3851, allocations: 0 / 0.5288 GB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0013/0.3864, allocations: 0.4944 MB / 0.5293 GB, free: 13.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.3865, allocations: 106 kB / 0.5294 GB, free: 13.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.3871, allocations: 0.5346 MB / 0.5299 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3871, allocations: 31.05 kB / 0.53 GB, free: 12.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.3873, allocations: 232.4 kB / 0.5302 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.3874, allocations: 64.33 kB / 0.5302 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.3875, allocations: 84.31 kB / 0.5303 GB, free: 12.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3876, allocations: 356.6 kB / 0.5307 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.388, allocations: 159 kB / 0.5308 GB, free: 12.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.3885, allocations: 269.9 kB / 0.5311 GB, free: 11.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008284/0.3893, allocations: 455.3 kB / 0.5315 GB, free: 11.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.3893, allocations: 5.516 kB / 0.5315 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00101/0.3903, allocations: 0.4927 MB / 0.532 GB, free: 11.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3904, allocations: 6.906 kB / 0.532 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-05/0.3904, allocations: 41.39 kB / 0.532 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3905, allocations: 17.59 kB / 0.5321 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3907, allocations: 50.08 kB / 0.5321 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.3907, allocations: 6.844 kB / 0.5321 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.3911, allocations: 68.41 kB / 0.5322 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.3911, allocations: 20.78 kB / 0.5322 GB, free: 11.36 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.000247/0.3914, allocations: 216.1 kB / 0.5324 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3915, allocations: 41.97 kB / 0.5324 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/0.3924, allocations: 447.7 kB / 0.5329 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3924, allocations: 7.969 kB / 0.5329 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3924, allocations: 1.25 kB / 0.5329 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3925, allocations: 1.438 kB / 0.5329 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.3931, allocations: 392.2 kB / 0.5332 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.395e-05/0.3932, allocations: 38.42 kB / 0.5333 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.3933, allocations: 22.97 kB / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3933, allocations: 2.344 kB / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.3934, allocations: 16.25 kB / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.3934, allocations: 9.125 kB / 0.5333 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3934, allocations: 0 / 0.5333 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/0.3943, allocations: 0.6045 MB / 0.5339 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3945, allocations: 118.8 kB / 0.534 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.3945, allocations: 2.562 kB / 0.534 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.3948, allocations: 25.28 kB / 0.5341 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.3949, allocations: 20.55 kB / 0.5341 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3949, allocations: 17.67 kB / 0.5341 GB, free: 10.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004674/0.3954, allocations: 393.7 kB / 0.5345 GB, free: 9.797 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3954, allocations: 4 kB / 0.5345 GB, free: 9.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007246/0.3962, allocations: 135 kB / 0.5346 GB, free: 9.77 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.0002906/0.3965, allocations: 161.3 kB / 0.5348 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009847/0.3974, allocations: 0.6629 MB / 0.5354 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3975, allocations: 0 / 0.5354 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.398, allocations: 484.3 kB / 0.5359 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.3987, allocations: 122.5 kB / 0.536 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.4004, allocations: 0.8952 MB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.4009, allocations: 0.8678 MB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.4011, allocations: 91.92 kB / 0.5378 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.4012, allocations: 28.28 kB / 0.5378 GB, free: 7.305 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4012, allocations: 0 / 0.5378 GB, free: 7.305 MB / 398.1 MB Notification: Performance of Templates: time 0.01466/0.4158, allocations: 8.783 MB / 0.5464 GB, free: 15.49 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/jenkins/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/jenkins/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