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.001467/0.001467, allocations: 88.31 kB / 20.95 MB, free: 3.48 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.001702/0.001702, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 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 1.505/1.505, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.337/0.337, allocations: 34.27 MB / 295.3 MB, free: 0.6953 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.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_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_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.43e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.428/0.428, allocations: 161.6 MB / 0.5263 GB, free: 4.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.4337, allocations: 3.4 MB / 0.5296 GB, free: 2.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000746/0.4344, allocations: 19.78 kB / 0.5296 GB, free: 2.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009408/0.4354, allocations: 317.1 kB / 0.5299 GB, free: 2.047 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.4397, allocations: 1.784 MB / 0.5317 GB, free: 1.184 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.4415, allocations: 0.7349 MB / 0.5324 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.4434, allocations: 1.549 MB / 0.5339 GB, free: 48 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006988/0.4441, allocations: 372.1 kB / 0.5343 GB, free: 15.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.4454, allocations: 0.8113 MB / 0.535 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005811/0.446, allocations: 407.7 kB / 0.5354 GB, free: 15.35 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.089e-05/0.446, allocations: 50.69 kB / 0.5355 GB, free: 15.35 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.4486, allocations: 1.132 MB / 0.5366 GB, free: 15.05 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.4488, allocations: 171.1 kB / 0.5368 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.4492, allocations: 246.9 kB / 0.537 GB, free: 14.86 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.452, allocations: 1.744 MB / 0.5387 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.452, allocations: 8 kB / 0.5387 GB, free: 14.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.452, allocations: 0 / 0.5387 GB, free: 14.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.452, allocations: 0 / 0.5387 GB, free: 14.01 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.002295/0.4543, allocations: 1.024 MB / 0.5397 GB, free: 13.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4544, allocations: 8 kB / 0.5397 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.4555, allocations: 225.4 kB / 0.5399 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/0.4563, allocations: 440.8 kB / 0.5403 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.4564, allocations: 32.62 kB / 0.5404 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.4565, allocations: 47.59 kB / 0.5404 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.4578, allocations: 0.8851 MB / 0.5413 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4579, allocations: 7.875 kB / 0.5413 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.4579, allocations: 25.47 kB / 0.5413 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4579, allocations: 10.69 kB / 0.5413 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.4589, allocations: 469.2 kB / 0.5418 GB, free: 11.75 MB / 426.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.003134/0.462, allocations: 1.884 MB / 0.5436 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/0.4628, allocations: 323.2 kB / 0.5439 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.4631, allocations: 151 kB / 0.5441 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.4634, allocations: 54.67 kB / 0.5441 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.4634, allocations: 37.47 kB / 0.5442 GB, free: 9.906 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.4634, allocations: 0 / 0.5442 GB, free: 9.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001849/0.4653, allocations: 0.665 MB / 0.5448 GB, free: 9.574 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.4654, allocations: 130.7 kB / 0.5449 GB, free: 9.418 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.4659, allocations: 404.8 kB / 0.5453 GB, free: 9.168 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.4659, allocations: 31.89 kB / 0.5453 GB, free: 9.133 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.4662, allocations: 285.5 kB / 0.5456 GB, free: 8.879 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.4663, allocations: 123.5 kB / 0.5457 GB, free: 8.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.4665, allocations: 110 kB / 0.5458 GB, free: 8.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.4667, allocations: 353.5 kB / 0.5462 GB, free: 8.363 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.467, allocations: 146.2 kB / 0.5463 GB, free: 8.297 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.4676, allocations: 358.4 kB / 0.5467 GB, free: 7.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.4684, allocations: 430 kB / 0.5471 GB, free: 7.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4684, allocations: 0 / 0.5471 GB, free: 7.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001139/0.4695, allocations: 0.5497 MB / 0.5476 GB, free: 7.398 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4695, allocations: 5.25 kB / 0.5476 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4695, allocations: 2.906 kB / 0.5476 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.4712, allocations: 250.1 kB / 0.5478 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.4715, allocations: 103.8 kB / 0.5479 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006221/0.4722, allocations: 0.59 MB / 0.5485 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.4725, allocations: 41.09 kB / 0.5486 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.4726, allocations: 52.14 kB / 0.5486 GB, free: 6.652 MB / 426.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.0003097/0.4729, allocations: 176.4 kB / 0.5488 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.473, allocations: 62.97 kB / 0.5488 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.4751, allocations: 1.081 MB / 0.5499 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4751, allocations: 7.984 kB / 0.5499 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4751, allocations: 3.562 kB / 0.5499 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4751, allocations: 0 / 0.5499 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.4768, allocations: 0.8559 MB / 0.5507 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4768, allocations: 0 / 0.5507 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.477, allocations: 47.97 kB / 0.5508 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003575/0.4806, allocations: 440.2 kB / 0.5512 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.4806, allocations: 8 kB / 0.5512 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006869/0.4813, allocations: 0.607 MB / 0.5518 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4813, allocations: 0 / 0.5518 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4824, allocations: 0.5136 MB / 0.5523 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.4825, allocations: 47.64 kB / 0.5524 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.4826, allocations: 19.83 kB / 0.5524 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.483, allocations: 19.98 kB / 0.5524 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.483, allocations: 23.95 kB / 0.5524 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.4831, allocations: 15.94 kB / 0.5524 GB, free: 3.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004925/0.4836, allocations: 323.1 kB / 0.5527 GB, free: 2.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4836, allocations: 0 / 0.5527 GB, free: 2.793 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001206/0.4848, allocations: 346.9 kB / 0.5531 GB, free: 2.453 MB / 426.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.001144/0.4859, allocations: 469.8 kB / 0.5535 GB, free: 1.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.487, allocations: 359.8 kB / 0.5539 GB, free: 1.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.487, allocations: 4 kB / 0.5539 GB, free: 1.629 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.4874, allocations: 152.9 kB / 0.554 GB, free: 1.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.4889, allocations: 322.6 kB / 0.5543 GB, free: 1.188 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.4908, allocations: 0.8587 MB / 0.5552 GB, free: 288 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.4911, allocations: 254.9 kB / 0.5554 GB, free: 8 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001194/0.4923, allocations: 0.544 MB / 0.5559 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.4925, allocations: 80.47 kB / 0.556 GB, free: 15.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.934e-06/0.4925, allocations: 0 / 0.556 GB, free: 15.39 MB / 442.7 MB Notification: Performance of Templates: time 0.03143/0.524, allocations: 16.18 MB / 0.5718 GB, free: 15.45 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.08965470304247]