Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001654, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2016/0.2016, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 69.86 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0939/0.0954, allocations: 62.46 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3634/0.4588, allocations: 186 MB / 0.6505 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005728/0.4646, allocations: 3.662 MB / 0.6541 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.4651, allocations: 11.94 kB / 0.6541 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008703/0.4661, allocations: 317.8 kB / 0.6544 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.47, allocations: 1.727 MB / 0.6561 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.4717, allocations: 0.7117 MB / 0.6568 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.4734, allocations: 1.52 MB / 0.6582 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006871/0.4741, allocations: 431.5 kB / 0.6587 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009901/0.4751, allocations: 0.5761 MB / 0.6592 GB, free: 76 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006185/0.4758, allocations: 446.2 kB / 0.6596 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.4759, allocations: 52 kB / 0.6597 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.4789, allocations: 1.884 MB / 0.6615 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.479, allocations: 155.5 kB / 0.6617 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.4794, allocations: 346.5 kB / 0.662 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.4819, allocations: 1.816 MB / 0.6638 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4819, allocations: 0 / 0.6638 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.482, allocations: 0 / 0.6638 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.482, allocations: 0 / 0.6638 GB, free: 11.39 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001909/0.4839, allocations: 1.08 MB / 0.6648 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4839, allocations: 8.031 kB / 0.6648 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.4841, allocations: 90.52 kB / 0.6649 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4851, allocations: 135.2 kB / 0.6651 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.4857, allocations: 464.4 kB / 0.6655 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.4858, allocations: 29 kB / 0.6655 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.4858, allocations: 47.94 kB / 0.6656 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.4869, allocations: 0.5984 MB / 0.6662 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.487, allocations: 0 / 0.6662 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/0.487, allocations: 16 kB / 0.6662 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.487, allocations: 12 kB / 0.6662 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.488, allocations: 471.6 kB / 0.6666 GB, free: 8.324 MB / 0.4981 GB 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.002991/0.491, allocations: 2.663 MB / 0.6692 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.4917, allocations: 347.6 kB / 0.6696 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.4921, allocations: 173.3 kB / 0.6697 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004365/0.4925, allocations: 433.8 kB / 0.6701 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4926, allocations: 34.84 kB / 0.6702 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.4926, allocations: 0 / 0.6702 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001736/0.4943, allocations: 0.7303 MB / 0.6709 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.4944, allocations: 132.5 kB / 0.671 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.4949, allocations: 466 kB / 0.6715 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.495, allocations: 37.7 kB / 0.6715 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.4952, allocations: 267.8 kB / 0.6718 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.4953, allocations: 118.4 kB / 0.6719 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.4954, allocations: 106 kB / 0.672 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4956, allocations: 358.8 kB / 0.6723 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.4959, allocations: 144.8 kB / 0.6725 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.4963, allocations: 279.7 kB / 0.6727 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.4971, allocations: 433.6 kB / 0.6731 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.4971, allocations: 0 / 0.6731 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001035/0.4981, allocations: 0.548 MB / 0.6737 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4982, allocations: 7.938 kB / 0.6737 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.4982, allocations: 4 kB / 0.6737 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.4997, allocations: 233 kB / 0.6739 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.5001, allocations: 115.8 kB / 0.674 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004517/0.5006, allocations: 0.5835 MB / 0.6746 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.5009, allocations: 47.52 kB / 0.6746 GB, free: 15.58 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.501, allocations: 47.98 kB / 0.6747 GB, free: 15.53 MB / 0.5138 GB 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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0002407/0.5012, allocations: 193.6 kB / 0.6749 GB, free: 15.33 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.5014, allocations: 55.34 kB / 0.6749 GB, free: 15.28 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.5034, allocations: 1.076 MB / 0.676 GB, free: 14.18 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5034, allocations: 8 kB / 0.676 GB, free: 14.17 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5035, allocations: 0 / 0.676 GB, free: 14.17 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5035, allocations: 0 / 0.676 GB, free: 14.17 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.5049, allocations: 1.011 MB / 0.677 GB, free: 13.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5049, allocations: 0 / 0.677 GB, free: 13.08 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.5052, allocations: 51.91 kB / 0.677 GB, free: 13.03 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/0.5085, allocations: 432.2 kB / 0.6774 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.5085, allocations: 15.92 kB / 0.6774 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004361/0.5089, allocations: 0.6069 MB / 0.678 GB, free: 11.96 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.509, allocations: 4.031 kB / 0.678 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.5098, allocations: 0.5076 MB / 0.6785 GB, free: 11.41 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.5099, allocations: 128.5 kB / 0.6786 GB, free: 11.27 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.5101, allocations: 19.84 kB / 0.6787 GB, free: 11.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.5104, allocations: 15.98 kB / 0.6787 GB, free: 11.23 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.5105, allocations: 27.91 kB / 0.6787 GB, free: 11.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.5105, allocations: 19.98 kB / 0.6787 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0004648/0.511, allocations: 398.8 kB / 0.6791 GB, free: 10.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.5e-07/0.511, allocations: 0 / 0.6791 GB, free: 10.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0009055/0.5119, allocations: 335.7 kB / 0.6794 GB, free: 10.47 MB / 0.5138 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 (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002031/0.514, allocations: 1.395 MB / 0.6808 GB, free: 9.035 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0008891/0.5149, allocations: 387.9 kB / 0.6812 GB, free: 8.656 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5149, allocations: 0 / 0.6812 GB, free: 8.656 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.5152, allocations: 171.8 kB / 0.6813 GB, free: 8.488 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.517, allocations: 366.6 kB / 0.6817 GB, free: 8.141 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006724/0.5237, allocations: 4.938 MB / 0.6865 GB, free: 2.996 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.5242, allocations: 0.8555 MB / 0.6873 GB, free: 2.113 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00125/0.5254, allocations: 0.5627 MB / 0.6879 GB, free: 1.551 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/0.5259, allocations: 227.3 kB / 0.6881 GB, free: 1.328 MB / 0.5138 GB Notification: Performance of SimCode: time 4.91e-07/0.5259, allocations: 0 / 0.6881 GB, free: 1.328 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2096/0.7355, allocations: 22.88 MB / 0.7104 GB, free: 198.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.45, allocations: 19.89 kB / 0.7105 GB, free: 198.3 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_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_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches