Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",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.001071/0.001071, allocations: 104 kB / 17.63 MB, free: 5.543 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.001076/0.001076, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.1991/0.1991, allocations: 44.17 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.84 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09844, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3622/0.4607, allocations: 182.8 MB / 0.6369 GB, free: 9.652 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.4646, allocations: 2.131 MB / 0.639 GB, free: 7.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.4649, allocations: 15.94 kB / 0.639 GB, free: 7.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.4657, allocations: 301.9 kB / 0.6393 GB, free: 7.203 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.4683, allocations: 1.164 MB / 0.6404 GB, free: 6.039 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.4698, allocations: 0.6811 MB / 0.6411 GB, free: 5.367 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.4713, allocations: 1.481 MB / 0.6425 GB, free: 3.879 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.4719, allocations: 423.5 kB / 0.6429 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008105/0.4727, allocations: 0.5566 MB / 0.6435 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.4732, allocations: 442.2 kB / 0.6439 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.4733, allocations: 48 kB / 0.644 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.4749, allocations: 0.7529 MB / 0.6447 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.475, allocations: 147.5 kB / 0.6448 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.4754, allocations: 326.5 kB / 0.6451 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.4768, allocations: 1.192 MB / 0.6463 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4768, allocations: 0 / 0.6463 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4769, allocations: 4 kB / 0.6463 GB, free: 8 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4769, allocations: 0 / 0.6463 GB, free: 8 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001683/0.4786, allocations: 0.9942 MB / 0.6473 GB, free: 14.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4786, allocations: 12.03 kB / 0.6473 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.4787, allocations: 74.53 kB / 0.6474 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009714/0.4797, allocations: 139.2 kB / 0.6475 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.4803, allocations: 440.5 kB / 0.6479 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.4803, allocations: 33 kB / 0.648 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.4804, allocations: 36 kB / 0.648 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/0.4814, allocations: 0.5593 MB / 0.6485 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4814, allocations: 0 / 0.6485 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.4815, allocations: 24 kB / 0.6486 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.4815, allocations: 8 kB / 0.6486 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008168/0.4823, allocations: 411.6 kB / 0.649 GB, free: 13.16 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.4849, allocations: 2.58 MB / 0.6515 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.4856, allocations: 287.5 kB / 0.6517 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.4859, allocations: 152.9 kB / 0.6519 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/0.4863, allocations: 356.4 kB / 0.6522 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4863, allocations: 46.55 kB / 0.6523 GB, free: 9.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.803e-06/0.4863, allocations: 0 / 0.6523 GB, free: 9.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002424/0.4888, allocations: 0.6945 MB / 0.653 GB, free: 8.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.4888, allocations: 144.5 kB / 0.6531 GB, free: 8.551 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.4893, allocations: 441.9 kB / 0.6535 GB, free: 8.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.4894, allocations: 37.64 kB / 0.6536 GB, free: 8.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.4895, allocations: 279.8 kB / 0.6538 GB, free: 7.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.251e-05/0.4896, allocations: 98.5 kB / 0.6539 GB, free: 7.691 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.4898, allocations: 101.7 kB / 0.654 GB, free: 7.586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4899, allocations: 358.8 kB / 0.6544 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.4903, allocations: 147.9 kB / 0.6545 GB, free: 7.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.4908, allocations: 271.3 kB / 0.6548 GB, free: 6.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000865/0.4917, allocations: 430.2 kB / 0.6552 GB, free: 6.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4917, allocations: 0 / 0.6552 GB, free: 6.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001203/0.4929, allocations: 0.5251 MB / 0.6557 GB, free: 5.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.493, allocations: 4 kB / 0.6557 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.493, allocations: 9 kB / 0.6557 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/0.4951, allocations: 272.6 kB / 0.6559 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.4955, allocations: 107.9 kB / 0.656 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000896/0.4965, allocations: 0.5953 MB / 0.6566 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.4968, allocations: 51.52 kB / 0.6567 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/0.4969, allocations: 49.62 kB / 0.6567 GB, free: 4.656 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000229/0.4972, allocations: 181.7 kB / 0.6569 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.4973, allocations: 47.44 kB / 0.6569 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.4994, allocations: 1.025 MB / 0.6579 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4995, allocations: 4 kB / 0.658 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4995, allocations: 3.938 kB / 0.658 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4995, allocations: 3.984 kB / 0.658 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.5011, allocations: 0.9673 MB / 0.6589 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.5011, allocations: 11.98 kB / 0.6589 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.5014, allocations: 51.89 kB / 0.659 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.5032, allocations: 256.6 kB / 0.6592 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.5033, allocations: 19.92 kB / 0.6592 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008617/0.5041, allocations: 0.5953 MB / 0.6598 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.5042, allocations: 3.938 kB / 0.6598 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.5054, allocations: 0.5038 MB / 0.6603 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5055, allocations: 136.4 kB / 0.6604 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5056, allocations: 15.92 kB / 0.6604 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.506, allocations: 15.98 kB / 0.6605 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.5061, allocations: 31.84 kB / 0.6605 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.5061, allocations: 15.98 kB / 0.6605 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004281/0.5066, allocations: 390.8 kB / 0.6609 GB, free: 212 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5066, allocations: 0 / 0.6609 GB, free: 212 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007004/0.5073, allocations: 215.9 kB / 0.6611 GB, free: 15.99 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00202/0.5093, allocations: 1.237 MB / 0.6623 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.5107, allocations: 381.6 kB / 0.6627 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5107, allocations: 0 / 0.6627 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007506/0.5115, allocations: 171.7 kB / 0.6628 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.5131, allocations: 345.6 kB / 0.6632 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/0.5203, allocations: 4.806 MB / 0.6678 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.5207, allocations: 0.8511 MB / 0.6687 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001153/0.5219, allocations: 0.5402 MB / 0.6692 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.5223, allocations: 230.8 kB / 0.6694 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.5223, allocations: 0 / 0.6694 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04182/0.5641, allocations: 19.19 MB / 0.6882 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.54, allocations: 7.875 kB / 0.6882 GB, free: 4.363 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches