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.001234/0.001234, allocations: 118.6 kB / 17.78 MB, free: 5.125 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.001184/0.001183, allocations: 185 kB / 18.72 MB, free: 4.203 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.393/1.393, 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.2195/0.2195, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3302, allocations: 60.82 MB / 0.5185 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002938/0.3331, allocations: 2.257 MB / 0.5207 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.3357, allocations: 2.038 MB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.3358, allocations: 2.375 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.3361, allocations: 80.09 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.3363, allocations: 103.9 kB / 0.5228 GB, free: 188 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3374, allocations: 421 kB / 0.5232 GB, free: 8 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006209/0.338, allocations: 0.5215 MB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3381, allocations: 65.58 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.3384, allocations: 174.8 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.3387, allocations: 216.5 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.3387, allocations: 13.47 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.3399, allocations: 0.6683 MB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.34, allocations: 106.4 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.3403, allocations: 206 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.3414, allocations: 0.8352 MB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3415, allocations: 9.219 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3415, allocations: 0 / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3415, allocations: 0 / 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.001437/0.3429, allocations: 0.8538 MB / 0.5268 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.343, allocations: 9.469 kB / 0.5268 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.3431, allocations: 105.4 kB / 0.5269 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.529e-05/0.3432, allocations: 54.64 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.3436, allocations: 314.9 kB / 0.5273 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.3436, allocations: 43.69 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.3437, allocations: 55.69 kB / 0.5274 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.3449, allocations: 0.7708 MB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.345, allocations: 0.9375 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.976e-05/0.345, allocations: 21.09 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/0.3451, allocations: 28.48 kB / 0.5282 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.3461, allocations: 0.5614 MB / 0.5287 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.3486, allocations: 1.688 MB / 0.5304 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.3492, allocations: 298.5 kB / 0.5306 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.3495, allocations: 149.6 kB / 0.5308 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.3496, allocations: 17.52 kB / 0.5308 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.3496, allocations: 36.34 kB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.923e-06/0.3496, allocations: 0 / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001284/0.3509, allocations: 0.5061 MB / 0.5313 GB, free: 11.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.351, allocations: 109.7 kB / 0.5314 GB, free: 11.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/0.3518, allocations: 0.6373 MB / 0.5321 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.3518, allocations: 26.8 kB / 0.5321 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.3521, allocations: 295.9 kB / 0.5324 GB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.3522, allocations: 82.69 kB / 0.5324 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.3524, allocations: 126.9 kB / 0.5326 GB, free: 10.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3526, allocations: 365.3 kB / 0.5329 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.3531, allocations: 190.5 kB / 0.5331 GB, free: 9.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.3538, allocations: 457.6 kB / 0.5335 GB, free: 9.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.3549, allocations: 0.678 MB / 0.5342 GB, free: 8.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.3549, allocations: 6.281 kB / 0.5342 GB, free: 8.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001483/0.3564, allocations: 0.6908 MB / 0.5349 GB, free: 8.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.3565, allocations: 13.19 kB / 0.5349 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/0.3566, allocations: 50.39 kB / 0.5349 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/0.3566, allocations: 12.72 kB / 0.5349 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.3569, allocations: 70.92 kB / 0.535 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.357, allocations: 24.38 kB / 0.535 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.3575, allocations: 99.28 kB / 0.5351 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.3576, allocations: 36.44 kB / 0.5352 GB, free: 8.363 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.0003504/0.3579, allocations: 261.3 kB / 0.5354 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.3581, allocations: 53.52 kB / 0.5355 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009566/0.359, allocations: 463.9 kB / 0.5359 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.359, allocations: 8.297 kB / 0.5359 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3591, allocations: 1.125 kB / 0.5359 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3591, allocations: 1.094 kB / 0.5359 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/0.3597, allocations: 411.8 kB / 0.5363 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.927e-05/0.3598, allocations: 41.61 kB / 0.5364 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.36, allocations: 31.91 kB / 0.5364 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.36, allocations: 5.469 kB / 0.5364 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.36, allocations: 11.83 kB / 0.5364 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.36, allocations: 2.469 kB / 0.5364 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3601, allocations: 0 / 0.5364 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.3611, allocations: 0.6144 MB / 0.537 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.3613, allocations: 140.5 kB / 0.5371 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.3614, allocations: 6.5 kB / 0.5371 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.3617, allocations: 21.44 kB / 0.5372 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.3618, allocations: 29.58 kB / 0.5372 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.3618, allocations: 14.88 kB / 0.5372 GB, free: 6.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005677/0.3624, allocations: 446.9 kB / 0.5376 GB, free: 6.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3624, allocations: 0 / 0.5376 GB, free: 6.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008868/0.3633, allocations: 182.9 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.001729/0.365, allocations: 1.293 MB / 0.5391 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.3664, allocations: 0.7515 MB / 0.5398 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3664, allocations: 3.938 kB / 0.5398 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.367, allocations: 480.9 kB / 0.5403 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00077/0.3677, allocations: 125 kB / 0.5404 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009067/0.3768, allocations: 5.937 MB / 0.5462 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.3775, allocations: 0.8971 MB / 0.5471 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003857/0.3779, allocations: 132.5 kB / 0.5472 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.3781, allocations: 151.4 kB / 0.5473 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3781, allocations: 0 / 0.5473 GB, free: 13.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/0.4201, allocations: 15.76 MB / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.766/9.186, allocations: 7.312 kB / 0.5627 GB, free: 13.81 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