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_overall.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_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.001172/0.001172, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.00119/0.00119, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2116/0.2116, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3732, allocations: 60.82 MB / 0.5185 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003602/0.3769, allocations: 2.262 MB / 0.5207 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.3797, allocations: 2.037 MB / 0.5227 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.3798, allocations: 2.656 kB / 0.5227 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.3801, allocations: 77.23 kB / 0.5227 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.3805, allocations: 112.4 kB / 0.5228 GB, free: 464 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.3817, allocations: 429 kB / 0.5232 GB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006334/0.3824, allocations: 0.5215 MB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.3825, allocations: 65.41 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.3827, allocations: 183.5 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.383, allocations: 212.3 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.3831, allocations: 13.59 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.3842, allocations: 0.6712 MB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3843, allocations: 107.4 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.3846, allocations: 201.8 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.3857, allocations: 0.839 MB / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3857, allocations: 0 / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3857, allocations: 3.938 kB / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3857, allocations: 1.375 kB / 0.526 GB, free: 15.01 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001295/0.387, allocations: 0.8525 MB / 0.5268 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.387, allocations: 9.625 kB / 0.5268 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.3872, allocations: 102.1 kB / 0.5269 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.203e-05/0.3872, allocations: 54.73 kB / 0.527 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.3877, allocations: 322.6 kB / 0.5273 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.3877, allocations: 39.44 kB / 0.5273 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.3878, allocations: 58.78 kB / 0.5274 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3889, allocations: 0.7678 MB / 0.5281 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3889, allocations: 1.281 kB / 0.5281 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.389, allocations: 21.47 kB / 0.5281 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.389, allocations: 24.12 kB / 0.5282 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.39, allocations: 0.5538 MB / 0.5287 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.3923, allocations: 1.687 MB / 0.5304 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.3929, allocations: 303.3 kB / 0.5306 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.3932, allocations: 145.4 kB / 0.5308 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.3933, allocations: 21.72 kB / 0.5308 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3933, allocations: 39.81 kB / 0.5308 GB, free: 11.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.795e-06/0.3933, allocations: 0 / 0.5308 GB, free: 11.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001246/0.3946, allocations: 0.5051 MB / 0.5313 GB, free: 11.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.3947, allocations: 105.8 kB / 0.5314 GB, free: 11.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.3953, allocations: 0.6447 MB / 0.5321 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3954, allocations: 30.83 kB / 0.5321 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.3956, allocations: 292.5 kB / 0.5324 GB, free: 10.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.3957, allocations: 81.95 kB / 0.5325 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.3958, allocations: 124.5 kB / 0.5326 GB, free: 10.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.396, allocations: 363.2 kB / 0.5329 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.3964, allocations: 195 kB / 0.5331 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.397, allocations: 457.1 kB / 0.5335 GB, free: 9.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.3981, allocations: 0.6714 MB / 0.5342 GB, free: 9.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.3981, allocations: 7.344 kB / 0.5342 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001413/0.3995, allocations: 0.69 MB / 0.5349 GB, free: 8.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3995, allocations: 15.28 kB / 0.5349 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.902e-05/0.3996, allocations: 50.02 kB / 0.5349 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.3997, allocations: 13.25 kB / 0.535 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.4, allocations: 79.61 kB / 0.535 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/0.4, allocations: 20.27 kB / 0.535 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.4006, allocations: 99.06 kB / 0.5351 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.4006, allocations: 36.52 kB / 0.5352 GB, free: 8.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0003495/0.401, allocations: 256.3 kB / 0.5354 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.4012, allocations: 56.7 kB / 0.5355 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.4022, allocations: 465.4 kB / 0.5359 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.4023, allocations: 4.594 kB / 0.5359 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4023, allocations: 1.219 kB / 0.5359 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4023, allocations: 1.031 kB / 0.5359 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.4029, allocations: 406.8 kB / 0.5363 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-05/0.403, allocations: 47.02 kB / 0.5364 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4032, allocations: 23.53 kB / 0.5364 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4032, allocations: 5.094 kB / 0.5364 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.4032, allocations: 16.86 kB / 0.5364 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4032, allocations: 1.156 kB / 0.5364 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4032, allocations: 5.188 kB / 0.5364 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.4041, allocations: 0.6126 MB / 0.537 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.4043, allocations: 140.5 kB / 0.5371 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.4044, allocations: 1.188 kB / 0.5371 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.4047, allocations: 21.78 kB / 0.5372 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.4048, allocations: 25.73 kB / 0.5372 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.4048, allocations: 22.73 kB / 0.5372 GB, free: 7.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005573/0.4054, allocations: 442.9 kB / 0.5376 GB, free: 6.926 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4054, allocations: 0 / 0.5376 GB, free: 6.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009517/0.4063, allocations: 183.5 kB / 0.5378 GB, free: 6.891 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.001548/0.4079, allocations: 1.297 MB / 0.5391 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.4091, allocations: 0.7581 MB / 0.5398 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4091, allocations: 5.469 kB / 0.5398 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.4097, allocations: 480.9 kB / 0.5403 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008069/0.4105, allocations: 132.6 kB / 0.5404 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007788/0.4183, allocations: 5.938 MB / 0.5462 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.4187, allocations: 0.8855 MB / 0.5471 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.4191, allocations: 136.4 kB / 0.5472 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.4193, allocations: 143.4 kB / 0.5473 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4193, allocations: 8 kB / 0.5473 GB, free: 13.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.4548, allocations: 15.75 MB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/8.85, allocations: 8.812 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches