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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001557/0.001557, allocations: 113.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.001519/0.001519, allocations: 179.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.518/1.518, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2377/0.2377, allocations: 44.2 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3141, allocations: 60.82 MB / 0.5184 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003149/0.3173, allocations: 1.823 MB / 0.5202 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.3208, allocations: 2.86 MB / 0.523 GB, free: 84 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.321, allocations: 1.094 kB / 0.523 GB, free: 84 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.3213, allocations: 41.97 kB / 0.5231 GB, free: 64 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.3216, allocations: 92.72 kB / 0.5231 GB, free: 8 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.3236, allocations: 0.7183 MB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.324, allocations: 244 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.3241, allocations: 25.94 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3242, allocations: 108.9 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3244, allocations: 123.2 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.3244, allocations: 7.812 kB / 0.5243 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.3264, allocations: 1.202 MB / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.3265, allocations: 69.2 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3266, allocations: 120.6 kB / 0.5257 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.328, allocations: 0.914 MB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.328, allocations: 4 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.328, allocations: 5.359 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.328, allocations: 0 / 0.5266 GB, free: 14.43 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001023/0.329, allocations: 0.6779 MB / 0.5273 GB, free: 13.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3291, allocations: 9.625 kB / 0.5273 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.72e-05/0.3292, allocations: 72.47 kB / 0.5273 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.3293, allocations: 34.45 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.3296, allocations: 242.6 kB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3296, allocations: 23.5 kB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.3297, allocations: 19.97 kB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.3304, allocations: 471 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3304, allocations: 3.938 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.3305, allocations: 14.92 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.837e-05/0.3306, allocations: 51.8 kB / 0.5282 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008309/0.3314, allocations: 0.5435 MB / 0.5287 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.3333, allocations: 1.314 MB / 0.53 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.3338, allocations: 269.7 kB / 0.5302 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.334, allocations: 98.38 kB / 0.5303 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.3341, allocations: 12.55 kB / 0.5303 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.3341, allocations: 39.69 kB / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.3341, allocations: 4 kB / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007487/0.3349, allocations: 338.8 kB / 0.5307 GB, free: 11.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.3349, allocations: 54.44 kB / 0.5307 GB, free: 11.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.335, allocations: 136 kB / 0.5309 GB, free: 11.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3351, allocations: 30.95 kB / 0.5309 GB, free: 11.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3352, allocations: 204.3 kB / 0.5311 GB, free: 11.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.3353, allocations: 86.73 kB / 0.5312 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3354, allocations: 75.52 kB / 0.5313 GB, free: 10.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3356, allocations: 323 kB / 0.5316 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.3358, allocations: 86.58 kB / 0.5316 GB, free: 10.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.336, allocations: 173.2 kB / 0.5318 GB, free: 10.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.3366, allocations: 287.9 kB / 0.5321 GB, free: 10.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.3366, allocations: 5.188 kB / 0.5321 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006172/0.3372, allocations: 331.5 kB / 0.5324 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.3373, allocations: 5.594 kB / 0.5324 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3373, allocations: 6.719 kB / 0.5324 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3373, allocations: 5.562 kB / 0.5324 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.3378, allocations: 121.5 kB / 0.5325 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.3391, allocations: 2.373 MB / 0.5349 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3393, allocations: 38.33 kB / 0.5349 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.3394, allocations: 15.03 kB / 0.5349 GB, free: 7.602 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.3396, allocations: 174.5 kB / 0.5351 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.3396, allocations: 14.3 kB / 0.5351 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007596/0.3404, allocations: 364.2 kB / 0.5354 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3404, allocations: 3.5 kB / 0.5354 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3404, allocations: 0 / 0.5354 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3404, allocations: 3.938 kB / 0.5354 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.3408, allocations: 340 kB / 0.5358 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3408, allocations: 1.156 kB / 0.5358 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.3413, allocations: 100 kB / 0.5359 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.3413, allocations: 9.141 kB / 0.5359 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.3413, allocations: 7.719 kB / 0.5359 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.3425, allocations: 2.362 MB / 0.5382 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3426, allocations: 0 / 0.5382 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.3431, allocations: 380 kB / 0.5385 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.3432, allocations: 93.89 kB / 0.5386 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.3433, allocations: 10.66 kB / 0.5386 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3434, allocations: 11.8 kB / 0.5387 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.3435, allocations: 19.36 kB / 0.5387 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3435, allocations: 14.64 kB / 0.5387 GB, free: 4.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.3436, allocations: 100.7 kB / 0.5388 GB, free: 4.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3436, allocations: 0 / 0.5388 GB, free: 4.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007804/0.3444, allocations: 249 kB / 0.539 GB, free: 3.945 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.3458, allocations: 1.149 MB / 0.5401 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007391/0.3466, allocations: 296.9 kB / 0.5404 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3466, allocations: 0 / 0.5404 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.347, allocations: 176.9 kB / 0.5406 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3474, allocations: 19.59 kB / 0.5406 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.3507, allocations: 2.585 MB / 0.5431 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.3511, allocations: 0.8067 MB / 0.5439 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.3513, allocations: 97.77 kB / 0.544 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.3515, allocations: 91.16 kB / 0.5441 GB, free: 15.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3515, allocations: 0 / 0.5441 GB, free: 15.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.3786, allocations: 8.789 MB / 0.5527 GB, free: 8.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.64, allocations: 15.78 kB / 0.5527 GB, free: 8.41 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches