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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.001511/0.001511, allocations: 112.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.001545/0.001545, allocations: 180.9 kB / 18.71 MB, free: 4.359 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2046/0.2046, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3581, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003166/0.3613, allocations: 2.012 MB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3629, allocations: 1.075 MB / 0.5215 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.363, allocations: 2.125 kB / 0.5215 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.3633, allocations: 51.67 kB / 0.5215 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.3635, allocations: 89.11 kB / 0.5216 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.364, allocations: 162 kB / 0.5218 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.3645, allocations: 323.6 kB / 0.5221 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.973e-05/0.3645, allocations: 33.81 kB / 0.5221 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3647, allocations: 116.6 kB / 0.5222 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.3649, allocations: 137.6 kB / 0.5223 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.365, allocations: 9.875 kB / 0.5223 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.3653, allocations: 197.1 kB / 0.5225 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-05/0.3655, allocations: 75.14 kB / 0.5226 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3656, allocations: 127.2 kB / 0.5227 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006073/0.3662, allocations: 385.6 kB / 0.5231 GB, free: 440 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3662, allocations: 0.6562 kB / 0.5231 GB, free: 440 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3662, allocations: 0 / 0.5231 GB, free: 440 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3662, allocations: 1.188 kB / 0.5231 GB, free: 440 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001172/0.3674, allocations: 0.6317 MB / 0.5237 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3675, allocations: 9.031 kB / 0.5237 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.875e-05/0.3676, allocations: 71.92 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.3676, allocations: 35.08 kB / 0.5238 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.368, allocations: 262.1 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.368, allocations: 19.84 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.3681, allocations: 26.16 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008944/0.369, allocations: 428.5 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.369, allocations: 1.469 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.369, allocations: 17.88 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.3691, allocations: 15.98 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007671/0.3699, allocations: 326.5 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.3716, allocations: 1.102 MB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.3721, allocations: 253.1 kB / 0.5262 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.3724, allocations: 107.7 kB / 0.5263 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.3725, allocations: 10.73 kB / 0.5263 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3725, allocations: 35.88 kB / 0.5263 GB, free: 14.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.873e-06/0.3725, allocations: 1.375 kB / 0.5263 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001011/0.3735, allocations: 353.7 kB / 0.5267 GB, free: 14.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.3736, allocations: 113.5 kB / 0.5268 GB, free: 14.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.3741, allocations: 396.2 kB / 0.5272 GB, free: 13.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3741, allocations: 31.11 kB / 0.5272 GB, free: 13.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.3743, allocations: 196.8 kB / 0.5274 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.3743, allocations: 59.05 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3745, allocations: 60.92 kB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3746, allocations: 345 kB / 0.5278 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.3749, allocations: 116.4 kB / 0.5279 GB, free: 13.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.3753, allocations: 236.7 kB / 0.5282 GB, free: 12.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/0.3759, allocations: 366.3 kB / 0.5285 GB, free: 12.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.376, allocations: 1.094 kB / 0.5285 GB, free: 12.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000829/0.3768, allocations: 395.1 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3768, allocations: 6.438 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-05/0.3769, allocations: 26.36 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3769, allocations: 5.438 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.3772, allocations: 52.66 kB / 0.529 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.3772, allocations: 17.3 kB / 0.529 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.3775, allocations: 57.89 kB / 0.529 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.3775, allocations: 12.72 kB / 0.5291 GB, free: 12.43 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002074/0.3778, allocations: 174.1 kB / 0.5292 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.3779, allocations: 29.5 kB / 0.5293 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/0.3786, allocations: 296.5 kB / 0.5295 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.3786, allocations: 6.281 kB / 0.5295 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3786, allocations: 5.391 kB / 0.5295 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3786, allocations: 0 / 0.5295 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.3791, allocations: 294.3 kB / 0.5298 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/0.3792, allocations: 22.73 kB / 0.5299 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.3793, allocations: 28.28 kB / 0.5299 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3793, allocations: 1.844 kB / 0.5299 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.3794, allocations: 8.312 kB / 0.5299 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.3794, allocations: 5.875 kB / 0.5299 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3794, allocations: 0 / 0.5299 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007435/0.3801, allocations: 0.502 MB / 0.5304 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.3803, allocations: 115.7 kB / 0.5305 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.3803, allocations: 2.469 kB / 0.5305 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.3806, allocations: 25.53 kB / 0.5305 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.3807, allocations: 15.92 kB / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3807, allocations: 10.69 kB / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.381, allocations: 287.1 kB / 0.5308 GB, free: 11.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.381, allocations: 4 kB / 0.5308 GB, free: 11.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005793/0.3816, allocations: 95.27 kB / 0.5309 GB, free: 11.07 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001236/0.3829, allocations: 1.099 MB / 0.532 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000784/0.3837, allocations: 429.4 kB / 0.5324 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3837, allocations: 0 / 0.5324 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3841, allocations: 278.1 kB / 0.5327 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.3847, allocations: 75.67 kB / 0.5327 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.3909, allocations: 3.821 MB / 0.5365 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.3914, allocations: 0.8065 MB / 0.5373 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000191/0.3916, allocations: 62.58 kB / 0.5373 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.3917, allocations: 85.28 kB / 0.5374 GB, free: 6 MB / 398.1 MB Notification: Performance of SimCode: time 1.904e-06/0.3917, allocations: 1.125 kB / 0.5374 GB, free: 6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.4205, allocations: 9.061 MB / 0.5462 GB, free: 15.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.324, allocations: 5.406 kB / 0.5462 GB, free: 15.05 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches