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.001143/0.001143, allocations: 114.5 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.00146/0.00146, allocations: 187.7 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.1974/0.1974, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 67.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3485, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.193/0.5416, allocations: 183 MB / 0.6972 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006668/0.5483, allocations: 3.611 MB / 0.7007 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006462/0.549, allocations: 23.88 kB / 0.7007 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.55, allocations: 325.8 kB / 0.701 GB, free: 432 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004099/0.5542, allocations: 1.719 MB / 0.7027 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.5559, allocations: 0.7124 MB / 0.7034 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.5575, allocations: 1.532 MB / 0.7049 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005307/0.5581, allocations: 427.5 kB / 0.7053 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007721/0.5589, allocations: 0.5916 MB / 0.7059 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.5594, allocations: 454.2 kB / 0.7063 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.52e-05/0.5595, allocations: 52 kB / 0.7064 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.5624, allocations: 1.895 MB / 0.7082 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.5626, allocations: 163.4 kB / 0.7084 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.563, allocations: 338.5 kB / 0.7087 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.5655, allocations: 1.811 MB / 0.7105 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5655, allocations: 0 / 0.7105 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5655, allocations: 7.938 kB / 0.7105 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.5655, allocations: 0 / 0.7105 GB, free: 6.727 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.001981/0.5675, allocations: 1.097 MB / 0.7116 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5675, allocations: 8.031 kB / 0.7116 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.5677, allocations: 82.53 kB / 0.7116 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009978/0.5687, allocations: 143.5 kB / 0.7118 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.5694, allocations: 488.8 kB / 0.7122 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.5695, allocations: 32.94 kB / 0.7123 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.5696, allocations: 51.92 kB / 0.7123 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.5706, allocations: 0.5867 MB / 0.7129 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.5707, allocations: 3.938 kB / 0.7129 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.5707, allocations: 20 kB / 0.7129 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.5708, allocations: 12 kB / 0.7129 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008955/0.5717, allocations: 467.6 kB / 0.7134 GB, free: 3.621 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.002985/0.5747, allocations: 2.644 MB / 0.716 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007732/0.5754, allocations: 339.6 kB / 0.7163 GB, free: 424 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.5758, allocations: 173.3 kB / 0.7165 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2754/0.8512, allocations: 432.7 kB / 0.7169 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.8513, allocations: 45.8 kB / 0.7169 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.246e-06/0.8513, allocations: 0.7188 kB / 0.7169 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002437/0.8538, allocations: 0.7124 MB / 0.7176 GB, free: 190.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.8539, allocations: 132.1 kB / 0.7177 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007865/0.8547, allocations: 466.6 kB / 0.7182 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.8547, allocations: 32.05 kB / 0.7182 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.855, allocations: 282.8 kB / 0.7185 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.8551, allocations: 122.9 kB / 0.7186 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.8553, allocations: 101.3 kB / 0.7187 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8554, allocations: 363.2 kB / 0.719 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.8557, allocations: 148.1 kB / 0.7192 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.8562, allocations: 281.6 kB / 0.7194 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.8569, allocations: 439.3 kB / 0.7199 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8569, allocations: 1.531 kB / 0.7199 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001218/0.8582, allocations: 0.5398 MB / 0.7204 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.8582, allocations: 7.344 kB / 0.7204 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.8582, allocations: 5.375 kB / 0.7204 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.8599, allocations: 239.2 kB / 0.7206 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.8603, allocations: 102.1 kB / 0.7207 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003827/0.8607, allocations: 0.595 MB / 0.7213 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.861, allocations: 49.75 kB / 0.7214 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.863e-05/0.8611, allocations: 46.03 kB / 0.7214 GB, free: 188.1 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.0002075/0.8613, allocations: 180.5 kB / 0.7216 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.8615, allocations: 54.98 kB / 0.7216 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.8633, allocations: 1.084 MB / 0.7227 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.8633, allocations: 8.062 kB / 0.7227 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8634, allocations: 0.7031 kB / 0.7227 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8634, allocations: 4.406 kB / 0.7227 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.8648, allocations: 1.014 MB / 0.7237 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.8648, allocations: 4.344 kB / 0.7237 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.865, allocations: 49.55 kB / 0.7237 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003088/0.8681, allocations: 435.2 kB / 0.7242 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.8682, allocations: 13.77 kB / 0.7242 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002984/0.8685, allocations: 0.6 MB / 0.7248 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8685, allocations: 5.312 kB / 0.7248 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.8692, allocations: 0.507 MB / 0.7253 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.8693, allocations: 143.9 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.303e-05/0.8694, allocations: 8.125 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.8697, allocations: 16.25 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.8698, allocations: 31.81 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.8699, allocations: 14.7 kB / 0.7255 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004202/0.8703, allocations: 402.8 kB / 0.7258 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.71e-07/0.8703, allocations: 0 / 0.7258 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009137/0.8712, allocations: 342.2 kB / 0.7262 GB, free: 185.7 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.001672/0.8729, allocations: 1.38 MB / 0.7275 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008546/0.8738, allocations: 382.4 kB / 0.7279 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8738, allocations: 4.844 kB / 0.7279 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.8741, allocations: 163 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.001561/0.8757, allocations: 365 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.005558/0.8812, allocations: 4.806 MB / 0.7331 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.8815, allocations: 0.8552 MB / 0.7339 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009833/0.8825, allocations: 0.5539 MB / 0.7345 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.8828, allocations: 230.9 kB / 0.7347 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.8828, allocations: 4 kB / 0.7347 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.9222, allocations: 22.92 MB / 0.7571 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.07, allocations: 4.062 kB / 0.7571 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