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.001216/0.001216, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001137/0.001137, allocations: 180.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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2104/0.2104, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.33, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003298/0.3334, allocations: 2.251 MB / 0.5207 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.3362, allocations: 2.042 MB / 0.5227 GB, free: 320 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.3364, allocations: 2.656 kB / 0.5227 GB, free: 320 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.3368, allocations: 79.34 kB / 0.5227 GB, free: 276 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.3371, allocations: 109.3 kB / 0.5228 GB, free: 212 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3386, allocations: 430 kB / 0.5232 GB, free: 24 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008746/0.3395, allocations: 0.5224 MB / 0.5238 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.3397, allocations: 65.05 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.3401, allocations: 186.1 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.3404, allocations: 213.3 kB / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.3404, allocations: 13.97 kB / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.3417, allocations: 0.6672 MB / 0.5249 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3419, allocations: 107.5 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.3421, allocations: 201 kB / 0.5252 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.3434, allocations: 0.8422 MB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3434, allocations: 0 / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3434, allocations: 1.062 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.3434, allocations: 4 kB / 0.526 GB, free: 14.79 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.00163/0.3451, allocations: 0.8538 MB / 0.5268 GB, free: 14.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.3451, allocations: 9.781 kB / 0.5268 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.3453, allocations: 97.39 kB / 0.5269 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.3454, allocations: 57.89 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.3459, allocations: 320 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.346, allocations: 43.41 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.3461, allocations: 62.31 kB / 0.5274 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.3473, allocations: 0.7646 MB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3473, allocations: 0 / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.3474, allocations: 21.22 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/0.3474, allocations: 28.19 kB / 0.5282 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.3485, allocations: 0.5505 MB / 0.5287 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.3511, allocations: 1.691 MB / 0.5304 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.3517, allocations: 299.2 kB / 0.5306 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.352, allocations: 149.5 kB / 0.5308 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.033e-05/0.3521, allocations: 21.28 kB / 0.5308 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3521, allocations: 41.16 kB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 3.888e-06/0.3521, allocations: 0 / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001275/0.3534, allocations: 0.5078 MB / 0.5313 GB, free: 11.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.3535, allocations: 109.6 kB / 0.5314 GB, free: 11.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.3544, allocations: 0.6377 MB / 0.5321 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.3544, allocations: 31.11 kB / 0.5321 GB, free: 10.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.3547, allocations: 291 kB / 0.5324 GB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.3547, allocations: 82.73 kB / 0.5325 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3549, allocations: 120.5 kB / 0.5326 GB, free: 10.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3551, allocations: 362.2 kB / 0.5329 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.3555, allocations: 195.9 kB / 0.5331 GB, free: 9.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.3561, allocations: 461.7 kB / 0.5335 GB, free: 9.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.3572, allocations: 0.6677 MB / 0.5342 GB, free: 8.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3572, allocations: 2.156 kB / 0.5342 GB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001265/0.3585, allocations: 0.693 MB / 0.5349 GB, free: 8.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3585, allocations: 17.53 kB / 0.5349 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.212e-05/0.3586, allocations: 50.23 kB / 0.5349 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.3586, allocations: 12.12 kB / 0.535 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.3589, allocations: 75.8 kB / 0.535 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.3589, allocations: 20.39 kB / 0.535 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.3594, allocations: 98.69 kB / 0.5351 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.3594, allocations: 37.3 kB / 0.5352 GB, free: 8.367 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.0002816/0.3597, allocations: 259.5 kB / 0.5354 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.3598, allocations: 53.36 kB / 0.5355 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009335/0.3608, allocations: 464.9 kB / 0.5359 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.3608, allocations: 8.344 kB / 0.5359 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3608, allocations: 5.094 kB / 0.5359 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3608, allocations: 0.9062 kB / 0.5359 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.3614, allocations: 411.8 kB / 0.5363 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.369e-05/0.3615, allocations: 42.16 kB / 0.5364 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.3617, allocations: 23.91 kB / 0.5364 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.3617, allocations: 9.391 kB / 0.5364 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.3617, allocations: 11.69 kB / 0.5364 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3617, allocations: 1.688 kB / 0.5364 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3617, allocations: 5 kB / 0.5364 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/0.3626, allocations: 0.6131 MB / 0.537 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3627, allocations: 143.7 kB / 0.5371 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.3628, allocations: 6.812 kB / 0.5372 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.3631, allocations: 25.53 kB / 0.5372 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.3632, allocations: 20.42 kB / 0.5372 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.3632, allocations: 19.14 kB / 0.5372 GB, free: 6.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004632/0.3637, allocations: 447.9 kB / 0.5376 GB, free: 6.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3637, allocations: 0 / 0.5376 GB, free: 6.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007889/0.3645, allocations: 178.1 kB / 0.5378 GB, free: 6.664 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.001461/0.366, allocations: 1.296 MB / 0.5391 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.3671, allocations: 0.7616 MB / 0.5398 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3671, allocations: 0 / 0.5398 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.3676, allocations: 477.5 kB / 0.5403 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.3684, allocations: 126.8 kB / 0.5404 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007518/0.3759, allocations: 5.937 MB / 0.5462 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.3764, allocations: 0.8933 MB / 0.5471 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003322/0.3767, allocations: 128.5 kB / 0.5472 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3769, allocations: 147.4 kB / 0.5473 GB, free: 13.33 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3769, allocations: 0 / 0.5473 GB, free: 13.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03907/0.416, allocations: 15.75 MB / 0.5627 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/8.877, allocations: 14.62 kB / 0.5627 GB, free: 13.84 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