Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 109 kB / 21.23 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 258.2 MB, free: 8.215 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2298/0.2298, allocations: 46.93 MB / 361.6 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 79.88 kB / 0.4975 GB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3454, allocations: 66.08 MB / 0.562 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.6155/0.9609, allocations: 186.8 MB / 0.7445 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005829/0.9667, allocations: 3.693 MB / 0.7481 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008093/0.9675, allocations: 23.38 kB / 0.7481 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009694/0.9685, allocations: 324.4 kB / 0.7484 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005384/0.9739, allocations: 1.758 MB / 0.7501 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.9765, allocations: 0.7333 MB / 0.7508 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.9792, allocations: 1.549 MB / 0.7523 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.9797, allocations: 358.9 kB / 0.7527 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009739/0.9807, allocations: 0.6001 MB / 0.7533 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/0.9813, allocations: 482 kB / 0.7537 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.435e-05/0.9814, allocations: 51.69 kB / 0.7538 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.9855, allocations: 1.962 MB / 0.7557 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.9857, allocations: 161.9 kB / 0.7558 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004511/0.9861, allocations: 345.8 kB / 0.7562 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002922/0.9891, allocations: 1.832 MB / 0.758 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.9891, allocations: 0 / 0.758 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9891, allocations: 0 / 0.758 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.9891, allocations: 0.9375 kB / 0.758 GB, free: 1.543 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.002189/0.9913, allocations: 1.031 MB / 0.759 GB, free: 16.97 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.9913, allocations: 8.562 kB / 0.759 GB, free: 16.97 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.9923, allocations: 148.3 kB / 0.7591 GB, free: 16.94 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/0.9932, allocations: 421.2 kB / 0.7595 GB, free: 16.74 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.9932, allocations: 30.88 kB / 0.7596 GB, free: 16.74 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.9933, allocations: 42.55 kB / 0.7596 GB, free: 16.74 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.9943, allocations: 0.5816 MB / 0.7602 GB, free: 16.62 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.9944, allocations: 6.594 kB / 0.7602 GB, free: 16.62 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.9944, allocations: 23.88 kB / 0.7602 GB, free: 16.62 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.9944, allocations: 11.19 kB / 0.7602 GB, free: 16.62 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008635/0.9953, allocations: 470.2 kB / 0.7606 GB, free: 16.61 MB / 0.5763 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.003095/0.9984, allocations: 2.623 MB / 0.7632 GB, free: 14.86 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/0.9991, allocations: 321.6 kB / 0.7635 GB, free: 14.83 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.9994, allocations: 153.4 kB / 0.7637 GB, free: 14.82 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.9996, allocations: 53.67 kB / 0.7637 GB, free: 14.82 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.9996, allocations: 38.47 kB / 0.7638 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.9996, allocations: 0.9062 kB / 0.7638 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001594/1.001, allocations: 0.64 MB / 0.7644 GB, free: 14.71 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.001, allocations: 136.6 kB / 0.7645 GB, free: 14.55 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/1.002, allocations: 471.9 kB / 0.765 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/1.002, allocations: 36.11 kB / 0.765 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/1.002, allocations: 280.2 kB / 0.7653 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/1.002, allocations: 114 kB / 0.7654 GB, free: 14.18 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.002, allocations: 105 kB / 0.7655 GB, free: 14.16 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.003, allocations: 361.7 kB / 0.7658 GB, free: 13.84 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/1.003, allocations: 147.4 kB / 0.766 GB, free: 13.84 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/1.003, allocations: 286.7 kB / 0.7662 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/1.004, allocations: 438.8 kB / 0.7666 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.004, allocations: 5.328 kB / 0.7667 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009616/1.005, allocations: 0.5331 MB / 0.7672 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.005, allocations: 5.5 kB / 0.7672 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.005, allocations: 5.188 kB / 0.7672 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/1.006, allocations: 243.7 kB / 0.7674 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/1.007, allocations: 100.1 kB / 0.7675 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005211/1.007, allocations: 0.5939 MB / 0.7681 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/1.008, allocations: 50.42 kB / 0.7681 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/1.008, allocations: 49.06 kB / 0.7682 GB, free: 12.93 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.0002825/1.008, allocations: 182.9 kB / 0.7684 GB, free: 12.82 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/1.008, allocations: 55.8 kB / 0.7684 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/1.01, allocations: 1.085 MB / 0.7695 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.01, allocations: 2.438 kB / 0.7695 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.01, allocations: 0.9375 kB / 0.7695 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.01, allocations: 6.578 kB / 0.7695 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/1.011, allocations: 0.9788 MB / 0.7704 GB, free: 12.28 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.011, allocations: 2.812 kB / 0.7704 GB, free: 12.28 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/1.011, allocations: 53.75 kB / 0.7705 GB, free: 12.28 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/1.014, allocations: 436 kB / 0.7709 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/1.014, allocations: 11.09 kB / 0.7709 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004785/1.015, allocations: 0.6066 MB / 0.7715 GB, free: 11.75 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.015, allocations: 1.094 kB / 0.7715 GB, free: 11.75 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008317/1.016, allocations: 0.5053 MB / 0.772 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/1.016, allocations: 61.33 kB / 0.7721 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-05/1.016, allocations: 17.69 kB / 0.7721 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/1.016, allocations: 18.8 kB / 0.7721 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/1.016, allocations: 28.86 kB / 0.7721 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/1.016, allocations: 20.97 kB / 0.7721 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004725/1.017, allocations: 399.7 kB / 0.7725 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/1.017, allocations: 0 / 0.7725 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001052/1.018, allocations: 343.5 kB / 0.7729 GB, free: 11.34 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.0008908/1.019, allocations: 432.6 kB / 0.7733 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0008027/1.02, allocations: 354.4 kB / 0.7736 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.02, allocations: 0 / 0.7736 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/1.02, allocations: 162.2 kB / 0.7738 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.022, allocations: 370.2 kB / 0.7741 GB, free: 11.13 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/1.023, allocations: 0.8975 MB / 0.775 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/1.023, allocations: 0.8548 MB / 0.7758 GB, free: 9.992 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0009896/1.024, allocations: 0.5508 MB / 0.7764 GB, free: 9.949 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.025, allocations: 88.92 kB / 0.7764 GB, free: 9.941 MB / 0.5763 GB Notification: Performance of SimCode: time 8.52e-07/1.025, allocations: 0 / 0.7764 GB, free: 9.941 MB / 0.5763 GB Notification: Performance of Templates: time 0.03129/1.056, allocations: 17.98 MB / 0.794 GB, free: 5.047 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.580929575487971]