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.00128/0.00128, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.001269/0.00127, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.427/1.427, 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.2171/0.2171, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.203/0.5366, allocations: 183 MB / 0.6972 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006071/0.5427, allocations: 3.619 MB / 0.7007 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.5434, allocations: 15.88 kB / 0.7007 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009413/0.5443, allocations: 317.9 kB / 0.701 GB, free: 468 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.5485, allocations: 1.707 MB / 0.7027 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.5503, allocations: 0.7047 MB / 0.7034 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001904/0.5522, allocations: 1.536 MB / 0.7049 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006094/0.5528, allocations: 431.5 kB / 0.7053 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008577/0.5537, allocations: 0.5683 MB / 0.7059 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.5543, allocations: 462.1 kB / 0.7063 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.646e-05/0.5544, allocations: 52 kB / 0.7064 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.5577, allocations: 1.895 MB / 0.7082 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.5579, allocations: 159.4 kB / 0.7084 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.5583, allocations: 338.5 kB / 0.7087 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.5612, allocations: 1.811 MB / 0.7104 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.5613, allocations: 3.984 kB / 0.7104 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5613, allocations: 0 / 0.7104 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.5613, allocations: 0 / 0.7104 GB, free: 6.797 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.001897/0.5632, allocations: 1.101 MB / 0.7115 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5632, allocations: 12.03 kB / 0.7115 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.5634, allocations: 78.52 kB / 0.7116 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/0.5643, allocations: 139.5 kB / 0.7117 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007691/0.5651, allocations: 496.7 kB / 0.7122 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.5652, allocations: 32.94 kB / 0.7122 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.5652, allocations: 40 kB / 0.7123 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.5664, allocations: 0.5867 MB / 0.7129 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5664, allocations: 3.938 kB / 0.7129 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.5664, allocations: 20 kB / 0.7129 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.5665, allocations: 8 kB / 0.7129 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.5674, allocations: 487.5 kB / 0.7134 GB, free: 3.68 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.003019/0.5704, allocations: 2.636 MB / 0.7159 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.5712, allocations: 335.5 kB / 0.7162 GB, free: 496 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.5715, allocations: 173.3 kB / 0.7164 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2439/0.8154, allocations: 432.5 kB / 0.7168 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.8155, allocations: 41.28 kB / 0.7169 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/0.8155, allocations: 0.5 kB / 0.7169 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002153/0.8177, allocations: 0.7116 MB / 0.7176 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.8177, allocations: 133.5 kB / 0.7177 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.8184, allocations: 473.2 kB / 0.7181 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.8184, allocations: 31.73 kB / 0.7182 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.8186, allocations: 283.7 kB / 0.7184 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.8187, allocations: 124.1 kB / 0.7186 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.8188, allocations: 100.7 kB / 0.7187 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.8189, allocations: 358.1 kB / 0.719 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.8192, allocations: 149 kB / 0.7191 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.8196, allocations: 279 kB / 0.7194 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.8203, allocations: 442.6 kB / 0.7198 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8203, allocations: 1.125 kB / 0.7198 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001002/0.8213, allocations: 0.5437 MB / 0.7204 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.8214, allocations: 9.984 kB / 0.7204 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8214, allocations: 3.531 kB / 0.7204 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.8229, allocations: 234.6 kB / 0.7206 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.8233, allocations: 105 kB / 0.7207 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003402/0.8236, allocations: 0.5923 MB / 0.7213 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.824, allocations: 53.14 kB / 0.7213 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/0.8241, allocations: 45.7 kB / 0.7214 GB, free: 188 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.0002646/0.8244, allocations: 184.4 kB / 0.7215 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.8245, allocations: 58.95 kB / 0.7216 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.8264, allocations: 1.087 MB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.8265, allocations: 6.469 kB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8265, allocations: 1.062 kB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.8265, allocations: 2.016 kB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.8279, allocations: 1.004 MB / 0.7237 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.8279, allocations: 3.016 kB / 0.7237 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.8281, allocations: 59.31 kB / 0.7237 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/0.8312, allocations: 430.2 kB / 0.7241 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.8313, allocations: 10.2 kB / 0.7241 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003512/0.8317, allocations: 0.6065 MB / 0.7247 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8317, allocations: 5.875 kB / 0.7247 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.8325, allocations: 0.5029 MB / 0.7252 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.8327, allocations: 139.9 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.922e-05/0.8328, allocations: 15.08 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.8331, allocations: 16.23 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.8332, allocations: 30.78 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.8333, allocations: 23 kB / 0.7254 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005456/0.8338, allocations: 395.7 kB / 0.7258 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8338, allocations: 0 / 0.7258 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000934/0.8348, allocations: 333.2 kB / 0.7261 GB, free: 185.6 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.001786/0.8366, allocations: 1.397 MB / 0.7275 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008672/0.8374, allocations: 378.9 kB / 0.7279 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8375, allocations: 1.156 kB / 0.7279 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.8378, allocations: 164.5 kB / 0.728 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.8395, allocations: 364.4 kB / 0.7284 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006112/0.8456, allocations: 4.814 MB / 0.7331 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.846, allocations: 0.8555 MB / 0.7339 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001242/0.8472, allocations: 0.5505 MB / 0.7344 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/0.8477, allocations: 223.1 kB / 0.7346 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/0.8477, allocations: 0 / 0.7346 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.8928, allocations: 22.93 MB / 0.757 GB, free: 161 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.67, allocations: 9.719 kB / 0.757 GB, free: 160.9 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