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.001767/0.001767, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001559/0.001559, allocations: 168.9 kB / 24.5 MB, free: 3.453 MB / 14.72 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.483/1.483, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.1 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.216/0.216, allocations: 32.8 MB / 294.1 MB, free: 60 kB / 270.1 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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.89 kB / 440.6 MB, free: 9.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3341, allocations: 65.45 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1941/0.5282, allocations: 161.7 MB / 0.6521 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006365/0.5346, allocations: 3.405 MB / 0.6554 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005096/0.5351, allocations: 23.75 kB / 0.6554 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009791/0.536, allocations: 305.9 kB / 0.6557 GB, free: 3.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.5403, allocations: 1.751 MB / 0.6574 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.5421, allocations: 0.7219 MB / 0.6581 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.544, allocations: 1.54 MB / 0.6596 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000545/0.5446, allocations: 359.7 kB / 0.66 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000872/0.5454, allocations: 0.6073 MB / 0.6606 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/0.5461, allocations: 446.1 kB / 0.661 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.21e-05/0.5462, allocations: 56 kB / 0.6611 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.5485, allocations: 1.135 MB / 0.6622 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.5486, allocations: 159.4 kB / 0.6623 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.549, allocations: 294.8 kB / 0.6626 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.5512, allocations: 1.624 MB / 0.6642 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.5512, allocations: 8 kB / 0.6642 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5512, allocations: 0 / 0.6642 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.5512, allocations: 0 / 0.6642 GB, free: 10.4 MB / 0.5606 GB 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.001937/0.5532, allocations: 1.033 MB / 0.6652 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5532, allocations: 12.03 kB / 0.6652 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.5543, allocations: 135.5 kB / 0.6653 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.5551, allocations: 421.6 kB / 0.6658 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.5551, allocations: 36.94 kB / 0.6658 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.5552, allocations: 40 kB / 0.6658 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.5565, allocations: 0.8957 MB / 0.6667 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.5565, allocations: 0 / 0.6667 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.03e-05/0.5565, allocations: 20 kB / 0.6667 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.5565, allocations: 8 kB / 0.6667 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000973/0.5575, allocations: 471.6 kB / 0.6672 GB, free: 7.18 MB / 0.5606 GB 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.00278/0.5603, allocations: 1.877 MB / 0.669 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/0.561, allocations: 315.6 kB / 0.6693 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.5614, allocations: 157.3 kB / 0.6695 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.5616, allocations: 48.25 kB / 0.6695 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.5616, allocations: 38.78 kB / 0.6695 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.5616, allocations: 4 kB / 0.6695 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001739/0.5634, allocations: 0.6358 MB / 0.6702 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5635, allocations: 136.5 kB / 0.6703 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.5639, allocations: 397.9 kB / 0.6707 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.564, allocations: 33.7 kB / 0.6707 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.5642, allocations: 284.3 kB / 0.671 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.5643, allocations: 130.9 kB / 0.6711 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.5645, allocations: 102.1 kB / 0.6712 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5646, allocations: 354.8 kB / 0.6715 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.565, allocations: 152.9 kB / 0.6717 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.5654, allocations: 361.5 kB / 0.672 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000779/0.5662, allocations: 437.6 kB / 0.6724 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5662, allocations: 0 / 0.6724 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001064/0.5673, allocations: 0.5289 MB / 0.673 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5673, allocations: 11.94 kB / 0.673 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.5673, allocations: 4 kB / 0.673 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/0.5689, allocations: 244.9 kB / 0.6732 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.5693, allocations: 99.89 kB / 0.6733 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005078/0.5698, allocations: 0.5915 MB / 0.6739 GB, free: 15.98 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.5701, allocations: 43.73 kB / 0.6739 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.5702, allocations: 47.98 kB / 0.674 GB, free: 15.9 MB / 0.5763 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.0002508/0.5704, allocations: 178.4 kB / 0.6741 GB, free: 15.71 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5705, allocations: 47.72 kB / 0.6742 GB, free: 15.67 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.5725, allocations: 1.087 MB / 0.6753 GB, free: 14.55 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5725, allocations: 4 kB / 0.6753 GB, free: 14.55 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5725, allocations: 4 kB / 0.6753 GB, free: 14.54 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5725, allocations: 4 kB / 0.6753 GB, free: 14.54 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.574, allocations: 0.8465 MB / 0.6761 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.574, allocations: 4 kB / 0.6761 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.5742, allocations: 55.91 kB / 0.6761 GB, free: 13.58 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00324/0.5774, allocations: 440.4 kB / 0.6766 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.5775, allocations: 11.94 kB / 0.6766 GB, free: 13.13 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004674/0.5779, allocations: 0.5953 MB / 0.6772 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5779, allocations: 0 / 0.6772 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.5788, allocations: 0.4963 MB / 0.6776 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.5788, allocations: 47.64 kB / 0.6777 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.5789, allocations: 19.83 kB / 0.6777 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.5792, allocations: 27.98 kB / 0.6777 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.5793, allocations: 27.89 kB / 0.6778 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.5793, allocations: 16 kB / 0.6778 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.000396/0.5797, allocations: 319.1 kB / 0.6781 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/0.5797, allocations: 0 / 0.6781 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0009902/0.5807, allocations: 354.8 kB / 0.6784 GB, free: 11.19 MB / 0.5763 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.0008787/0.5816, allocations: 445.7 kB / 0.6788 GB, free: 10.74 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0008463/0.5824, allocations: 352.8 kB / 0.6792 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.5824, allocations: 4 kB / 0.6792 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.5828, allocations: 156.5 kB / 0.6793 GB, free: 10.24 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5842, allocations: 284.7 kB / 0.6796 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.5856, allocations: 0.8854 MB / 0.6805 GB, free: 9.043 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.5859, allocations: 250.9 kB / 0.6807 GB, free: 8.773 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0009962/0.5869, allocations: 0.5445 MB / 0.6812 GB, free: 8.23 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.5871, allocations: 88.45 kB / 0.6813 GB, free: 8.141 MB / 0.5763 GB Notification: Performance of SimCode: time 4.71e-07/0.5871, allocations: 7.938 kB / 0.6813 GB, free: 8.133 MB / 0.5763 GB Notification: Performance of Templates: time 0.2565/0.8436, allocations: 16.19 MB / 0.6971 GB, free: 168.6 MB / 0.5763 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.070513552986085]