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.001085/0.001085, allocations: 118.4 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.001131/0.001131, allocations: 183.8 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.323/1.323, 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.1977/0.1977, allocations: 44.18 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.91 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3016, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003214/0.3049, allocations: 1.45 MB / 0.5198 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.3074, allocations: 1.414 MB / 0.5212 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.3075, allocations: 1.156 kB / 0.5212 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.3078, allocations: 39.36 kB / 0.5213 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.3081, allocations: 44.98 kB / 0.5213 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.3089, allocations: 226.5 kB / 0.5215 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.309, allocations: 54.69 kB / 0.5216 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.3091, allocations: 4.406 kB / 0.5216 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.3092, allocations: 23.31 kB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.3093, allocations: 26.92 kB / 0.5216 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3093, allocations: 6.484 kB / 0.5216 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008366/0.3101, allocations: 328.7 kB / 0.5219 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.3102, allocations: 16.33 kB / 0.522 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.3102, allocations: 27.08 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007192/0.311, allocations: 279.7 kB / 0.5223 GB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.311, allocations: 0 / 0.5223 GB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.311, allocations: 0 / 0.5223 GB, free: 0.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.311, allocations: 1.094 kB / 0.5223 GB, free: 0.832 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.0006121/0.3116, allocations: 415.1 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3117, allocations: 9.562 kB / 0.5227 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.3117, allocations: 36.55 kB / 0.5227 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.3118, allocations: 13.16 kB / 0.5227 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3119, allocations: 180.3 kB / 0.5229 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3119, allocations: 3.344 kB / 0.5229 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3119, allocations: 6.562 kB / 0.5229 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3121, allocations: 66.95 kB / 0.523 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3121, allocations: 1.5 kB / 0.523 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3121, allocations: 3.984 kB / 0.523 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3121, allocations: 5.406 kB / 0.523 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.3123, allocations: 53.84 kB / 0.523 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.3126, allocations: 203.2 kB / 0.5232 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.3128, allocations: 58.81 kB / 0.5233 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.3128, allocations: 41.02 kB / 0.5233 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.849e-05/0.3129, allocations: 21.67 kB / 0.5233 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.313, allocations: 36 kB / 0.5234 GB, free: 15.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.983e-06/0.313, allocations: 0 / 0.5234 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.02346/0.3365, allocations: 1.617 MB / 0.5249 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3366, allocations: 57.5 kB / 0.525 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3367, allocations: 134.6 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.3368, allocations: 26.95 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.3368, allocations: 90.97 kB / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.3369, allocations: 36.47 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.337, allocations: 46.75 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3372, allocations: 321.1 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/0.3379, allocations: 205.2 kB / 0.5258 GB, free: 14.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/0.3385, allocations: 206.8 kB / 0.526 GB, free: 14.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.3399, allocations: 382.1 kB / 0.5264 GB, free: 14.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3399, allocations: 0 / 0.5264 GB, free: 14.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001459/0.3414, allocations: 458.7 kB / 0.5268 GB, free: 14.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3414, allocations: 11.84 kB / 0.5268 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3414, allocations: 0 / 0.5268 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3414, allocations: 1.219 kB / 0.5268 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.342, allocations: 67.69 kB / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.342, allocations: 5.172 kB / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.3425, allocations: 40.38 kB / 0.5269 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.3425, allocations: 9.297 kB / 0.5269 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.0001253/0.3427, allocations: 116.8 kB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.3427, allocations: 8.203 kB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.3442, allocations: 373.8 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3442, allocations: 1.125 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.3443, allocations: 0.8438 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3443, allocations: 0 / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/0.3474, allocations: 0.7786 MB / 0.5282 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3474, allocations: 1.562 kB / 0.5282 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.3479, allocations: 76.03 kB / 0.5283 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3479, allocations: 5.281 kB / 0.5283 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.348, allocations: 8.516 kB / 0.5283 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.348, allocations: 4.938 kB / 0.5283 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.348, allocations: 1.062 kB / 0.5283 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3494, allocations: 427 kB / 0.5287 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.3495, allocations: 107.1 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.3496, allocations: 6.281 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.3501, allocations: 45.39 kB / 0.5288 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.3501, allocations: 8.828 kB / 0.5288 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.3501, allocations: 5.656 kB / 0.5288 GB, free: 12.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.577e-05/0.3502, allocations: 102.2 kB / 0.5289 GB, free: 12.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3502, allocations: 0 / 0.5289 GB, free: 12.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000697/0.3509, allocations: 172 kB / 0.5291 GB, free: 12.55 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.002636/0.3536, allocations: 1.104 MB / 0.5302 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.355, allocations: 371.3 kB / 0.5305 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.355, allocations: 0.875 kB / 0.5305 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.3557, allocations: 156.2 kB / 0.5307 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3561, allocations: 10.66 kB / 0.5307 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/0.3635, allocations: 2.756 MB / 0.5334 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3638, allocations: 0.6978 MB / 0.5341 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.364, allocations: 46.28 kB / 0.5341 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.3642, allocations: 34.34 kB / 0.5341 GB, free: 8.629 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3642, allocations: 1.125 kB / 0.5341 GB, free: 8.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.3964, allocations: 9.926 MB / 0.5438 GB, free: 1.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.213, allocations: 13.94 kB / 0.5439 GB, free: 1.648 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