Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.001487/0.001487, allocations: 118 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.001506/0.001506, allocations: 183 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.391/1.391, 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.2135/0.2135, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002261/0.3298, allocations: 1.436 MB / 0.5198 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3314, allocations: 1.415 MB / 0.5212 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.3315, allocations: 4 kB / 0.5212 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.3317, allocations: 31.22 kB / 0.5213 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.3319, allocations: 53.61 kB / 0.5213 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.3324, allocations: 218.3 kB / 0.5215 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3326, allocations: 63.31 kB / 0.5216 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.3326, allocations: 4.25 kB / 0.5216 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.3327, allocations: 23.52 kB / 0.5216 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.3328, allocations: 25.25 kB / 0.5216 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3328, allocations: 2.188 kB / 0.5216 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006386/0.3334, allocations: 337.5 kB / 0.522 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.3335, allocations: 7.844 kB / 0.522 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.3335, allocations: 28.67 kB / 0.522 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.334, allocations: 278.5 kB / 0.5223 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.334, allocations: 0 / 0.5223 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.334, allocations: 7.938 kB / 0.5223 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3341, allocations: 1.734 kB / 0.5223 GB, free: 0.8438 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004846/0.3345, allocations: 414.9 kB / 0.5227 GB, free: 448 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3346, allocations: 9.375 kB / 0.5227 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.3346, allocations: 41.27 kB / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.3347, allocations: 8 kB / 0.5227 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.3348, allocations: 181.4 kB / 0.5229 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3348, allocations: 2.625 kB / 0.5229 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3348, allocations: 2.625 kB / 0.5229 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.335, allocations: 70.97 kB / 0.523 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.335, allocations: 0 / 0.523 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.335, allocations: 6.062 kB / 0.523 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.335, allocations: 0 / 0.523 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.3351, allocations: 58.86 kB / 0.523 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.3353, allocations: 187.5 kB / 0.5232 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.3355, allocations: 61.92 kB / 0.5233 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/0.3355, allocations: 45.36 kB / 0.5233 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-05/0.3356, allocations: 21.33 kB / 0.5233 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3357, allocations: 32.27 kB / 0.5234 GB, free: 15.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.3357, allocations: 0 / 0.5234 GB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02101/0.3567, allocations: 1.63 MB / 0.5249 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.3568, allocations: 52.78 kB / 0.525 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.357, allocations: 132.7 kB / 0.5251 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.3571, allocations: 28.25 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.3572, allocations: 90.12 kB / 0.5252 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.3572, allocations: 35.48 kB / 0.5253 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.3574, allocations: 48.45 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3576, allocations: 322.6 kB / 0.5256 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007371/0.3583, allocations: 207.2 kB / 0.5258 GB, free: 14.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.359, allocations: 202.9 kB / 0.526 GB, free: 14.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.3604, allocations: 381.3 kB / 0.5264 GB, free: 14.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3604, allocations: 0 / 0.5264 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001456/0.3619, allocations: 463 kB / 0.5268 GB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3619, allocations: 4.531 kB / 0.5268 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3619, allocations: 5.25 kB / 0.5268 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3619, allocations: 0 / 0.5268 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.3625, allocations: 65.19 kB / 0.5269 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3625, allocations: 0 / 0.5269 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.3629, allocations: 48.42 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.363, allocations: 13.08 kB / 0.527 GB, free: 14.06 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001399/0.3631, allocations: 117.2 kB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.3632, allocations: 8.453 kB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3646, allocations: 364.9 kB / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3647, allocations: 1.75 kB / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3647, allocations: 1.656 kB / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3647, allocations: 0 / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.3676, allocations: 0.7819 MB / 0.5282 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3677, allocations: 1 kB / 0.5282 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.3681, allocations: 64.5 kB / 0.5282 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3682, allocations: 5.188 kB / 0.5283 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.3682, allocations: 15.86 kB / 0.5283 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3682, allocations: 5.625 kB / 0.5283 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3682, allocations: 1.25 kB / 0.5283 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.3697, allocations: 418.6 kB / 0.5287 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.3698, allocations: 107.3 kB / 0.5288 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.3699, allocations: 2.031 kB / 0.5288 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.3703, allocations: 53.23 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.3703, allocations: 5.844 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.3704, allocations: 8.953 kB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.737e-05/0.3705, allocations: 102.7 kB / 0.5289 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3705, allocations: 1.062 kB / 0.5289 GB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007709/0.3712, allocations: 171.4 kB / 0.5291 GB, free: 12.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.002321/0.3736, allocations: 1.102 MB / 0.5302 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.375, allocations: 372.4 kB / 0.5305 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.375, allocations: 1.438 kB / 0.5305 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.3756, allocations: 151.7 kB / 0.5307 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.376, allocations: 10.66 kB / 0.5307 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/0.383, allocations: 2.759 MB / 0.5334 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3834, allocations: 0.7017 MB / 0.5341 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.3836, allocations: 42.62 kB / 0.5341 GB, free: 8.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3838, allocations: 39.22 kB / 0.5342 GB, free: 8.641 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3838, allocations: 0 / 0.5342 GB, free: 8.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.4188, allocations: 9.919 MB / 0.5438 GB, free: 1.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/8.742, allocations: 13.8 kB / 0.5439 GB, free: 1.652 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches