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.0009725/0.0009724, allocations: 92.55 kB / 17.35 MB, free: 6.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.001216/0.001216, allocations: 176.7 kB / 18.25 MB, free: 5.523 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.474/1.474, allocations: 223.3 MB / 242.3 MB, free: 14.5 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.2078/0.2078, allocations: 44.24 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003144, allocations: 8 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4018/0.5209, allocations: 178.6 MB / 0.6356 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006225/0.5272, allocations: 3.713 MB / 0.6393 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.5278, allocations: 19.88 kB / 0.6393 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009058/0.5287, allocations: 266.5 kB / 0.6395 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.533, allocations: 1.532 MB / 0.641 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.5351, allocations: 0.6415 MB / 0.6417 GB, free: 9.797 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.5379, allocations: 2.012 MB / 0.6436 GB, free: 7.773 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005709/0.5385, allocations: 363.8 kB / 0.644 GB, free: 7.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.5396, allocations: 0.5175 MB / 0.6445 GB, free: 6.898 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006416/0.5402, allocations: 466.1 kB / 0.6449 GB, free: 6.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.132e-05/0.5403, allocations: 28 kB / 0.6449 GB, free: 6.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.5443, allocations: 1.805 MB / 0.6467 GB, free: 4.605 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.5446, allocations: 143.4 kB / 0.6468 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.545, allocations: 344.2 kB / 0.6472 GB, free: 4.121 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.548, allocations: 1.765 MB / 0.6489 GB, free: 2.352 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.5481, allocations: 7.984 kB / 0.6489 GB, free: 2.344 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5481, allocations: 3.938 kB / 0.6489 GB, free: 2.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.5481, allocations: 0 / 0.6489 GB, free: 2.34 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.002053/0.5502, allocations: 0.935 MB / 0.6498 GB, free: 1.355 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5502, allocations: 8.031 kB / 0.6498 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.5512, allocations: 139.2 kB / 0.65 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.5519, allocations: 464.5 kB / 0.6504 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.552, allocations: 33 kB / 0.6504 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.552, allocations: 39.94 kB / 0.6505 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.5531, allocations: 0.5945 MB / 0.6511 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5532, allocations: 0 / 0.6511 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.5533, allocations: 24.08 kB / 0.6511 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5533, allocations: 8 kB / 0.6511 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009253/0.5542, allocations: 487.6 kB / 0.6515 GB, free: 15.5 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.003123/0.5573, allocations: 2.659 MB / 0.6541 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.5581, allocations: 350 kB / 0.6545 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.5585, allocations: 177.3 kB / 0.6546 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004594/0.5589, allocations: 429.8 kB / 0.6551 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.559, allocations: 50.28 kB / 0.6551 GB, free: 11.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.845e-06/0.559, allocations: 0 / 0.6551 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001786/0.5608, allocations: 0.7266 MB / 0.6558 GB, free: 10.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.5609, allocations: 132.5 kB / 0.6559 GB, free: 10.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.5614, allocations: 481.9 kB / 0.6564 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.5615, allocations: 33.7 kB / 0.6564 GB, free: 10.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.5617, allocations: 271.9 kB / 0.6567 GB, free: 9.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.5618, allocations: 126.2 kB / 0.6568 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.5619, allocations: 33.7 kB / 0.6568 GB, free: 9.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.562, allocations: 358.8 kB / 0.6572 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.5623, allocations: 160.7 kB / 0.6573 GB, free: 9.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.5627, allocations: 283.7 kB / 0.6576 GB, free: 8.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.5634, allocations: 449.6 kB / 0.658 GB, free: 8.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5634, allocations: 0 / 0.658 GB, free: 8.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000992/0.5644, allocations: 0.5443 MB / 0.6586 GB, free: 7.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.5645, allocations: 11.94 kB / 0.6586 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.5645, allocations: 4 kB / 0.6586 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.5661, allocations: 292.9 kB / 0.6589 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.5665, allocations: 103.9 kB / 0.659 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004491/0.5669, allocations: 0.5952 MB / 0.6595 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.5673, allocations: 59.58 kB / 0.6596 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.5674, allocations: 47.98 kB / 0.6597 GB, free: 6.648 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.0002646/0.5677, allocations: 177.7 kB / 0.6598 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.5678, allocations: 59.34 kB / 0.6599 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.5699, allocations: 1.108 MB / 0.661 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.5699, allocations: 4 kB / 0.661 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5699, allocations: 0 / 0.661 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5699, allocations: 0 / 0.661 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.5714, allocations: 1.026 MB / 0.662 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5714, allocations: 4 kB / 0.662 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.5717, allocations: 60.06 kB / 0.662 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00341/0.5751, allocations: 0.5314 MB / 0.6625 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.5751, allocations: 15.98 kB / 0.6626 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004638/0.5756, allocations: 0.5915 MB / 0.6631 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5756, allocations: 0 / 0.6631 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.5765, allocations: 0.5232 MB / 0.6636 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.5767, allocations: 156.3 kB / 0.6638 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5768, allocations: 11.98 kB / 0.6638 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.5773, allocations: 39.97 kB / 0.6638 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.5774, allocations: 27.84 kB / 0.6639 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.5774, allocations: 16.06 kB / 0.6639 GB, free: 2.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005396/0.5779, allocations: 406.8 kB / 0.6643 GB, free: 1.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.578, allocations: 0 / 0.6643 GB, free: 1.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009991/0.579, allocations: 331.6 kB / 0.6646 GB, free: 1.391 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.001133/0.5801, allocations: 434.5 kB / 0.665 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009065/0.581, allocations: 388.9 kB / 0.6654 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.581, allocations: 0 / 0.6654 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.5814, allocations: 167.8 kB / 0.6655 GB, free: 432 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.5834, allocations: 346.7 kB / 0.6659 GB, free: 88 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.5851, allocations: 1.101 MB / 0.6669 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.5856, allocations: 0.8557 MB / 0.6678 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001283/0.5869, allocations: 0.5542 MB / 0.6683 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.5871, allocations: 91.39 kB / 0.6684 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.5872, allocations: 0 / 0.6684 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.03146/0.6186, allocations: 16.74 MB / 0.6848 GB, free: 12.82 MB / 0.5138 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/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