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.002124/0.002124, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002664/0.002664, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.614/1.614, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3512/0.3512, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.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=5003,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.558e-05, allocations: 6.25 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4852/0.4852, allocations: 179.8 MB / 0.5421 GB, free: 12.78 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009287/0.4945, allocations: 3.649 MB / 0.5457 GB, free: 10.38 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000783/0.4953, allocations: 20.78 kB / 0.5457 GB, free: 10.37 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.4964, allocations: 316 kB / 0.546 GB, free: 10.19 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.5012, allocations: 1.774 MB / 0.5477 GB, free: 9.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.5034, allocations: 0.745 MB / 0.5484 GB, free: 8.945 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002365/0.5058, allocations: 1.55 MB / 0.55 GB, free: 8.105 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006986/0.5065, allocations: 372 kB / 0.5503 GB, free: 7.848 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.5078, allocations: 0.8002 MB / 0.5511 GB, free: 7.363 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.5084, allocations: 414.1 kB / 0.5515 GB, free: 7.152 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/0.5085, allocations: 55.66 kB / 0.5515 GB, free: 7.148 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.5113, allocations: 1.139 MB / 0.5526 GB, free: 6.598 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.5115, allocations: 172.4 kB / 0.5528 GB, free: 6.465 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.5118, allocations: 248 kB / 0.553 GB, free: 6.359 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.5147, allocations: 1.748 MB / 0.5548 GB, free: 5.301 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5147, allocations: 0 / 0.5548 GB, free: 5.301 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5147, allocations: 2.625 kB / 0.5548 GB, free: 5.301 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.5148, allocations: 3.938 kB / 0.5548 GB, free: 5.297 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.002208/0.517, allocations: 1.155 MB / 0.5559 GB, free: 4.309 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.517, allocations: 8.031 kB / 0.5559 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.5181, allocations: 223 kB / 0.5561 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/0.519, allocations: 436.4 kB / 0.5565 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.519, allocations: 33 kB / 0.5566 GB, free: 3.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.5191, allocations: 47.98 kB / 0.5566 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.5209, allocations: 0.9328 MB / 0.5575 GB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.5209, allocations: 7.938 kB / 0.5575 GB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.521, allocations: 16 kB / 0.5575 GB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.521, allocations: 12 kB / 0.5575 GB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009571/0.5219, allocations: 411.6 kB / 0.5579 GB, free: 2.047 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.003718/0.5256, allocations: 2.412 MB / 0.5603 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/0.5265, allocations: 328.8 kB / 0.5606 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.5268, allocations: 144.2 kB / 0.5607 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.5271, allocations: 56.27 kB / 0.5608 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.5271, allocations: 45.67 kB / 0.5608 GB, free: 14.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.5271, allocations: 0 / 0.5608 GB, free: 14.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001896/0.529, allocations: 0.6306 MB / 0.5615 GB, free: 14.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.5291, allocations: 132.5 kB / 0.5616 GB, free: 14.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.5298, allocations: 0.5025 MB / 0.5621 GB, free: 13.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.5298, allocations: 33.7 kB / 0.5621 GB, free: 13.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.5302, allocations: 351.1 kB / 0.5624 GB, free: 13.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.5303, allocations: 126.9 kB / 0.5626 GB, free: 13.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.5305, allocations: 119.8 kB / 0.5627 GB, free: 13.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003485/0.5309, allocations: 0.543 MB / 0.5632 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.5312, allocations: 136.9 kB / 0.5633 GB, free: 12.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008109/0.532, allocations: 400.3 kB / 0.5637 GB, free: 11.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.5328, allocations: 464.1 kB / 0.5642 GB, free: 11.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5328, allocations: 0 / 0.5642 GB, free: 11.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001145/0.534, allocations: 0.5239 MB / 0.5647 GB, free: 10.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.534, allocations: 4 kB / 0.5647 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.534, allocations: 7.984 kB / 0.5647 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.5355, allocations: 207.8 kB / 0.5649 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.5359, allocations: 103.9 kB / 0.565 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007836/0.5367, allocations: 0.8702 MB / 0.5658 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.537, allocations: 35.78 kB / 0.5659 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.5371, allocations: 47.98 kB / 0.5659 GB, free: 9.477 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.0003627/0.5375, allocations: 220.4 kB / 0.5661 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.5376, allocations: 63.66 kB / 0.5662 GB, free: 9.188 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.5399, allocations: 1.116 MB / 0.5673 GB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5399, allocations: 8 kB / 0.5673 GB, free: 8.055 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5399, allocations: 0 / 0.5673 GB, free: 8.055 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5399, allocations: 0 / 0.5673 GB, free: 8.055 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.5417, allocations: 0.9775 MB / 0.5682 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5417, allocations: 0 / 0.5682 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.5419, allocations: 51.91 kB / 0.5683 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/0.5449, allocations: 347.3 kB / 0.5686 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.545, allocations: 11.98 kB / 0.5686 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007928/0.5457, allocations: 0.8824 MB / 0.5695 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.5458, allocations: 10.38 kB / 0.5695 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.5468, allocations: 0.5686 MB / 0.5701 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.5469, allocations: 47.59 kB / 0.5701 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5471, allocations: 11.94 kB / 0.5701 GB, free: 5.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.5473, allocations: 15.98 kB / 0.5701 GB, free: 5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/0.5474, allocations: 27.89 kB / 0.5702 GB, free: 4.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.5475, allocations: 16 kB / 0.5702 GB, free: 4.957 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005226/0.548, allocations: 371 kB / 0.5705 GB, free: 4.594 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.548, allocations: 0 / 0.5705 GB, free: 4.594 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001406/0.5494, allocations: 358.8 kB / 0.5709 GB, free: 4.242 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.001113/0.5505, allocations: 465.3 kB / 0.5713 GB, free: 3.781 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009634/0.5515, allocations: 368.8 kB / 0.5717 GB, free: 3.418 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5515, allocations: 0 / 0.5717 GB, free: 3.418 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.5519, allocations: 172.6 kB / 0.5718 GB, free: 3.246 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.5534, allocations: 314.2 kB / 0.5721 GB, free: 2.953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.5551, allocations: 0.8647 MB / 0.573 GB, free: 2.035 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.5554, allocations: 254.9 kB / 0.5732 GB, free: 1.762 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001086/0.5565, allocations: 0.5405 MB / 0.5737 GB, free: 1.219 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.5567, allocations: 88.45 kB / 0.5738 GB, free: 1.133 MB / 442.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5568, allocations: 0 / 0.5738 GB, free: 1.133 MB / 442.7 MB Notification: Performance of Templates: time 0.03126/0.588, allocations: 16.22 MB / 0.5897 GB, free: 1.148 MB / 458.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.231044640066102]