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.0009528/0.0009528, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002483, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001111/0.001111, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.00255, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.062/1.062, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1144/1.177, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2659/0.2659, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02606/0.292, allocations: 12.52 MB / 289.3 MB, free: 8.695 MB / 282.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.194e-06/2.194e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.31e-05, allocations: 3.188 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1777/0.1778, allocations: 148.6 MB / 439.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.311/0.4888, allocations: 3.501 MB / 442.7 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.4898, allocations: 22.47 kB / 442.8 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008178/0.4906, allocations: 191.8 kB / 442.9 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005936/0.4965, allocations: 1.496 MB / 444.4 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.4986, allocations: 0.5806 MB / 445 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00307/0.5016, allocations: 1.528 MB / 446.6 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009771/0.5026, allocations: 373.7 kB / 446.9 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.5047, allocations: 0.8042 MB / 447.7 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.506, allocations: 464.2 kB / 448.2 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.5062, allocations: 50.19 kB / 448.2 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.5093, allocations: 1.101 MB / 449.3 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.5095, allocations: 122.1 kB / 449.4 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.51, allocations: 208.3 kB / 449.6 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.5133, allocations: 1.225 MB / 450.9 MB, free: 3.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.278e-05/0.5133, allocations: 0.9375 kB / 450.9 MB, free: 3.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5134, allocations: 0 / 450.9 MB, free: 3.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.674e-05/0.5134, allocations: 3.906 kB / 450.9 MB, free: 3.477 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.002768/0.5162, allocations: 1.255 MB / 452.1 MB, free: 18.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.5162, allocations: 7.969 kB / 452.1 MB, free: 18.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.5169, allocations: 220.8 kB / 452.4 MB, free: 18.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.5176, allocations: 366.2 kB / 452.7 MB, free: 18.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.5177, allocations: 33.72 kB / 452.7 MB, free: 18.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.5177, allocations: 51.38 kB / 452.8 MB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.5185, allocations: 0.7442 MB / 453.5 MB, free: 18.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.5185, allocations: 3.188 kB / 453.5 MB, free: 18.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.5185, allocations: 25.17 kB / 453.6 MB, free: 18.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.5185, allocations: 11.59 kB / 453.6 MB, free: 18.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.5189, allocations: 210.1 kB / 453.8 MB, free: 18.07 MB / 442.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.001705/0.5206, allocations: 1.561 MB / 455.3 MB, free: 17.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.5209, allocations: 163.4 kB / 455.5 MB, free: 17.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.521, allocations: 111.8 kB / 455.6 MB, free: 17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/0.5213, allocations: 88.98 kB / 455.7 MB, free: 17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.5213, allocations: 43.25 kB / 455.7 MB, free: 16.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.948e-06/0.5213, allocations: 0 / 455.7 MB, free: 16.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007764/0.5221, allocations: 339.7 kB / 456.1 MB, free: 16.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.5221, allocations: 61.59 kB / 456.1 MB, free: 16.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5224, allocations: 347.5 kB / 456.5 MB, free: 16.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.5224, allocations: 33.45 kB / 456.5 MB, free: 16.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5225, allocations: 242.4 kB / 456.7 MB, free: 16.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.5226, allocations: 121 kB / 456.9 MB, free: 16.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5227, allocations: 98.89 kB / 457 MB, free: 16.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5228, allocations: 354.3 kB / 457.3 MB, free: 16.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.5229, allocations: 48.16 kB / 457.4 MB, free: 16.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.5231, allocations: 260.9 kB / 457.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.5233, allocations: 253.7 kB / 457.9 MB, free: 15.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.5233, allocations: 4.344 kB / 457.9 MB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003531/0.5236, allocations: 268.1 kB / 458.1 MB, free: 15.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5237, allocations: 6.344 kB / 458.1 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5237, allocations: 5.531 kB / 458.1 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006681/0.5243, allocations: 201.2 kB / 458.3 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.5246, allocations: 124.3 kB / 458.5 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003586/0.525, allocations: 0.5428 MB / 459 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.5252, allocations: 31.22 kB / 459 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.5252, allocations: 39.06 kB / 459.1 MB, free: 15.14 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.0001632/0.5254, allocations: 137.4 kB / 459.2 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.5255, allocations: 52.38 kB / 459.2 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.5265, allocations: 0.8702 MB / 460.1 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5265, allocations: 3.625 kB / 460.1 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.5265, allocations: 0.9688 kB / 460.1 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5265, allocations: 0 / 460.1 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008459/0.5274, allocations: 0.563 MB / 460.7 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5274, allocations: 0 / 460.7 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.5275, allocations: 69.58 kB / 460.8 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.5276, allocations: 43.38 kB / 460.8 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.5286, allocations: 310.5 kB / 461.1 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.5287, allocations: 13.77 kB / 461.1 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003215/0.529, allocations: 0.5484 MB / 461.7 MB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.529, allocations: 5.719 kB / 461.7 MB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.5293, allocations: 327.2 kB / 462 MB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.5294, allocations: 15.33 kB / 462 MB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.5295, allocations: 17.56 kB / 462 MB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.5296, allocations: 31.02 kB / 462 MB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.5296, allocations: 10.62 kB / 462.1 MB, free: 13.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.5298, allocations: 163.8 kB / 462.2 MB, free: 13.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5298, allocations: 1.031 kB / 462.2 MB, free: 13.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001119/0.5309, allocations: 342.9 kB / 462.6 MB, free: 13.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.0008716/0.5317, allocations: 436.9 kB / 463 MB, free: 13.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005175/0.5323, allocations: 204.5 kB / 463.2 MB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-05/0.5323, allocations: 12.44 kB / 463.2 MB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.5324, allocations: 89.69 kB / 463.3 MB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008166/0.5332, allocations: 364.4 kB / 463.6 MB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/0.5391, allocations: 0.8523 MB / 464.5 MB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.5393, allocations: 134.2 kB / 464.6 MB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009624/0.5402, allocations: 479.1 kB / 465.1 MB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.5408, allocations: 306.4 kB / 465.4 MB, free: 12.91 MB / 442.7 MB Notification: Performance of SimCode: time 2.956e-06/0.5408, allocations: 1 kB / 465.4 MB, free: 12.91 MB / 442.7 MB Notification: Performance of Templates: time 0.02843/0.5692, allocations: 18.39 MB / 483.8 MB, free: 9.742 MB / 442.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 -ignoreHideResult -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.135045473463833]