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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.001794/0.001794, allocations: 185 kB / 18.72 MB, free: 4.332 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.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2249/0.2249, allocations: 44.19 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3708, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.00372/0.3746, allocations: 2.208 MB / 0.5206 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3768, allocations: 1.116 MB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.377, allocations: 6.188 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.3772, allocations: 66.2 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.3775, allocations: 107.3 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.3781, allocations: 174.7 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005459/0.3787, allocations: 0.4956 MB / 0.5225 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.3788, allocations: 57.58 kB / 0.5226 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.379, allocations: 169.9 kB / 0.5227 GB, free: 496 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.3792, allocations: 201.1 kB / 0.5229 GB, free: 408 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.3793, allocations: 13.09 kB / 0.5229 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.3798, allocations: 322.8 kB / 0.5233 GB, free: 296 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3799, allocations: 102.1 kB / 0.5234 GB, free: 248 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3801, allocations: 185.2 kB / 0.5235 GB, free: 140 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008333/0.381, allocations: 0.5842 MB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.381, allocations: 1.828 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.381, allocations: 4 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.381, allocations: 0 / 0.5241 GB, free: 15.89 MB / 398.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.001331/0.3823, allocations: 0.7666 MB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3824, allocations: 10.47 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.3825, allocations: 89.39 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.99e-05/0.3826, allocations: 46.66 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.383, allocations: 304.2 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.3831, allocations: 34.97 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.3832, allocations: 45.28 kB / 0.5254 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.3844, allocations: 0.6642 MB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3844, allocations: 0 / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.3845, allocations: 20.58 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.3845, allocations: 24.2 kB / 0.5261 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009062/0.3855, allocations: 486.8 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.3875, allocations: 1.506 MB / 0.528 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.388, allocations: 309 kB / 0.5283 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.3884, allocations: 144.9 kB / 0.5284 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.3884, allocations: 17.59 kB / 0.5284 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3885, allocations: 35.66 kB / 0.5285 GB, free: 13.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.923e-06/0.3885, allocations: 5 kB / 0.5285 GB, free: 13.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001271/0.3898, allocations: 0.4913 MB / 0.529 GB, free: 12.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.3898, allocations: 105.1 kB / 0.5291 GB, free: 12.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.3904, allocations: 0.547 MB / 0.5296 GB, free: 12.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3905, allocations: 26.98 kB / 0.5296 GB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3906, allocations: 232.7 kB / 0.5298 GB, free: 12.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.3907, allocations: 75.83 kB / 0.5299 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3908, allocations: 85.45 kB / 0.53 GB, free: 12.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.391, allocations: 351.5 kB / 0.5303 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.3913, allocations: 159.3 kB / 0.5305 GB, free: 11.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.3917, allocations: 274.6 kB / 0.5307 GB, free: 11.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008165/0.3926, allocations: 449.7 kB / 0.5312 GB, free: 11.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.3926, allocations: 1.219 kB / 0.5312 GB, free: 11.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001014/0.3936, allocations: 0.5065 MB / 0.5317 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3936, allocations: 6.656 kB / 0.5317 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-05/0.3937, allocations: 37.41 kB / 0.5317 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.3937, allocations: 13.64 kB / 0.5317 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.394, allocations: 38.41 kB / 0.5318 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.394, allocations: 9.469 kB / 0.5318 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.3943, allocations: 81.17 kB / 0.5318 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.3944, allocations: 17.72 kB / 0.5319 GB, free: 10.81 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.0002237/0.3946, allocations: 215.2 kB / 0.5321 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3947, allocations: 41.62 kB / 0.5321 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008443/0.3956, allocations: 450.1 kB / 0.5325 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.3956, allocations: 3.375 kB / 0.5325 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3956, allocations: 5.031 kB / 0.5325 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3956, allocations: 9.078 kB / 0.5325 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.3962, allocations: 389 kB / 0.5329 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.148e-05/0.3962, allocations: 41.83 kB / 0.533 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3964, allocations: 25.03 kB / 0.533 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3964, allocations: 1.531 kB / 0.533 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.3964, allocations: 15.34 kB / 0.533 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3964, allocations: 1.25 kB / 0.533 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3965, allocations: 1.281 kB / 0.533 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.3973, allocations: 0.606 MB / 0.5336 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3974, allocations: 127.5 kB / 0.5337 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.3975, allocations: 6.156 kB / 0.5337 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.3978, allocations: 18.33 kB / 0.5337 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.3979, allocations: 27.16 kB / 0.5338 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.3979, allocations: 14.81 kB / 0.5338 GB, free: 9.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004053/0.3983, allocations: 392.7 kB / 0.5342 GB, free: 9.238 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3983, allocations: 0 / 0.5342 GB, free: 9.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005962/0.3989, allocations: 138.4 kB / 0.5343 GB, free: 9.211 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.001322/0.4003, allocations: 1.2 MB / 0.5355 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009724/0.4013, allocations: 0.6749 MB / 0.5361 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4013, allocations: 0 / 0.5361 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.4018, allocations: 480.1 kB / 0.5366 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.4025, allocations: 122 kB / 0.5367 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.4095, allocations: 5.167 MB / 0.5417 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.41, allocations: 0.8659 MB / 0.5426 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.4103, allocations: 91.27 kB / 0.5427 GB, free: 2.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.4104, allocations: 123.4 kB / 0.5428 GB, free: 2.262 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4104, allocations: 0 / 0.5428 GB, free: 2.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.4429, allocations: 13.06 MB / 0.5555 GB, free: 5.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.593, allocations: 11.22 kB / 0.5555 GB, free: 5.465 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > 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.csv","/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