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.0009714/0.0009714, allocations: 99.39 kB / 16.99 MB, free: 6.402 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.001004/0.001004, allocations: 178 kB / 17.88 MB, free: 5.957 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.349/1.349, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1967/0.1967, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.000521, allocations: 9.094 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1472, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4513/0.5986, allocations: 147 MB / 0.604 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007439/0.6061, allocations: 4.183 MB / 0.608 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.6072, allocations: 23.81 kB / 0.6081 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.6085, allocations: 242.7 kB / 0.6083 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.6129, allocations: 1.143 MB / 0.6094 GB, free: 9.352 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.6156, allocations: 0.8313 MB / 0.6102 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.6175, allocations: 0.8986 MB / 0.6111 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008056/0.6183, allocations: 344.4 kB / 0.6114 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.6198, allocations: 0.4907 MB / 0.6119 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/0.6207, allocations: 338.7 kB / 0.6122 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.6209, allocations: 24 kB / 0.6123 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00409/0.625, allocations: 1.732 MB / 0.6139 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.6253, allocations: 127.5 kB / 0.6141 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003129/0.6256, allocations: 145.5 kB / 0.6142 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.6281, allocations: 1.14 MB / 0.6153 GB, free: 3.297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6281, allocations: 7.938 kB / 0.6153 GB, free: 3.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6281, allocations: 0 / 0.6153 GB, free: 3.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.6282, allocations: 4 kB / 0.6153 GB, free: 3.285 MB / 446.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.002211/0.6304, allocations: 0.9195 MB / 0.6162 GB, free: 2.316 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6304, allocations: 12.03 kB / 0.6162 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.6316, allocations: 143.2 kB / 0.6164 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007915/0.6324, allocations: 444.8 kB / 0.6168 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.6324, allocations: 32.95 kB / 0.6168 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.6325, allocations: 44 kB / 0.6169 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.6337, allocations: 0.5906 MB / 0.6175 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6337, allocations: 0 / 0.6175 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.6338, allocations: 20 kB / 0.6175 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.6338, allocations: 8 kB / 0.6175 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009646/0.6348, allocations: 483.6 kB / 0.6179 GB, free: 496 kB / 446.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.003218/0.638, allocations: 2.651 MB / 0.6205 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.6388, allocations: 349.7 kB / 0.6209 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.6392, allocations: 433.8 kB / 0.6213 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.6393, allocations: 38.84 kB / 0.6213 GB, free: 12.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/0.6393, allocations: 0 / 0.6213 GB, free: 12.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001747/0.641, allocations: 0.7199 MB / 0.622 GB, free: 11.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.6411, allocations: 136.5 kB / 0.6221 GB, free: 11.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.6417, allocations: 477.9 kB / 0.6226 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.6418, allocations: 37.64 kB / 0.6226 GB, free: 11.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.642, allocations: 271.8 kB / 0.6229 GB, free: 11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.6421, allocations: 122.3 kB / 0.623 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.6422, allocations: 8 kB / 0.623 GB, free: 10.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6423, allocations: 362.7 kB / 0.6234 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.6426, allocations: 148.8 kB / 0.6235 GB, free: 10.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.6431, allocations: 287.6 kB / 0.6238 GB, free: 10.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.6434, allocations: 189 kB / 0.624 GB, free: 9.844 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6435, allocations: 4 kB / 0.624 GB, free: 9.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001121/0.6446, allocations: 0.5446 MB / 0.6245 GB, free: 9.285 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.6446, allocations: 4 kB / 0.6245 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.6446, allocations: 4.625 kB / 0.6245 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/0.6463, allocations: 284.6 kB / 0.6248 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.6467, allocations: 111.9 kB / 0.6249 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004761/0.6472, allocations: 0.5875 MB / 0.6255 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.6477, allocations: 79.41 kB / 0.6255 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.6478, allocations: 44 kB / 0.6256 GB, free: 8.156 MB / 462.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.0003048/0.6481, allocations: 182.2 kB / 0.6258 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6482, allocations: 51.38 kB / 0.6258 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.6504, allocations: 1.109 MB / 0.6269 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6505, allocations: 8 kB / 0.6269 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6505, allocations: 0 / 0.6269 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6505, allocations: 0 / 0.6269 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.6522, allocations: 0.999 MB / 0.6279 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6522, allocations: 4 kB / 0.6279 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.6525, allocations: 51.91 kB / 0.6279 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003492/0.656, allocations: 0.5433 MB / 0.6285 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.656, allocations: 8 kB / 0.6285 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004709/0.6565, allocations: 0.603 MB / 0.629 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6565, allocations: 8.016 kB / 0.6291 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000897/0.6574, allocations: 0.563 MB / 0.6296 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.6577, allocations: 148.3 kB / 0.6297 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.6578, allocations: 8 kB / 0.6298 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.6583, allocations: 35.97 kB / 0.6298 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.6583, allocations: 27.91 kB / 0.6298 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.6584, allocations: 15.98 kB / 0.6298 GB, free: 3.574 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005692/0.659, allocations: 378.7 kB / 0.6302 GB, free: 3.207 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.659, allocations: 0 / 0.6302 GB, free: 3.207 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001182/0.6602, allocations: 335.6 kB / 0.6305 GB, free: 2.879 MB / 462.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 (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.001251/0.6614, allocations: 430.3 kB / 0.6309 GB, free: 2.453 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008997/0.6623, allocations: 376.5 kB / 0.6313 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6624, allocations: 0 / 0.6313 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.6627, allocations: 167.8 kB / 0.6314 GB, free: 1.922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.6642, allocations: 290.8 kB / 0.6317 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.6658, allocations: 1.074 MB / 0.6328 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.6663, allocations: 0.8633 MB / 0.6336 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001233/0.6675, allocations: 0.5539 MB / 0.6341 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.6678, allocations: 83.39 kB / 0.6342 GB, free: 15 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6678, allocations: 0 / 0.6342 GB, free: 15 MB / 478.1 MB Notification: Performance of Templates: time 0.0291/0.6969, allocations: 15.26 MB / 0.6491 GB, free: 15.87 MB / 494.1 MB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches