Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001492/0.001492, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001378/0.001378, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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.028/1.028, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1612/0.1612, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.[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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.765e-05, allocations: 3.859 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3763/0.3763, allocations: 146 MB / 0.5137 GB, free: 16.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.3806, allocations: 3.397 MB / 0.517 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/0.3809, allocations: 22.44 kB / 0.5171 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.3815, allocations: 184.2 kB / 0.5172 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.3844, allocations: 1.555 MB / 0.5188 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.3854, allocations: 0.5781 MB / 0.5193 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.3868, allocations: 1.53 MB / 0.5208 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004968/0.3873, allocations: 369.1 kB / 0.5212 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008918/0.3882, allocations: 0.7631 MB / 0.5219 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.3887, allocations: 483.7 kB / 0.5224 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.638e-05/0.3888, allocations: 49.19 kB / 0.5224 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.3903, allocations: 1.048 MB / 0.5235 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3904, allocations: 164.1 kB / 0.5236 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.3906, allocations: 250.4 kB / 0.5238 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3919, allocations: 1.401 MB / 0.5252 GB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3919, allocations: 0 / 0.5252 GB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3919, allocations: 0 / 0.5252 GB, free: 15.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.3919, allocations: 0 / 0.5252 GB, free: 15.56 MB / 410.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.001172/0.3931, allocations: 1.111 MB / 0.5263 GB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3931, allocations: 9.156 kB / 0.5263 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005518/0.3937, allocations: 220.2 kB / 0.5265 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.3941, allocations: 421.2 kB / 0.5269 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3941, allocations: 35.47 kB / 0.527 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.3942, allocations: 45.19 kB / 0.527 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.3947, allocations: 0.7665 MB / 0.5277 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3947, allocations: 3.938 kB / 0.5278 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.3948, allocations: 22.33 kB / 0.5278 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3948, allocations: 16.19 kB / 0.5278 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.395, allocations: 227.5 kB / 0.528 GB, free: 14.04 MB / 410.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.00136/0.3964, allocations: 2.186 MB / 0.5301 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.3967, allocations: 189 kB / 0.5303 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.3968, allocations: 80.3 kB / 0.5304 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.3969, allocations: 44.67 kB / 0.5304 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3969, allocations: 42.52 kB / 0.5305 GB, free: 12.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.3969, allocations: 7.984 kB / 0.5305 GB, free: 12.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007414/0.3977, allocations: 437.2 kB / 0.5309 GB, free: 12.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.3977, allocations: 133.8 kB / 0.531 GB, free: 12.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3979, allocations: 417.1 kB / 0.5314 GB, free: 12.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.398, allocations: 31.3 kB / 0.5315 GB, free: 11.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3981, allocations: 335.8 kB / 0.5318 GB, free: 11.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.3981, allocations: 124.8 kB / 0.5319 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3982, allocations: 114.6 kB / 0.532 GB, free: 11.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.3983, allocations: 0.5384 MB / 0.5325 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.3984, allocations: 55.05 kB / 0.5326 GB, free: 11.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.3986, allocations: 317 kB / 0.5329 GB, free: 10.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3988, allocations: 301 kB / 0.5332 GB, free: 10.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3988, allocations: 3.031 kB / 0.5332 GB, free: 10.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004246/0.3992, allocations: 381.2 kB / 0.5335 GB, free: 10.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3992, allocations: 5.219 kB / 0.5335 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3993, allocations: 9.344 kB / 0.5336 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/0.3999, allocations: 192.7 kB / 0.5337 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.4001, allocations: 102 kB / 0.5338 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002407/0.4003, allocations: 0.8275 MB / 0.5346 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.4004, allocations: 42.94 kB / 0.5347 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.4005, allocations: 41.73 kB / 0.5347 GB, free: 9.758 MB / 410.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.0001158/0.4006, allocations: 193.3 kB / 0.5349 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.4007, allocations: 59.69 kB / 0.535 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/0.4017, allocations: 0.9457 MB / 0.5359 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.4017, allocations: 4.297 kB / 0.5359 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.4017, allocations: 0 / 0.5359 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4017, allocations: 1.406 kB / 0.5359 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.4023, allocations: 0.7503 MB / 0.5366 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4023, allocations: 3 kB / 0.5366 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.4024, allocations: 51.47 kB / 0.5367 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.4035, allocations: 315.5 kB / 0.537 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.4035, allocations: 16.06 kB / 0.537 GB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001906/0.4037, allocations: 0.8317 MB / 0.5378 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4037, allocations: 0 / 0.5378 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.4041, allocations: 450.3 kB / 0.5382 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.4041, allocations: 46.8 kB / 0.5383 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.4042, allocations: 11.11 kB / 0.5383 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4044, allocations: 15.3 kB / 0.5383 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.4045, allocations: 26.55 kB / 0.5383 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.4045, allocations: 17.33 kB / 0.5383 GB, free: 7.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.4047, allocations: 292.5 kB / 0.5386 GB, free: 7.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4047, allocations: 0 / 0.5386 GB, free: 7.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007418/0.4054, allocations: 344.8 kB / 0.539 GB, free: 7.645 MB / 410.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.0006772/0.4061, allocations: 426.7 kB / 0.5394 GB, free: 7.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.4065, allocations: 232.8 kB / 0.5396 GB, free: 7.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4065, allocations: 2.938 kB / 0.5396 GB, free: 7.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4067, allocations: 110.3 kB / 0.5397 GB, free: 7.441 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009881/0.4076, allocations: 314.3 kB / 0.54 GB, free: 7.395 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4089, allocations: 0.8193 MB / 0.5408 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.048e-05/0.409, allocations: 141 kB / 0.5409 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006342/0.4096, allocations: 478 kB / 0.5414 GB, free: 6.598 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/0.4102, allocations: 359.7 kB / 0.5417 GB, free: 6.445 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4102, allocations: 0 / 0.5417 GB, free: 6.445 MB / 410.7 MB Notification: Performance of Templates: time 0.0236/0.4338, allocations: 18.14 MB / 0.5594 GB, free: 10.44 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.258412220980972]