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.001883/0.001883, allocations: 118.1 kB / 17.79 MB, free: 5.254 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.001976/0.001976, allocations: 183 kB / 18.72 MB, free: 4.332 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.451/1.451, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2169/0.2169, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002094, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3412, allocations: 60.82 MB / 0.5185 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002724/0.344, allocations: 1.793 MB / 0.5202 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3453, allocations: 0.8011 MB / 0.521 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3454, allocations: 1.125 kB / 0.521 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.3457, allocations: 39.47 kB / 0.521 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.346, allocations: 69.72 kB / 0.5211 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.3462, allocations: 72.81 kB / 0.5212 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3464, allocations: 131.7 kB / 0.5213 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.3465, allocations: 18.92 kB / 0.5213 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3466, allocations: 63.91 kB / 0.5214 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3468, allocations: 82.28 kB / 0.5214 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3468, allocations: 4.938 kB / 0.5214 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.347, allocations: 70.39 kB / 0.5215 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.3471, allocations: 31.7 kB / 0.5215 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.3471, allocations: 42.05 kB / 0.5216 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.3474, allocations: 140.5 kB / 0.5217 GB, free: 1.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3474, allocations: 7.938 kB / 0.5217 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3474, allocations: 1.219 kB / 0.5217 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.3475, allocations: 0 / 0.5217 GB, free: 1.441 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.0004867/0.348, allocations: 407.4 kB / 0.5221 GB, free: 1.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.348, allocations: 10.58 kB / 0.5221 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.348, allocations: 40.44 kB / 0.5222 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.3484, allocations: 35.08 kB / 0.5222 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3485, allocations: 188.5 kB / 0.5224 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3486, allocations: 16.42 kB / 0.5224 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3486, allocations: 10.75 kB / 0.5224 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.349, allocations: 182.3 kB / 0.5226 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.349, allocations: 0 / 0.5226 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.349, allocations: 7.203 kB / 0.5226 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.349, allocations: 13.58 kB / 0.5226 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.3494, allocations: 135.1 kB / 0.5227 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.3501, allocations: 0.6423 MB / 0.5234 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.3505, allocations: 111.3 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.3506, allocations: 36.38 kB / 0.5235 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3506, allocations: 1.188 kB / 0.5235 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.3507, allocations: 40.61 kB / 0.5235 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3507, allocations: 0 / 0.5235 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004573/0.3512, allocations: 136.9 kB / 0.5237 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3512, allocations: 51.41 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3513, allocations: 126.6 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.3514, allocations: 25.7 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.3515, allocations: 127.8 kB / 0.524 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.3515, allocations: 25.02 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.3516, allocations: 33.36 kB / 0.524 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3517, allocations: 320 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3519, allocations: 37.67 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.3521, allocations: 99.16 kB / 0.5245 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.3524, allocations: 154 kB / 0.5246 GB, free: 15.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3524, allocations: 1.156 kB / 0.5246 GB, free: 15.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004269/0.3528, allocations: 158.6 kB / 0.5248 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3529, allocations: 6.438 kB / 0.5248 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3529, allocations: 2.594 kB / 0.5248 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.3529, allocations: 2.906 kB / 0.5248 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3531, allocations: 37.84 kB / 0.5248 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.3531, allocations: 7.734 kB / 0.5248 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3532, allocations: 21.36 kB / 0.5248 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3533, allocations: 10.61 kB / 0.5249 GB, free: 14.92 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 0.0001331/0.3534, allocations: 129.8 kB / 0.525 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.3534, allocations: 7.672 kB / 0.525 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.3538, allocations: 123 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3538, allocations: 5.781 kB / 0.5251 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3539, allocations: 0 / 0.5251 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3539, allocations: 4.562 kB / 0.5251 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.3541, allocations: 205.9 kB / 0.5253 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3541, allocations: 2.328 kB / 0.5253 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.3543, allocations: 26.42 kB / 0.5253 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3543, allocations: 0 / 0.5253 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3543, allocations: 2.219 kB / 0.5253 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3543, allocations: 0 / 0.5253 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.3543, allocations: 3.984 kB / 0.5253 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.3547, allocations: 220 kB / 0.5256 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.3548, allocations: 84.69 kB / 0.5256 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3548, allocations: 5.969 kB / 0.5256 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.58e-05/0.3549, allocations: 5.516 kB / 0.5256 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.355, allocations: 5.75 kB / 0.5257 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.355, allocations: 2.281 kB / 0.5257 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.958e-05/0.3551, allocations: 100.3 kB / 0.5257 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3551, allocations: 0 / 0.5257 GB, free: 14.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.3554, allocations: 24.5 kB / 0.5258 GB, free: 14.15 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.0007112/0.3561, allocations: 0.751 MB / 0.5265 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.3565, allocations: 93.33 kB / 0.5266 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3565, allocations: 0 / 0.5266 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3566, allocations: 47.42 kB / 0.5266 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.3569, allocations: 11.31 kB / 0.5267 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.3591, allocations: 1.673 MB / 0.5283 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.3595, allocations: 0.7121 MB / 0.529 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.3596, allocations: 28.73 kB / 0.529 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.3597, allocations: 29.8 kB / 0.529 GB, free: 11.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3597, allocations: 0 / 0.529 GB, free: 11.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.3836, allocations: 2.313 MB / 0.5313 GB, free: 10.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.224, allocations: 10.22 kB / 0.5313 GB, free: 10.18 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