Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 109.9 kB / 16.41 MB, free: 6.488 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.002105/0.002105, allocations: 187.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1889/0.1889, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 75.88 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08445/0.08576, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3754/0.4612, allocations: 190 MB / 0.6729 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007606/0.4688, allocations: 6.05 MB / 0.6789 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.4694, allocations: 19.88 kB / 0.6789 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007882/0.4701, allocations: 321.8 kB / 0.6792 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.4749, allocations: 1.968 MB / 0.6811 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.4766, allocations: 0.7111 MB / 0.6818 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.4783, allocations: 1.516 MB / 0.6833 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006352/0.479, allocations: 439.4 kB / 0.6837 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007703/0.4798, allocations: 0.5917 MB / 0.6843 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.4803, allocations: 454.1 kB / 0.6847 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.377e-05/0.4804, allocations: 48 kB / 0.6848 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.4837, allocations: 2.106 MB / 0.6868 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.4839, allocations: 155.5 kB / 0.687 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.4842, allocations: 350.5 kB / 0.6873 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.4866, allocations: 1.92 MB / 0.6892 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4866, allocations: 0 / 0.6892 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4866, allocations: 0 / 0.6892 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.4866, allocations: 0 / 0.6892 GB, free: 12.11 MB / 0.5294 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.001879/0.4885, allocations: 1.143 MB / 0.6903 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4886, allocations: 11.89 kB / 0.6903 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.4887, allocations: 86.53 kB / 0.6904 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009557/0.4896, allocations: 139.5 kB / 0.6905 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.4904, allocations: 494.2 kB / 0.691 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.4904, allocations: 33 kB / 0.691 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.4905, allocations: 40 kB / 0.6911 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/0.4915, allocations: 0.5905 MB / 0.6916 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4915, allocations: 3.938 kB / 0.6916 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.4916, allocations: 20 kB / 0.6917 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4916, allocations: 12 kB / 0.6917 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/0.4925, allocations: 471.6 kB / 0.6921 GB, free: 8.957 MB / 0.5294 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.002718/0.4952, allocations: 2.675 MB / 0.6947 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.4959, allocations: 350.1 kB / 0.6951 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.4961, allocations: 173.3 kB / 0.6952 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.4973, allocations: 1.293 MB / 0.6965 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.4973, allocations: 38.84 kB / 0.6965 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.4973, allocations: 0 / 0.6965 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001572/0.4989, allocations: 0.7106 MB / 0.6972 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.499, allocations: 132.5 kB / 0.6973 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.4994, allocations: 474 kB / 0.6978 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.4995, allocations: 29.7 kB / 0.6978 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.4997, allocations: 288.2 kB / 0.6981 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.743e-05/0.4998, allocations: 115 kB / 0.6982 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.4999, allocations: 102.1 kB / 0.6983 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5, allocations: 362.8 kB / 0.6987 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.5003, allocations: 140.8 kB / 0.6988 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.5007, allocations: 283.7 kB / 0.6991 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.5014, allocations: 437.5 kB / 0.6995 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.5014, allocations: 4 kB / 0.6995 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008959/0.5023, allocations: 0.5337 MB / 0.7 GB, free: 224 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5023, allocations: 8 kB / 0.7 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5023, allocations: 4 kB / 0.7 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.5038, allocations: 237 kB / 0.7002 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.5041, allocations: 111.8 kB / 0.7003 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003913/0.5045, allocations: 0.5836 MB / 0.7009 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.5048, allocations: 51.66 kB / 0.701 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.5049, allocations: 40.62 kB / 0.701 GB, free: 15.16 MB / 0.545 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.0001982/0.5051, allocations: 189.6 kB / 0.7012 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.5052, allocations: 59.72 kB / 0.7012 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.5065, allocations: 0.7108 MB / 0.7019 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5066, allocations: 7.938 kB / 0.7019 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5066, allocations: 4 kB / 0.7019 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5066, allocations: 7.922 kB / 0.702 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.508, allocations: 1.011 MB / 0.7029 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.508, allocations: 4.031 kB / 0.7029 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.5082, allocations: 55.84 kB / 0.703 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/0.5112, allocations: 428.2 kB / 0.7034 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.5113, allocations: 15.98 kB / 0.7034 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003977/0.5117, allocations: 0.5954 MB / 0.704 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.5117, allocations: 3.938 kB / 0.704 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.5125, allocations: 0.5121 MB / 0.7045 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.5126, allocations: 144.6 kB / 0.7046 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.5127, allocations: 8 kB / 0.7047 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.513, allocations: 16.05 kB / 0.7047 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.5131, allocations: 35.84 kB / 0.7047 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.5131, allocations: 19.98 kB / 0.7047 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004407/0.5136, allocations: 390.8 kB / 0.7051 GB, free: 10.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5136, allocations: 0 / 0.7051 GB, free: 10.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008883/0.5145, allocations: 382.8 kB / 0.7055 GB, free: 10.4 MB / 0.545 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.001963/0.5165, allocations: 1.464 MB / 0.7069 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007723/0.5173, allocations: 375.5 kB / 0.7072 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5173, allocations: 0 / 0.7072 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.5176, allocations: 161 kB / 0.7074 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.5192, allocations: 376.7 kB / 0.7078 GB, free: 8.008 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006645/0.5258, allocations: 4.822 MB / 0.7125 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.5263, allocations: 0.8596 MB / 0.7133 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006666/0.527, allocations: 204.9 kB / 0.7135 GB, free: 1.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.5273, allocations: 207.4 kB / 0.7137 GB, free: 1.691 MB / 0.545 GB Notification: Performance of SimCode: time 1.853e-06/0.5274, allocations: 0 / 0.7137 GB, free: 1.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.047/0.5744, allocations: 23.93 MB / 0.7371 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.68, allocations: 0 / 0.7371 GB, free: 9.742 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches