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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.001394/0.001394, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.336/1.336, allocations: 223.3 MB / 243 MB, free: 14.38 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.1932/0.1932, allocations: 44.24 MB / 338.3 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003767, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4201/0.5442, allocations: 178.6 MB / 0.6363 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006498/0.5508, allocations: 3.716 MB / 0.6399 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.5516, allocations: 15.88 kB / 0.6399 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.5527, allocations: 266.5 kB / 0.6402 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004588/0.5573, allocations: 1.527 MB / 0.6417 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.5592, allocations: 0.6438 MB / 0.6423 GB, free: 9.812 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.5618, allocations: 2.016 MB / 0.6443 GB, free: 7.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007306/0.5625, allocations: 364.5 kB / 0.6446 GB, free: 7.43 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.5636, allocations: 0.5135 MB / 0.6451 GB, free: 6.914 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/0.5644, allocations: 466.1 kB / 0.6456 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.5646, allocations: 28 kB / 0.6456 GB, free: 6.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.5679, allocations: 1.802 MB / 0.6474 GB, free: 4.625 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.5682, allocations: 147.4 kB / 0.6475 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005556/0.5688, allocations: 344.2 kB / 0.6478 GB, free: 4.137 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.5706, allocations: 1.177 MB / 0.649 GB, free: 2.957 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5706, allocations: 4 kB / 0.649 GB, free: 2.953 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5706, allocations: 0 / 0.649 GB, free: 2.953 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.5706, allocations: 0 / 0.649 GB, free: 2.953 MB / 478.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.002002/0.5726, allocations: 0.9311 MB / 0.6499 GB, free: 1.973 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5727, allocations: 8.031 kB / 0.6499 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.5738, allocations: 143.2 kB / 0.65 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007405/0.5745, allocations: 468.5 kB / 0.6505 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.5746, allocations: 29 kB / 0.6505 GB, free: 1.297 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.5747, allocations: 43.94 kB / 0.6505 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5758, allocations: 0.5906 MB / 0.6511 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5759, allocations: 4 kB / 0.6511 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.5759, allocations: 20 kB / 0.6511 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.576, allocations: 12 kB / 0.6512 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.577, allocations: 491.1 kB / 0.6516 GB, free: 116 kB / 478.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.003079/0.5801, allocations: 2.663 MB / 0.6542 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/0.5808, allocations: 345.2 kB / 0.6546 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.5812, allocations: 173.3 kB / 0.6547 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004231/0.5816, allocations: 441.8 kB / 0.6551 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.5817, allocations: 38.84 kB / 0.6552 GB, free: 12.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.5817, allocations: 0 / 0.6552 GB, free: 12.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001726/0.5834, allocations: 0.7266 MB / 0.6559 GB, free: 11.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.5835, allocations: 132.5 kB / 0.656 GB, free: 11.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005944/0.5841, allocations: 481.8 kB / 0.6565 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.5842, allocations: 33.7 kB / 0.6565 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.5844, allocations: 271.9 kB / 0.6568 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.5845, allocations: 126.2 kB / 0.6569 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.5846, allocations: 37.7 kB / 0.6569 GB, free: 10.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5847, allocations: 358.7 kB / 0.6573 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.5851, allocations: 156.8 kB / 0.6574 GB, free: 9.762 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.5855, allocations: 279.7 kB / 0.6577 GB, free: 9.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.5862, allocations: 449.6 kB / 0.6581 GB, free: 8.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5862, allocations: 4 kB / 0.6581 GB, free: 8.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001016/0.5873, allocations: 0.5442 MB / 0.6586 GB, free: 8.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.5873, allocations: 15.92 kB / 0.6587 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5873, allocations: 4 kB / 0.6587 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.5889, allocations: 285 kB / 0.6589 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.5893, allocations: 107.9 kB / 0.659 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004403/0.5898, allocations: 0.5874 MB / 0.6596 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.5902, allocations: 71.56 kB / 0.6597 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.5903, allocations: 43.98 kB / 0.6597 GB, free: 7.258 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.0002754/0.5906, allocations: 177.7 kB / 0.6599 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5907, allocations: 59.34 kB / 0.6599 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.5928, allocations: 1.103 MB / 0.661 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.5928, allocations: 7.984 kB / 0.661 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5928, allocations: 0 / 0.661 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.5929, allocations: 0 / 0.661 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.5944, allocations: 1.018 MB / 0.662 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5944, allocations: 0 / 0.662 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.5946, allocations: 64 kB / 0.6621 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003536/0.5982, allocations: 0.5431 MB / 0.6626 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.5982, allocations: 8 kB / 0.6626 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004071/0.5986, allocations: 0.5954 MB / 0.6632 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5986, allocations: 7.969 kB / 0.6632 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/0.5995, allocations: 0.5154 MB / 0.6637 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.5997, allocations: 160.3 kB / 0.6639 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.5998, allocations: 8 kB / 0.6639 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.6002, allocations: 35.97 kB / 0.6639 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.6003, allocations: 35.78 kB / 0.6639 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.6003, allocations: 19.98 kB / 0.664 GB, free: 2.711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005276/0.6009, allocations: 410.8 kB / 0.6644 GB, free: 2.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6009, allocations: 0 / 0.6644 GB, free: 2.312 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009982/0.6019, allocations: 327.6 kB / 0.6647 GB, free: 1.992 MB / 494.1 MB 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.001182/0.6031, allocations: 418.6 kB / 0.6651 GB, free: 1.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.6041, allocations: 384.9 kB / 0.6654 GB, free: 1.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.6041, allocations: 0 / 0.6654 GB, free: 1.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.6045, allocations: 175.8 kB / 0.6656 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.6065, allocations: 352.4 kB / 0.6659 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.6082, allocations: 1.123 MB / 0.667 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.6086, allocations: 0.8557 MB / 0.6679 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.609, allocations: 123.3 kB / 0.668 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.609, allocations: 0 / 0.668 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.02236/0.6314, allocations: 15.06 MB / 0.6827 GB, free: 15.52 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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