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.001378/0.001378, allocations: 114.2 kB / 17.99 MB, free: 5.371 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.001313/0.001314, allocations: 189.4 kB / 18.9 MB, free: 4.453 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.318/1.318, allocations: 222.9 MB / 242.6 MB, free: 15.37 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.2107/0.2107, allocations: 44.18 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 71.91 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 60.81 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3981/0.5117, allocations: 181 MB / 0.6351 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006336/0.518, allocations: 3.699 MB / 0.6388 GB, free: 8.262 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.5191, allocations: 19.88 kB / 0.6388 GB, free: 8.242 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.5204, allocations: 278.5 kB / 0.639 GB, free: 7.969 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004433/0.5248, allocations: 1.564 MB / 0.6406 GB, free: 6.406 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.5267, allocations: 0.6736 MB / 0.6412 GB, free: 5.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.5287, allocations: 1.524 MB / 0.6427 GB, free: 4.203 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007714/0.5295, allocations: 416 kB / 0.6431 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.5305, allocations: 0.5877 MB / 0.6437 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007638/0.5313, allocations: 482.1 kB / 0.6441 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.5315, allocations: 52 kB / 0.6442 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.5346, allocations: 1.864 MB / 0.646 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.5348, allocations: 159.5 kB / 0.6462 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.5353, allocations: 346.5 kB / 0.6465 GB, free: 328 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.537, allocations: 1.201 MB / 0.6477 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.537, allocations: 0 / 0.6477 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.537, allocations: 0 / 0.6477 GB, free: 15.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.5371, allocations: 0 / 0.6477 GB, free: 15.12 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.002131/0.5392, allocations: 1.075 MB / 0.6487 GB, free: 13.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5393, allocations: 12.02 kB / 0.6487 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.5403, allocations: 143.2 kB / 0.6489 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.541, allocations: 460.5 kB / 0.6493 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.541, allocations: 29 kB / 0.6493 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.5411, allocations: 43.88 kB / 0.6494 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.5422, allocations: 0.5945 MB / 0.65 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.5423, allocations: 3.938 kB / 0.65 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.5424, allocations: 24 kB / 0.65 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.5424, allocations: 8 kB / 0.65 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009187/0.5433, allocations: 471.6 kB / 0.6504 GB, free: 12.15 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.003067/0.5464, allocations: 2.647 MB / 0.653 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.5471, allocations: 335.5 kB / 0.6533 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.5474, allocations: 173.3 kB / 0.6535 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004336/0.5479, allocations: 441.8 kB / 0.6539 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.5479, allocations: 38.84 kB / 0.654 GB, free: 8.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.5479, allocations: 0 / 0.654 GB, free: 8.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0018/0.5497, allocations: 0.7186 MB / 0.6547 GB, free: 7.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.5498, allocations: 136.5 kB / 0.6548 GB, free: 7.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.5504, allocations: 462 kB / 0.6552 GB, free: 6.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.149e-05/0.5504, allocations: 37.69 kB / 0.6553 GB, free: 6.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.5506, allocations: 271.8 kB / 0.6555 GB, free: 6.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.5508, allocations: 118.3 kB / 0.6557 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.5509, allocations: 98.11 kB / 0.6557 GB, free: 6.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.5512, allocations: 358.8 kB / 0.6561 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.5515, allocations: 152.8 kB / 0.6562 GB, free: 5.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.552, allocations: 279.7 kB / 0.6565 GB, free: 5.465 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.5527, allocations: 433.6 kB / 0.6569 GB, free: 4.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.5527, allocations: 3.688 kB / 0.6569 GB, free: 4.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00103/0.5537, allocations: 0.5405 MB / 0.6574 GB, free: 4.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5537, allocations: 7.938 kB / 0.6575 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.5538, allocations: 4 kB / 0.6575 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.5553, allocations: 236.8 kB / 0.6577 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.5557, allocations: 107.8 kB / 0.6578 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000448/0.5562, allocations: 0.5876 MB / 0.6584 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.5566, allocations: 67.41 kB / 0.6584 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.5567, allocations: 44 kB / 0.6585 GB, free: 3.371 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.0002819/0.557, allocations: 193.6 kB / 0.6586 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.5571, allocations: 51.44 kB / 0.6587 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.5591, allocations: 1.079 MB / 0.6598 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.5591, allocations: 4 kB / 0.6598 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5592, allocations: 0 / 0.6598 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5592, allocations: 3.984 kB / 0.6598 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.5607, allocations: 1.018 MB / 0.6608 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.5607, allocations: 0 / 0.6608 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.5609, allocations: 55.91 kB / 0.6608 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003284/0.5642, allocations: 440.3 kB / 0.6612 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.5642, allocations: 12 kB / 0.6612 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004667/0.5647, allocations: 0.603 MB / 0.6618 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5647, allocations: 1.094 kB / 0.6618 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.5655, allocations: 0.5077 MB / 0.6623 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.5657, allocations: 132.4 kB / 0.6625 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.5658, allocations: 11.94 kB / 0.6625 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.5662, allocations: 35.97 kB / 0.6625 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.5663, allocations: 23.97 kB / 0.6625 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.5664, allocations: 15.94 kB / 0.6625 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004949/0.5669, allocations: 402.8 kB / 0.6629 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5669, allocations: 0 / 0.6629 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009623/0.5678, allocations: 327.7 kB / 0.6632 GB, free: 14.3 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.001199/0.569, allocations: 447.6 kB / 0.6637 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009377/0.57, allocations: 384.4 kB / 0.664 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/0.57, allocations: 7.906 kB / 0.664 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.5704, allocations: 167.8 kB / 0.6642 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.5721, allocations: 368.2 kB / 0.6645 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.5738, allocations: 1.086 MB / 0.6656 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.5744, allocations: 0.8557 MB / 0.6664 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/0.5748, allocations: 115.4 kB / 0.6665 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.5748, allocations: 0 / 0.6665 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.02147/0.5963, allocations: 15.13 MB / 0.6813 GB, free: 11.77 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