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.001037/0.001037, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001032/0.001032, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.307/1.307, allocations: 222.9 MB / 243 MB, free: 15.08 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.1961/0.1961, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.02 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1047, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4051/0.5098, allocations: 183 MB / 0.6384 GB, free: 9.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006051/0.5159, allocations: 3.623 MB / 0.6419 GB, free: 5.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.5165, allocations: 15.88 kB / 0.642 GB, free: 5.508 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008708/0.5174, allocations: 317.9 kB / 0.6423 GB, free: 5.195 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.5213, allocations: 1.709 MB / 0.6439 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.5231, allocations: 0.7117 MB / 0.6446 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.5249, allocations: 1.524 MB / 0.6461 GB, free: 1.246 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005594/0.5255, allocations: 432 kB / 0.6465 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008148/0.5263, allocations: 0.5799 MB / 0.6471 GB, free: 248 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.5269, allocations: 458.1 kB / 0.6475 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/0.5269, allocations: 48 kB / 0.6476 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003413/0.5304, allocations: 1.895 MB / 0.6494 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.5306, allocations: 155.5 kB / 0.6496 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.531, allocations: 338.5 kB / 0.6499 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.5336, allocations: 1.808 MB / 0.6517 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.5337, allocations: 7.938 kB / 0.6517 GB, free: 11.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5337, allocations: 0 / 0.6517 GB, free: 11.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.5337, allocations: 0 / 0.6517 GB, free: 11.54 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.001889/0.5356, allocations: 1.072 MB / 0.6527 GB, free: 10.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5356, allocations: 12.03 kB / 0.6527 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.5367, allocations: 139.2 kB / 0.6529 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008582/0.5375, allocations: 484.4 kB / 0.6533 GB, free: 9.758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.5376, allocations: 29 kB / 0.6534 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.5376, allocations: 47.94 kB / 0.6534 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.5387, allocations: 0.5828 MB / 0.654 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5388, allocations: 0 / 0.654 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.5388, allocations: 24 kB / 0.654 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5389, allocations: 12 kB / 0.654 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009367/0.5398, allocations: 471.6 kB / 0.6545 GB, free: 8.566 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.003443/0.5433, allocations: 2.649 MB / 0.657 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.544, allocations: 339.5 kB / 0.6574 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.5443, allocations: 173.3 kB / 0.6575 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/0.5447, allocations: 433.8 kB / 0.6579 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.5447, allocations: 46.78 kB / 0.658 GB, free: 4.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.5448, allocations: 0 / 0.658 GB, free: 4.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.00169/0.5464, allocations: 0.7108 MB / 0.6587 GB, free: 3.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.5465, allocations: 132.5 kB / 0.6588 GB, free: 3.719 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.547, allocations: 470 kB / 0.6593 GB, free: 3.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.5471, allocations: 29.7 kB / 0.6593 GB, free: 3.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.5473, allocations: 279.7 kB / 0.6596 GB, free: 2.938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5474, allocations: 114.4 kB / 0.6597 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.5476, allocations: 102 kB / 0.6598 GB, free: 2.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5477, allocations: 358.8 kB / 0.6601 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.5481, allocations: 156.7 kB / 0.6603 GB, free: 2.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.5485, allocations: 275.7 kB / 0.6605 GB, free: 1.883 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/0.5492, allocations: 433.6 kB / 0.6609 GB, free: 1.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5493, allocations: 0 / 0.6609 GB, free: 1.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001045/0.5503, allocations: 0.5367 MB / 0.6615 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5503, allocations: 11.92 kB / 0.6615 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5504, allocations: 4 kB / 0.6615 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.5519, allocations: 236.7 kB / 0.6617 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.5523, allocations: 103.9 kB / 0.6618 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004549/0.5528, allocations: 0.5914 MB / 0.6624 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.5531, allocations: 51.56 kB / 0.6624 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/0.5532, allocations: 51.97 kB / 0.6625 GB, free: 15.8 MB / 0.4981 GB 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.0002671/0.5535, allocations: 181.6 kB / 0.6626 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.5537, allocations: 59.84 kB / 0.6627 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.5556, allocations: 1.075 MB / 0.6637 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5556, allocations: 7.984 kB / 0.6638 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5556, allocations: 0 / 0.6638 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5556, allocations: 0 / 0.6638 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.557, allocations: 1.008 MB / 0.6647 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.557, allocations: 4 kB / 0.6647 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.5572, allocations: 55.91 kB / 0.6648 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003079/0.5603, allocations: 432.3 kB / 0.6652 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.5604, allocations: 11.98 kB / 0.6652 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004148/0.5608, allocations: 0.6001 MB / 0.6658 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5608, allocations: 4.031 kB / 0.6658 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.5616, allocations: 0.5076 MB / 0.6663 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.5617, allocations: 128.5 kB / 0.6664 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.5618, allocations: 19.84 kB / 0.6664 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.5622, allocations: 19.98 kB / 0.6665 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.5623, allocations: 27.91 kB / 0.6665 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.5623, allocations: 23.92 kB / 0.6665 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004673/0.5628, allocations: 394.8 kB / 0.6669 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5628, allocations: 4 kB / 0.6669 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009313/0.5637, allocations: 323.7 kB / 0.6672 GB, free: 10.75 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.0009594/0.5647, allocations: 447.4 kB / 0.6676 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008425/0.5655, allocations: 380.3 kB / 0.668 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5656, allocations: 0 / 0.668 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.5659, allocations: 168 kB / 0.6682 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.5675, allocations: 367.8 kB / 0.6685 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.5689, allocations: 0.8808 MB / 0.6694 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.5694, allocations: 0.8557 MB / 0.6702 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009625/0.5703, allocations: 0.5533 MB / 0.6707 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.5706, allocations: 95.38 kB / 0.6708 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.5706, allocations: 0 / 0.6708 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.02791/0.5985, allocations: 17.37 MB / 0.6878 GB, free: 5.75 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 -s gbode -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