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.001209/0.001209, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.0009724/0.0009724, allocations: 194 kB / 18.12 MB, free: 5.383 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.233/1.233, allocations: 222.9 MB / 241.8 MB, free: 15.52 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.1907/0.1907, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 63.27 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.0954, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3343/0.4298, allocations: 181 MB / 0.6344 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005016/0.4348, allocations: 3.755 MB / 0.6381 GB, free: 8.223 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005185/0.4354, allocations: 23.81 kB / 0.6381 GB, free: 8.199 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.4362, allocations: 274.5 kB / 0.6384 GB, free: 7.93 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.4393, allocations: 1.521 MB / 0.6399 GB, free: 6.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.4406, allocations: 0.6436 MB / 0.6405 GB, free: 5.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.4422, allocations: 2.016 MB / 0.6425 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.4426, allocations: 367.8 kB / 0.6428 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005635/0.4431, allocations: 0.5253 MB / 0.6433 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.4436, allocations: 474.1 kB / 0.6438 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.152e-05/0.4436, allocations: 28 kB / 0.6438 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.4458, allocations: 1.813 MB / 0.6456 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.446, allocations: 139.4 kB / 0.6457 GB, free: 424 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.4463, allocations: 334.4 kB / 0.646 GB, free: 88 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.448, allocations: 1.777 MB / 0.6478 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.448, allocations: 0 / 0.6478 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.448, allocations: 0 / 0.6478 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.4481, allocations: 0 / 0.6478 GB, free: 14.3 MB / 494.1 MB 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.001545/0.4496, allocations: 1.083 MB / 0.6488 GB, free: 13.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.4496, allocations: 8.031 kB / 0.6488 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.4498, allocations: 82.53 kB / 0.6489 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.4507, allocations: 139.2 kB / 0.6491 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.4512, allocations: 460.4 kB / 0.6495 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.4512, allocations: 29.88 kB / 0.6495 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.4513, allocations: 51.88 kB / 0.6496 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009655/0.4523, allocations: 0.5828 MB / 0.6501 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4523, allocations: 4 kB / 0.6501 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.4524, allocations: 20 kB / 0.6502 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4524, allocations: 12 kB / 0.6502 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.4532, allocations: 475.6 kB / 0.6506 GB, free: 11.25 MB / 494.1 MB 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.002424/0.4556, allocations: 2.635 MB / 0.6532 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006739/0.4563, allocations: 355.5 kB / 0.6535 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.4566, allocations: 165.3 kB / 0.6537 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/0.457, allocations: 441.7 kB / 0.6541 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.457, allocations: 38.84 kB / 0.6542 GB, free: 7.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.452e-06/0.457, allocations: 4 kB / 0.6542 GB, free: 7.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001619/0.4586, allocations: 0.7109 MB / 0.6549 GB, free: 6.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.4587, allocations: 136.5 kB / 0.655 GB, free: 6.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.4592, allocations: 465.9 kB / 0.6554 GB, free: 5.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.4592, allocations: 29.7 kB / 0.6555 GB, free: 5.895 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.4594, allocations: 275.8 kB / 0.6557 GB, free: 5.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.079e-05/0.4595, allocations: 118.2 kB / 0.6558 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.4597, allocations: 102.1 kB / 0.6559 GB, free: 5.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4598, allocations: 358.8 kB / 0.6563 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.4601, allocations: 149.3 kB / 0.6564 GB, free: 4.895 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.4605, allocations: 283.7 kB / 0.6567 GB, free: 4.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.4612, allocations: 433.6 kB / 0.6571 GB, free: 4.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4612, allocations: 0 / 0.6571 GB, free: 4.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009316/0.4621, allocations: 0.5376 MB / 0.6576 GB, free: 3.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4621, allocations: 15.94 kB / 0.6576 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4622, allocations: 4 kB / 0.6576 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.4636, allocations: 236.5 kB / 0.6579 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.464, allocations: 111.8 kB / 0.658 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003588/0.4643, allocations: 0.5836 MB / 0.6585 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.4647, allocations: 71.41 kB / 0.6586 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.4647, allocations: 44 kB / 0.6587 GB, free: 2.465 MB / 494.1 MB 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.0001926/0.4649, allocations: 177.7 kB / 0.6588 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.4651, allocations: 47.44 kB / 0.6589 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.4669, allocations: 1.083 MB / 0.6599 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4669, allocations: 11.98 kB / 0.6599 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4669, allocations: 0 / 0.6599 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4669, allocations: 3.984 kB / 0.6599 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4681, allocations: 1.011 MB / 0.6609 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4681, allocations: 7.938 kB / 0.6609 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.4684, allocations: 47.97 kB / 0.661 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003179/0.4715, allocations: 436.2 kB / 0.6614 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.4716, allocations: 15.94 kB / 0.6614 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003487/0.4719, allocations: 0.5992 MB / 0.662 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4719, allocations: 10.23 kB / 0.662 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.4726, allocations: 0.5037 MB / 0.6625 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.893e-05/0.4728, allocations: 140.3 kB / 0.6626 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.4729, allocations: 8.062 kB / 0.6626 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.4732, allocations: 31.97 kB / 0.6627 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.4733, allocations: 31.91 kB / 0.6627 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.4733, allocations: 16 kB / 0.6627 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004068/0.4737, allocations: 398.8 kB / 0.6631 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4737, allocations: 0 / 0.6631 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007238/0.4745, allocations: 331.6 kB / 0.6634 GB, free: 13.39 MB / 0.4981 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.001685/0.4761, allocations: 1.38 MB / 0.6648 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000712/0.4769, allocations: 380.4 kB / 0.6651 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4769, allocations: 0 / 0.6651 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.4772, allocations: 160.8 kB / 0.6653 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.4787, allocations: 357 kB / 0.6656 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005661/0.4844, allocations: 5.072 MB / 0.6706 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4847, allocations: 0.8596 MB / 0.6714 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001041/0.4858, allocations: 0.5537 MB / 0.672 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.4861, allocations: 219.3 kB / 0.6722 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4861, allocations: 0 / 0.6722 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.757/2.243, allocations: 22.02 MB / 0.6937 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/2.243, allocations: 296.8 kB / 0.6939 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/4.814, allocations: 0 / 0.6939 GB, free: 14.1 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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