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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 168.8 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9564/0.9564, allocations: 177.1 MB / 205.3 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2571/0.2571, allocations: 32.8 MB / 294.6 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.234e-05, allocations: 9.625 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3261/0.3261, allocations: 179.9 MB / 0.5429 GB, free: 12.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005419/0.3315, allocations: 3.642 MB / 0.5465 GB, free: 10.38 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004807/0.332, allocations: 27.59 kB / 0.5465 GB, free: 10.37 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.3328, allocations: 313.5 kB / 0.5468 GB, free: 10.19 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00378/0.3366, allocations: 1.782 MB / 0.5485 GB, free: 9.332 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3381, allocations: 0.7303 MB / 0.5492 GB, free: 8.836 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.3397, allocations: 1.552 MB / 0.5507 GB, free: 7.926 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.3402, allocations: 383.3 kB / 0.5511 GB, free: 7.656 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009888/0.3412, allocations: 0.7965 MB / 0.5519 GB, free: 7.176 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.3417, allocations: 414.9 kB / 0.5523 GB, free: 6.965 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.3418, allocations: 48.47 kB / 0.5523 GB, free: 6.965 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.3436, allocations: 1.14 MB / 0.5534 GB, free: 6.414 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3438, allocations: 178.6 kB / 0.5536 GB, free: 6.277 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.344, allocations: 245 kB / 0.5539 GB, free: 6.172 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.346, allocations: 1.48 MB / 0.5553 GB, free: 5.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.346, allocations: 0 / 0.5553 GB, free: 5.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.346, allocations: 6.938 kB / 0.5553 GB, free: 5.336 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.346, allocations: 0 / 0.5553 GB, free: 5.336 MB / 426.7 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.001625/0.3476, allocations: 1.131 MB / 0.5564 GB, free: 4.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3476, allocations: 8.438 kB / 0.5564 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.3486, allocations: 224.5 kB / 0.5566 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.3492, allocations: 424.5 kB / 0.557 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.3492, allocations: 33 kB / 0.5571 GB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.3493, allocations: 44 kB / 0.5571 GB, free: 3.742 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008404/0.3501, allocations: 0.8281 MB / 0.5579 GB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3501, allocations: 3.938 kB / 0.5579 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.3502, allocations: 16 kB / 0.5579 GB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.3502, allocations: 12 kB / 0.5579 GB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.3507, allocations: 285.6 kB / 0.5582 GB, free: 2.469 MB / 426.7 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.001965/0.3526, allocations: 2.264 MB / 0.5604 GB, free: 124 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.3531, allocations: 200.8 kB / 0.5606 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3532, allocations: 96.14 kB / 0.5607 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.3534, allocations: 52.19 kB / 0.5608 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3534, allocations: 37.67 kB / 0.5608 GB, free: 15.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.3534, allocations: 0 / 0.5608 GB, free: 15.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001119/0.3546, allocations: 470.8 kB / 0.5612 GB, free: 15.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002929/0.3548, allocations: 132.5 kB / 0.5614 GB, free: 15.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.3552, allocations: 430.5 kB / 0.5618 GB, free: 14.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.3552, allocations: 33.7 kB / 0.5618 GB, free: 14.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.3554, allocations: 339.1 kB / 0.5621 GB, free: 14.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.3555, allocations: 122.9 kB / 0.5623 GB, free: 14.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.3556, allocations: 107.8 kB / 0.5624 GB, free: 14.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3558, allocations: 0.5274 MB / 0.5629 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3559, allocations: 72.95 kB / 0.5629 GB, free: 13.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.3562, allocations: 328.4 kB / 0.5633 GB, free: 13.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.3566, allocations: 327.3 kB / 0.5636 GB, free: 12.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3566, allocations: 0 / 0.5636 GB, free: 12.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006222/0.3572, allocations: 404.9 kB / 0.564 GB, free: 12.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3572, allocations: 18.55 kB / 0.564 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3572, allocations: 4 kB / 0.564 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008551/0.3581, allocations: 195.4 kB / 0.5642 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.3583, allocations: 103.8 kB / 0.5643 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003952/0.3587, allocations: 0.8273 MB / 0.5651 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.3589, allocations: 35.73 kB / 0.5651 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.359, allocations: 43.98 kB / 0.5651 GB, free: 10.97 MB / 442.7 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.0001571/0.3591, allocations: 188.4 kB / 0.5653 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3593, allocations: 59.66 kB / 0.5654 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.3605, allocations: 0.9804 MB / 0.5663 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3605, allocations: 4 kB / 0.5663 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3605, allocations: 3.312 kB / 0.5663 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3606, allocations: 0 / 0.5663 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008396/0.3614, allocations: 0.7694 MB / 0.5671 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3614, allocations: 0 / 0.5671 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3615, allocations: 55.91 kB / 0.5672 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.3631, allocations: 331.3 kB / 0.5675 GB, free: 8.496 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3631, allocations: 12 kB / 0.5675 GB, free: 8.484 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006176/0.3637, allocations: 0.8467 MB / 0.5683 GB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3637, allocations: 4 kB / 0.5683 GB, free: 7.602 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.3642, allocations: 455.2 kB / 0.5687 GB, free: 7.113 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3642, allocations: 51.59 kB / 0.5688 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.3643, allocations: 15.89 kB / 0.5688 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.3645, allocations: 15.98 kB / 0.5688 GB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.3646, allocations: 23.95 kB / 0.5688 GB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.3646, allocations: 16 kB / 0.5689 GB, free: 6.992 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.3649, allocations: 311 kB / 0.5692 GB, free: 6.691 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3649, allocations: 0 / 0.5692 GB, free: 6.691 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009388/0.3658, allocations: 350.9 kB / 0.5695 GB, free: 6.348 MB / 442.7 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.000775/0.3666, allocations: 467 kB / 0.5699 GB, free: 5.883 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004873/0.3671, allocations: 244.8 kB / 0.5702 GB, free: 5.641 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3671, allocations: 6.906 kB / 0.5702 GB, free: 5.637 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3673, allocations: 116.5 kB / 0.5703 GB, free: 5.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3683, allocations: 323.3 kB / 0.5706 GB, free: 5.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3697, allocations: 0.8309 MB / 0.5714 GB, free: 4.352 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.806e-05/0.3698, allocations: 126.4 kB / 0.5715 GB, free: 4.207 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007598/0.3705, allocations: 0.5407 MB / 0.5721 GB, free: 3.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3707, allocations: 80.47 kB / 0.5721 GB, free: 3.582 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3707, allocations: 0 / 0.5721 GB, free: 3.582 MB / 442.7 MB Notification: Performance of Templates: time 0.02199/0.3927, allocations: 16.23 MB / 0.588 GB, free: 3.578 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.004112405935302]