Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",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.00109/0.00109, allocations: 108.8 kB / 17.77 MB, free: 5.266 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.001128/0.001129, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2008/0.2008, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3299, allocations: 60.82 MB / 0.5184 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00285/0.3328, allocations: 1.788 MB / 0.5202 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3341, allocations: 0.8019 MB / 0.521 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.3342, allocations: 5.062 kB / 0.521 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.3344, allocations: 39.7 kB / 0.521 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.3347, allocations: 69.5 kB / 0.5211 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.3349, allocations: 77.45 kB / 0.5212 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.3352, allocations: 135.4 kB / 0.5213 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.3352, allocations: 14.41 kB / 0.5213 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.3354, allocations: 64.34 kB / 0.5214 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.3355, allocations: 77.84 kB / 0.5214 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.3355, allocations: 4.625 kB / 0.5214 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.3357, allocations: 75.38 kB / 0.5215 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.3358, allocations: 30.75 kB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.3358, allocations: 38.06 kB / 0.5216 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3361, allocations: 144.5 kB / 0.5217 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3361, allocations: 0 / 0.5217 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3361, allocations: 1.25 kB / 0.5217 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3361, allocations: 0 / 0.5217 GB, free: 1.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004606/0.3366, allocations: 408 kB / 0.5221 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3366, allocations: 8.844 kB / 0.5221 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.3366, allocations: 46.42 kB / 0.5222 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.337, allocations: 33.98 kB / 0.5222 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3371, allocations: 189.4 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3371, allocations: 12.08 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3371, allocations: 15.72 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.3375, allocations: 173.4 kB / 0.5226 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3375, allocations: 0.6094 kB / 0.5226 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3375, allocations: 13.06 kB / 0.5226 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.3376, allocations: 10.38 kB / 0.5226 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.3379, allocations: 136.1 kB / 0.5227 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.3387, allocations: 0.6391 MB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.3391, allocations: 118.6 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.3392, allocations: 39.52 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3392, allocations: 5.219 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3393, allocations: 32.39 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3393, allocations: 0 / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004322/0.3397, allocations: 132.4 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.3398, allocations: 52.88 kB / 0.5237 GB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.3399, allocations: 134.2 kB / 0.5238 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3399, allocations: 25.7 kB / 0.5239 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.34, allocations: 122.9 kB / 0.524 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.34, allocations: 26.97 kB / 0.524 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.3401, allocations: 32.84 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3402, allocations: 324.4 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3403, allocations: 37.14 kB / 0.5244 GB, free: 14.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.3404, allocations: 94.31 kB / 0.5245 GB, free: 14.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.3407, allocations: 155.2 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3407, allocations: 0 / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003356/0.3411, allocations: 160 kB / 0.5248 GB, free: 14.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3411, allocations: 7.5 kB / 0.5248 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3411, allocations: 1.875 kB / 0.5248 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3411, allocations: 1.969 kB / 0.5248 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3413, allocations: 45.19 kB / 0.5248 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3413, allocations: 8.453 kB / 0.5248 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3414, allocations: 18.36 kB / 0.5248 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3415, allocations: 5.406 kB / 0.5249 GB, free: 14.54 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.432e-05/0.3416, allocations: 138.9 kB / 0.525 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.3416, allocations: 6.828 kB / 0.525 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.3419, allocations: 127 kB / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3419, allocations: 5.25 kB / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3419, allocations: 0.6562 kB / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.342, allocations: 0 / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3422, allocations: 200.5 kB / 0.5253 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3422, allocations: 0 / 0.5253 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.3423, allocations: 26.86 kB / 0.5253 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3423, allocations: 0 / 0.5253 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3423, allocations: 6.562 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3424, allocations: 3.938 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3424, allocations: 4.609 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.3426, allocations: 207.9 kB / 0.5255 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.3427, allocations: 83.53 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3427, allocations: 0.6562 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.3428, allocations: 8.922 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.3429, allocations: 12.11 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.3429, allocations: 2.266 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.3429, allocations: 96.08 kB / 0.5257 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3429, allocations: 0 / 0.5257 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.3434, allocations: 27.81 kB / 0.5258 GB, free: 13.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005848/0.3439, allocations: 0.7483 MB / 0.5265 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.3442, allocations: 99.95 kB / 0.5266 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3443, allocations: 0.5 kB / 0.5266 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3444, allocations: 47.34 kB / 0.5266 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.3446, allocations: 11.3 kB / 0.5266 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.3464, allocations: 1.678 MB / 0.5283 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3467, allocations: 0.7065 MB / 0.529 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.054e-05/0.3468, allocations: 32.5 kB / 0.529 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.3469, allocations: 36.16 kB / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3469, allocations: 0 / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.3647, allocations: 2.301 MB / 0.5313 GB, free: 9.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/7.948, allocations: 14.06 kB / 0.5313 GB, free: 9.863 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches