Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009524/0.0009524, 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.0009943/0.0009943, allocations: 165.9 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.9698/0.9698, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2856/0.2856, allocations: 34.26 MB / 296 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.441e-05, allocations: 6.312 kB / 378 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3276/0.3276, allocations: 179.9 MB / 0.5449 GB, free: 10.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004671/0.3323, allocations: 3.653 MB / 0.5484 GB, free: 8.246 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005337/0.3328, allocations: 24.34 kB / 0.5485 GB, free: 8.23 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000743/0.3336, allocations: 310.4 kB / 0.5487 GB, free: 8.055 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.3371, allocations: 1.776 MB / 0.5505 GB, free: 7.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.3387, allocations: 0.7348 MB / 0.5512 GB, free: 6.477 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.3404, allocations: 1.559 MB / 0.5527 GB, free: 5.559 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/0.3409, allocations: 375.9 kB / 0.5531 GB, free: 5.297 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008894/0.3418, allocations: 0.7962 MB / 0.5539 GB, free: 4.816 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.3422, allocations: 410.9 kB / 0.5542 GB, free: 4.609 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.3423, allocations: 51.34 kB / 0.5543 GB, free: 4.609 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.3442, allocations: 1.147 MB / 0.5554 GB, free: 4.051 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.3443, allocations: 164.4 kB / 0.5556 GB, free: 3.926 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.3445, allocations: 255.5 kB / 0.5558 GB, free: 3.812 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.3463, allocations: 1.481 MB / 0.5573 GB, free: 2.438 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3463, allocations: 0 / 0.5573 GB, free: 2.438 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3463, allocations: 0 / 0.5573 GB, free: 2.438 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3463, allocations: 0 / 0.5573 GB, free: 2.438 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.001355/0.3476, allocations: 1.14 MB / 0.5584 GB, free: 1.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3477, allocations: 8.031 kB / 0.5584 GB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007472/0.3484, allocations: 223 kB / 0.5586 GB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.3489, allocations: 428.5 kB / 0.559 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3489, allocations: 29 kB / 0.559 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.349, allocations: 48 kB / 0.5591 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009347/0.3499, allocations: 0.8203 MB / 0.5599 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3499, allocations: 3.938 kB / 0.5599 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.35, allocations: 23.98 kB / 0.5599 GB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.35, allocations: 15.98 kB / 0.5599 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.3504, allocations: 269.6 kB / 0.5602 GB, free: 15.25 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.00173/0.3521, allocations: 2.269 MB / 0.5624 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.3525, allocations: 208.3 kB / 0.5626 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3526, allocations: 88.2 kB / 0.5627 GB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.3528, allocations: 52.19 kB / 0.5627 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3528, allocations: 41.67 kB / 0.5628 GB, free: 12.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.3528, allocations: 3.984 kB / 0.5628 GB, free: 12.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009591/0.3538, allocations: 474.8 kB / 0.5632 GB, free: 12.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3539, allocations: 132.5 kB / 0.5634 GB, free: 11.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.3542, allocations: 426.6 kB / 0.5638 GB, free: 11.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.3542, allocations: 37.64 kB / 0.5638 GB, free: 11.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.3543, allocations: 331.1 kB / 0.5641 GB, free: 11.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.3544, allocations: 122.9 kB / 0.5642 GB, free: 10.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.3545, allocations: 119.7 kB / 0.5643 GB, free: 10.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3547, allocations: 0.5235 MB / 0.5649 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3548, allocations: 72.94 kB / 0.5649 GB, free: 10.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.355, allocations: 324.4 kB / 0.5652 GB, free: 9.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.3554, allocations: 326.7 kB / 0.5655 GB, free: 9.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3554, allocations: 0 / 0.5655 GB, free: 9.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005387/0.3559, allocations: 412.6 kB / 0.5659 GB, free: 8.996 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.356, allocations: 4 kB / 0.5659 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.356, allocations: 4 kB / 0.5659 GB, free: 8.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.3567, allocations: 199.7 kB / 0.5661 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3569, allocations: 103.8 kB / 0.5662 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006251/0.3575, allocations: 0.8234 MB / 0.567 GB, free: 7.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.3577, allocations: 39.73 kB / 0.5671 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.3578, allocations: 47.98 kB / 0.5671 GB, free: 7.746 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.0001534/0.3579, allocations: 188.4 kB / 0.5673 GB, free: 7.551 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.358, allocations: 59.66 kB / 0.5674 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.3591, allocations: 0.9829 MB / 0.5683 GB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3591, allocations: 4 kB / 0.5683 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3591, allocations: 0 / 0.5683 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.3591, allocations: 0 / 0.5683 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007488/0.3599, allocations: 0.7695 MB / 0.5691 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3599, allocations: 0 / 0.5691 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.36, allocations: 51.92 kB / 0.5691 GB, free: 5.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.3612, allocations: 339.2 kB / 0.5694 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3612, allocations: 8 kB / 0.5695 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003251/0.3615, allocations: 0.8467 MB / 0.5703 GB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3615, allocations: 3.984 kB / 0.5703 GB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.3619, allocations: 451.3 kB / 0.5707 GB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.362, allocations: 51.58 kB / 0.5708 GB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.362, allocations: 16.77 kB / 0.5708 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3621, allocations: 15.98 kB / 0.5708 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.3622, allocations: 23.97 kB / 0.5708 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.3622, allocations: 20.02 kB / 0.5708 GB, free: 3.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.3625, allocations: 315 kB / 0.5711 GB, free: 3.465 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3625, allocations: 0 / 0.5711 GB, free: 3.465 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007462/0.3632, allocations: 346.9 kB / 0.5715 GB, free: 3.125 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.0006859/0.3639, allocations: 472.6 kB / 0.5719 GB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.3643, allocations: 248.8 kB / 0.5722 GB, free: 2.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3643, allocations: 7.844 kB / 0.5722 GB, free: 2.406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.3645, allocations: 115.6 kB / 0.5723 GB, free: 2.289 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.3652, allocations: 317 kB / 0.5726 GB, free: 2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3668, allocations: 0.8233 MB / 0.5734 GB, free: 1.125 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3671, allocations: 130.4 kB / 0.5735 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007864/0.3679, allocations: 0.5433 MB / 0.574 GB, free: 440 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.368, allocations: 84.45 kB / 0.5741 GB, free: 356 kB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.368, allocations: 0 / 0.5741 GB, free: 356 kB / 442.7 MB Notification: Performance of Templates: time 0.02256/0.3906, allocations: 16.23 MB / 0.59 GB, free: 352 kB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9754649600945413]