Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 97.2 kB / 17 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 197.9 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.634/1.634, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.18 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002777, allocations: 12 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 63.57 MB / 482.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4935/0.6271, allocations: 169.8 MB / 0.6369 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005974/0.6331, allocations: 3.501 MB / 0.6403 GB, free: 7.844 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.6338, allocations: 19.88 kB / 0.6403 GB, free: 7.824 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008403/0.6347, allocations: 250.3 kB / 0.6406 GB, free: 7.578 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:783:36-784:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:781:36-782:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004487/0.6392, allocations: 1.481 MB / 0.642 GB, free: 6.094 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.641, allocations: 0.5632 MB / 0.6426 GB, free: 5.539 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002164/0.6431, allocations: 1.738 MB / 0.6443 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006041/0.6438, allocations: 329.9 kB / 0.6446 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009307/0.6447, allocations: 0.5136 MB / 0.6451 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005322/0.6452, allocations: 438.3 kB / 0.6455 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.6453, allocations: 31.98 kB / 0.6455 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.6482, allocations: 1.719 MB / 0.6472 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.6484, allocations: 127.5 kB / 0.6473 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.6486, allocations: 145.4 kB / 0.6475 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.65, allocations: 1.175 MB / 0.6486 GB, free: 15.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6501, allocations: 0 / 0.6486 GB, free: 15.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6501, allocations: 0 / 0.6486 GB, free: 15.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.6501, allocations: 4 kB / 0.6486 GB, free: 15.32 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.001553/0.6517, allocations: 0.9429 MB / 0.6496 GB, free: 14.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.6517, allocations: 8.031 kB / 0.6496 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009456/0.6526, allocations: 139.2 kB / 0.6497 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.6533, allocations: 460.8 kB / 0.6501 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.6533, allocations: 29 kB / 0.6502 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.6534, allocations: 43.94 kB / 0.6502 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6545, allocations: 0.5867 MB / 0.6508 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.6545, allocations: 4 kB / 0.6508 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.6546, allocations: 24 kB / 0.6508 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.6546, allocations: 12 kB / 0.6508 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008676/0.6555, allocations: 479.5 kB / 0.6513 GB, free: 12.49 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.002835/0.6583, allocations: 2.659 MB / 0.6539 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.659, allocations: 346.3 kB / 0.6542 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.6594, allocations: 173.3 kB / 0.6544 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/0.6598, allocations: 445.8 kB / 0.6548 GB, free: 8.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.6598, allocations: 38.84 kB / 0.6548 GB, free: 8.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.6598, allocations: 0 / 0.6548 GB, free: 8.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001681/0.6615, allocations: 0.7265 MB / 0.6555 GB, free: 7.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.6616, allocations: 132.5 kB / 0.6557 GB, free: 7.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.6621, allocations: 477.9 kB / 0.6561 GB, free: 7.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.6622, allocations: 37.7 kB / 0.6562 GB, free: 7.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.6624, allocations: 271.8 kB / 0.6564 GB, free: 6.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.6625, allocations: 114.4 kB / 0.6565 GB, free: 6.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.6625, allocations: 8 kB / 0.6565 GB, free: 6.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6627, allocations: 362.8 kB / 0.6569 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.663, allocations: 144.8 kB / 0.657 GB, free: 6.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.6634, allocations: 283.7 kB / 0.6573 GB, free: 5.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.6638, allocations: 193 kB / 0.6575 GB, free: 5.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6638, allocations: 0 / 0.6575 GB, free: 5.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000985/0.6648, allocations: 0.5403 MB / 0.658 GB, free: 5.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6648, allocations: 11.98 kB / 0.658 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.6648, allocations: 3.125 kB / 0.658 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.6663, allocations: 289 kB / 0.6583 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.6667, allocations: 115.8 kB / 0.6584 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004556/0.6671, allocations: 0.5914 MB / 0.659 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.6675, allocations: 67.44 kB / 0.659 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/0.6676, allocations: 47.98 kB / 0.6591 GB, free: 3.984 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002528/0.6679, allocations: 185.8 kB / 0.6593 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.668, allocations: 55.39 kB / 0.6593 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.6699, allocations: 1.093 MB / 0.6604 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6699, allocations: 4 kB / 0.6604 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.67, allocations: 0 / 0.6604 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.67, allocations: 3.938 kB / 0.6604 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.6713, allocations: 1.012 MB / 0.6614 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6714, allocations: 0 / 0.6614 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.6716, allocations: 56.12 kB / 0.6614 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/0.6745, allocations: 0.5354 MB / 0.662 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.6746, allocations: 11.94 kB / 0.662 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004368/0.675, allocations: 0.603 MB / 0.6626 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.675, allocations: 12.08 kB / 0.6626 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.6758, allocations: 0.5042 MB / 0.6631 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.676, allocations: 156.3 kB / 0.6632 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.6761, allocations: 8 kB / 0.6632 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.6765, allocations: 43.86 kB / 0.6633 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.6766, allocations: 23.97 kB / 0.6633 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.6766, allocations: 12 kB / 0.6633 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004506/0.677, allocations: 374.8 kB / 0.6637 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6771, allocations: 0 / 0.6637 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009503/0.678, allocations: 335.6 kB / 0.664 GB, free: 14.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/0.679, allocations: 469.2 kB / 0.6644 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008367/0.6799, allocations: 389.1 kB / 0.6648 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6799, allocations: 0 / 0.6648 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.6802, allocations: 164.7 kB / 0.6649 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.6817, allocations: 286.3 kB / 0.6652 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.6831, allocations: 1.069 MB / 0.6663 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.6836, allocations: 0.8516 MB / 0.6671 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001216/0.6848, allocations: 0.543 MB / 0.6676 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.685, allocations: 87.39 kB / 0.6677 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.685, allocations: 0 / 0.6677 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.02526/0.7103, allocations: 15.43 MB / 0.6828 GB, free: 11.56 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches