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.001533/0.001533, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.00169/0.00169, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.36/1.36, allocations: 222.9 MB / 242.9 MB, free: 15.14 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.2006/0.2006, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.3 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1259, allocations: 60.83 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4731/0.599, allocations: 183 MB / 0.6376 GB, free: 9.648 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006006/0.6051, allocations: 3.634 MB / 0.6412 GB, free: 6.004 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.6058, allocations: 15.88 kB / 0.6412 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.6068, allocations: 317.9 kB / 0.6415 GB, free: 5.676 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.6111, allocations: 1.709 MB / 0.6432 GB, free: 3.965 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.6129, allocations: 0.7144 MB / 0.6439 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.6147, allocations: 1.52 MB / 0.6454 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005391/0.6152, allocations: 436.7 kB / 0.6458 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.616, allocations: 0.5761 MB / 0.6463 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.6165, allocations: 454.2 kB / 0.6468 GB, free: 284 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.6166, allocations: 48 kB / 0.6468 GB, free: 236 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.6195, allocations: 1.856 MB / 0.6486 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.6197, allocations: 155.4 kB / 0.6488 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.62, allocations: 338.5 kB / 0.6491 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.6224, allocations: 1.792 MB / 0.6509 GB, free: 12.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6224, allocations: 4 kB / 0.6509 GB, free: 12.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.6224, allocations: 4 kB / 0.6509 GB, free: 12.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.6224, allocations: 0 / 0.6509 GB, free: 12.08 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.001829/0.6243, allocations: 1.079 MB / 0.6519 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.6243, allocations: 8.031 kB / 0.6519 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009623/0.6253, allocations: 139.2 kB / 0.6521 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.6259, allocations: 464.4 kB / 0.6525 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.626, allocations: 37 kB / 0.6525 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.6261, allocations: 39.94 kB / 0.6526 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6272, allocations: 0.5906 MB / 0.6532 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.6272, allocations: 6.438 kB / 0.6532 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.6273, allocations: 20 kB / 0.6532 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6273, allocations: 8 kB / 0.6532 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.6282, allocations: 471.6 kB / 0.6536 GB, free: 9.121 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.003061/0.6313, allocations: 2.67 MB / 0.6562 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.632, allocations: 343.5 kB / 0.6566 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.6323, allocations: 165.3 kB / 0.6567 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00049/0.6328, allocations: 441.8 kB / 0.6571 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.6329, allocations: 38.84 kB / 0.6572 GB, free: 5.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.6329, allocations: 0 / 0.6572 GB, free: 5.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001703/0.6346, allocations: 0.7186 MB / 0.6579 GB, free: 4.406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.6347, allocations: 132.5 kB / 0.658 GB, free: 4.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.6352, allocations: 466 kB / 0.6585 GB, free: 3.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.6352, allocations: 33.7 kB / 0.6585 GB, free: 3.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.6354, allocations: 275.7 kB / 0.6588 GB, free: 3.469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.085e-05/0.6355, allocations: 114.4 kB / 0.6589 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.6357, allocations: 102 kB / 0.659 GB, free: 3.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6358, allocations: 362.8 kB / 0.6593 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.6361, allocations: 148.8 kB / 0.6594 GB, free: 2.742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.6365, allocations: 275.7 kB / 0.6597 GB, free: 2.418 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/0.6372, allocations: 437.6 kB / 0.6601 GB, free: 1.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6372, allocations: 0 / 0.6601 GB, free: 1.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009762/0.6382, allocations: 0.5444 MB / 0.6607 GB, free: 1.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6383, allocations: 7.938 kB / 0.6607 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6383, allocations: 4 kB / 0.6607 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.6398, allocations: 236.8 kB / 0.6609 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.6402, allocations: 99.89 kB / 0.661 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004361/0.6406, allocations: 0.5913 MB / 0.6616 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.641, allocations: 47.52 kB / 0.6616 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.641, allocations: 47.98 kB / 0.6617 GB, free: 344 kB / 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.0002556/0.6413, allocations: 189.6 kB / 0.6618 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.6414, allocations: 55.34 kB / 0.6619 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.6434, allocations: 1.083 MB / 0.663 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6434, allocations: 4 kB / 0.663 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6434, allocations: 0 / 0.663 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6434, allocations: 4 kB / 0.663 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.6448, allocations: 1.005 MB / 0.6639 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6449, allocations: 160 / 0.6639 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.6451, allocations: 55.91 kB / 0.664 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003115/0.6482, allocations: 432.2 kB / 0.6644 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.6482, allocations: 19.98 kB / 0.6644 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004004/0.6486, allocations: 0.5992 MB / 0.665 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6487, allocations: 4.062 kB / 0.665 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.6494, allocations: 0.5114 MB / 0.6655 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.6496, allocations: 128.5 kB / 0.6656 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/0.6497, allocations: 15.84 kB / 0.6657 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.65, allocations: 15.98 kB / 0.6657 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.6501, allocations: 23.97 kB / 0.6657 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.6501, allocations: 23.92 kB / 0.6657 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004909/0.6506, allocations: 398.8 kB / 0.6661 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6506, allocations: 4 kB / 0.6661 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001116/0.6517, allocations: 327.7 kB / 0.6664 GB, free: 11.28 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.001116/0.6529, allocations: 436.5 kB / 0.6668 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008632/0.6537, allocations: 388.9 kB / 0.6672 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6538, allocations: 4 kB / 0.6672 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.6541, allocations: 172 kB / 0.6674 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.6558, allocations: 371.8 kB / 0.6677 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.6571, allocations: 0.9214 MB / 0.6686 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6575, allocations: 0.8557 MB / 0.6695 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005245/0.658, allocations: 127.3 kB / 0.6696 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.658, allocations: 0 / 0.6696 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.02082/0.6788, allocations: 15.11 MB / 0.6843 GB, free: 8.914 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