Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_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.001166/0.001166, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001344/0.001344, allocations: 183 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.41/1.41, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2288/0.2288, allocations: 44.2 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.376, allocations: 60.81 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2347/0.6106, allocations: 183.5 MB / 0.6977 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006899/0.6175, allocations: 3.619 MB / 0.7012 GB, free: 288 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008085/0.6184, allocations: 19.88 kB / 0.7012 GB, free: 268 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.6194, allocations: 322 kB / 0.7015 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.6241, allocations: 1.731 MB / 0.7032 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.6262, allocations: 0.7164 MB / 0.7039 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002267/0.6285, allocations: 1.528 MB / 0.7054 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.6291, allocations: 371.5 kB / 0.7058 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.6302, allocations: 0.5878 MB / 0.7063 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.6308, allocations: 454.1 kB / 0.7068 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.305e-05/0.6309, allocations: 52 kB / 0.7068 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.6346, allocations: 1.895 MB / 0.7087 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.6348, allocations: 163.4 kB / 0.7088 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004242/0.6352, allocations: 346.5 kB / 0.7092 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.6383, allocations: 1.807 MB / 0.7109 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6383, allocations: 0 / 0.7109 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6383, allocations: 4 kB / 0.7109 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.6383, allocations: 0 / 0.7109 GB, free: 6.293 MB / 0.5606 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.00213/0.6405, allocations: 1.101 MB / 0.712 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6405, allocations: 8.031 kB / 0.712 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.6406, allocations: 86.52 kB / 0.7121 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.6416, allocations: 131.5 kB / 0.7122 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008889/0.6425, allocations: 492.8 kB / 0.7127 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.6425, allocations: 40.94 kB / 0.7127 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.6426, allocations: 43.94 kB / 0.7128 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6439, allocations: 0.5828 MB / 0.7133 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6439, allocations: 8 kB / 0.7134 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.6439, allocations: 23.94 kB / 0.7134 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.644, allocations: 12 kB / 0.7134 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.645, allocations: 467.6 kB / 0.7138 GB, free: 3.184 MB / 0.5606 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.003685/0.6487, allocations: 2.648 MB / 0.7164 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2794/0.928, allocations: 321.9 kB / 0.7167 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/0.9285, allocations: 155.3 kB / 0.7169 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/0.9289, allocations: 433.8 kB / 0.7173 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.9289, allocations: 45.7 kB / 0.7173 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/0.9289, allocations: 3.281 kB / 0.7173 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002024/0.9309, allocations: 0.7059 MB / 0.718 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.931, allocations: 139 kB / 0.7182 GB, free: 190 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005728/0.9316, allocations: 471.9 kB / 0.7186 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.9316, allocations: 32.67 kB / 0.7186 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.9318, allocations: 281.9 kB / 0.7189 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.9318, allocations: 122 kB / 0.719 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.932, allocations: 100.5 kB / 0.7191 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.9321, allocations: 360.8 kB / 0.7195 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.9324, allocations: 144.6 kB / 0.7196 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.9328, allocations: 280.5 kB / 0.7199 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.9335, allocations: 438.5 kB / 0.7203 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9335, allocations: 1.469 kB / 0.7203 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009864/0.9345, allocations: 0.541 MB / 0.7208 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.9345, allocations: 8.016 kB / 0.7208 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.9345, allocations: 3.625 kB / 0.7208 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.936, allocations: 240.7 kB / 0.7211 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.9364, allocations: 105.4 kB / 0.7212 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003415/0.9368, allocations: 0.5945 MB / 0.7217 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.9371, allocations: 45.33 kB / 0.7218 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.9372, allocations: 45.95 kB / 0.7218 GB, free: 187.8 MB / 0.5606 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.0002275/0.9374, allocations: 189.3 kB / 0.722 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.9375, allocations: 54.67 kB / 0.7221 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.9395, allocations: 1.085 MB / 0.7231 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.9395, allocations: 3.594 kB / 0.7231 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9395, allocations: 0.7031 kB / 0.7231 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.9395, allocations: 5.656 kB / 0.7231 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.941, allocations: 1.004 MB / 0.7241 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.941, allocations: 1.469 kB / 0.7241 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.9412, allocations: 55.95 kB / 0.7242 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/0.9443, allocations: 434 kB / 0.7246 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.9443, allocations: 9.5 kB / 0.7246 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003269/0.9446, allocations: 0.605 MB / 0.7252 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9446, allocations: 3.656 kB / 0.7252 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.9455, allocations: 0.5045 MB / 0.7257 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.9456, allocations: 135.6 kB / 0.7258 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/0.9457, allocations: 16.81 kB / 0.7258 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.946, allocations: 16.17 kB / 0.7258 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.9461, allocations: 27.38 kB / 0.7259 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.9461, allocations: 15.72 kB / 0.7259 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005386/0.9467, allocations: 403.2 kB / 0.7263 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9467, allocations: 0 / 0.7263 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001444/0.9481, allocations: 335.8 kB / 0.7266 GB, free: 185.3 MB / 0.5606 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.001914/0.95, allocations: 1.396 MB / 0.7279 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009339/0.9509, allocations: 361.3 kB / 0.7283 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9509, allocations: 0 / 0.7283 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.9513, allocations: 154.2 kB / 0.7284 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.953, allocations: 361.4 kB / 0.7288 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/0.9605, allocations: 4.807 MB / 0.7335 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.9609, allocations: 0.8598 MB / 0.7343 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001249/0.9621, allocations: 0.553 MB / 0.7349 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.9625, allocations: 223.1 kB / 0.7351 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.422e-06/0.9625, allocations: 0 / 0.7351 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/1.014, allocations: 22.97 MB / 0.7575 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.5, allocations: 16 kB / 0.7575 GB, free: 160.6 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches