Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.000969/0.0009692, allocations: 99.75 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 182.5 kB / 16.92 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3872/0.3872, allocations: 43.57 MB / 315 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009902/0.0009901, allocations: 19.58 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.148, allocations: 58.86 MB / 443.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3959/0.544, allocations: 185.8 MB / 0.6145 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009154/0.5532, allocations: 6.165 MB / 0.6206 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006676/0.5539, allocations: 19.81 kB / 0.6206 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008886/0.5548, allocations: 266.5 kB / 0.6208 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.5597, allocations: 1.726 MB / 0.6225 GB, free: 9.492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.5623, allocations: 0.6504 MB / 0.6232 GB, free: 8.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003445/0.5658, allocations: 2.008 MB / 0.6251 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009007/0.5667, allocations: 355.3 kB / 0.6255 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.5681, allocations: 0.5135 MB / 0.626 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008757/0.5689, allocations: 462.1 kB / 0.6264 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.5691, allocations: 32 kB / 0.6264 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004157/0.5733, allocations: 1.978 MB / 0.6284 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.5735, allocations: 139.5 kB / 0.6285 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005148/0.5741, allocations: 340.2 kB / 0.6288 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.5772, allocations: 1.886 MB / 0.6307 GB, free: 1.141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5773, allocations: 0 / 0.6307 GB, free: 1.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5773, allocations: 0 / 0.6307 GB, free: 1.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.5773, allocations: 4 kB / 0.6307 GB, free: 1.137 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.001984/0.5793, allocations: 0.9677 MB / 0.6316 GB, free: 120 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5794, allocations: 15.97 kB / 0.6316 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.251/0.8304, allocations: 140 kB / 0.6318 GB, free: 49.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/0.8312, allocations: 475.2 kB / 0.6322 GB, free: 48.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.8312, allocations: 30.88 kB / 0.6322 GB, free: 48.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.8313, allocations: 39.47 kB / 0.6323 GB, free: 48.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.8323, allocations: 0.5938 MB / 0.6329 GB, free: 48.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.8324, allocations: 2.344 kB / 0.6329 GB, free: 48.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.8324, allocations: 20.41 kB / 0.6329 GB, free: 48.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.8324, allocations: 12 kB / 0.6329 GB, free: 48.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.8332, allocations: 479.6 kB / 0.6334 GB, free: 48.75 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.002308/0.8356, allocations: 2.674 MB / 0.636 GB, free: 46.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.8362, allocations: 340.5 kB / 0.6363 GB, free: 46.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.8365, allocations: 180.3 kB / 0.6365 GB, free: 46.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.8375, allocations: 1.317 MB / 0.6377 GB, free: 45.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.8376, allocations: 39.28 kB / 0.6378 GB, free: 45.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.8376, allocations: 3.281 kB / 0.6378 GB, free: 45.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001601/0.8392, allocations: 0.7221 MB / 0.6385 GB, free: 45.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.8393, allocations: 141.9 kB / 0.6386 GB, free: 45.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.8397, allocations: 470.8 kB / 0.6391 GB, free: 45.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.8398, allocations: 38.84 kB / 0.6391 GB, free: 45.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.84, allocations: 272.6 kB / 0.6394 GB, free: 45.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.84, allocations: 116.1 kB / 0.6395 GB, free: 45.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.8401, allocations: 36.33 kB / 0.6395 GB, free: 45.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.8402, allocations: 363.9 kB / 0.6399 GB, free: 44.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.8405, allocations: 150.8 kB / 0.64 GB, free: 44.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.8408, allocations: 282.1 kB / 0.6403 GB, free: 44.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/0.8415, allocations: 454.9 kB / 0.6407 GB, free: 44.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.8415, allocations: 1.219 kB / 0.6407 GB, free: 44.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009114/0.8424, allocations: 0.542 MB / 0.6412 GB, free: 44.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8425, allocations: 7.594 kB / 0.6413 GB, free: 44.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.8425, allocations: 2.469 kB / 0.6413 GB, free: 44.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.8441, allocations: 288.3 kB / 0.6415 GB, free: 44.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.8444, allocations: 109.7 kB / 0.6416 GB, free: 44.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003839/0.8448, allocations: 0.5867 MB / 0.6422 GB, free: 43.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.8452, allocations: 75.45 kB / 0.6423 GB, free: 43.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/0.8453, allocations: 42.92 kB / 0.6423 GB, free: 43.86 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.000244/0.8456, allocations: 181.5 kB / 0.6425 GB, free: 43.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.8457, allocations: 50.94 kB / 0.6425 GB, free: 43.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.8473, allocations: 0.7302 MB / 0.6433 GB, free: 43.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.8473, allocations: 6.688 kB / 0.6433 GB, free: 43.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.8473, allocations: 3.938 kB / 0.6433 GB, free: 43.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.8473, allocations: 1.969 kB / 0.6433 GB, free: 43.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.8489, allocations: 1.02 MB / 0.6443 GB, free: 43.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.8489, allocations: 1.781 kB / 0.6443 GB, free: 43.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.8491, allocations: 55.05 kB / 0.6443 GB, free: 43.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003309/0.8524, allocations: 0.5345 MB / 0.6448 GB, free: 43.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.8525, allocations: 16.44 kB / 0.6449 GB, free: 43.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004333/0.8529, allocations: 0.5995 MB / 0.6454 GB, free: 42.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.8529, allocations: 5.156 kB / 0.6454 GB, free: 42.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.854, allocations: 0.5126 MB / 0.6459 GB, free: 42.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.8543, allocations: 172.9 kB / 0.6461 GB, free: 42.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.8544, allocations: 10.11 kB / 0.6461 GB, free: 42.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.8547, allocations: 41.81 kB / 0.6462 GB, free: 42.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.8549, allocations: 33.52 kB / 0.6462 GB, free: 42.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.8549, allocations: 19.97 kB / 0.6462 GB, free: 42.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005392/0.8555, allocations: 404.7 kB / 0.6466 GB, free: 42.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8555, allocations: 0 / 0.6466 GB, free: 42.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001299/0.8568, allocations: 370.4 kB / 0.6469 GB, free: 42.18 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.001233/0.858, allocations: 0.5069 MB / 0.6474 GB, free: 42.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008816/0.8589, allocations: 370.7 kB / 0.6478 GB, free: 42.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8589, allocations: 6.562 kB / 0.6478 GB, free: 42.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.8593, allocations: 168.9 kB / 0.648 GB, free: 42.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.8613, allocations: 350 kB / 0.6483 GB, free: 42.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.8627, allocations: 1.086 MB / 0.6494 GB, free: 41.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.863, allocations: 0.8565 MB / 0.6502 GB, free: 40.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008/0.8638, allocations: 203.9 kB / 0.6504 GB, free: 40.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.864, allocations: 76.28 kB / 0.6505 GB, free: 40.64 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.864, allocations: 3.938 kB / 0.6505 GB, free: 40.64 MB / 494.1 MB Notification: Performance of Templates: time 0.03052/0.8946, allocations: 17.66 MB / 0.6677 GB, free: 35.67 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches