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.0007971/0.0007971, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001328/0.001328, allocations: 161 kB / 24.82 MB, free: 8.922 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 0.9055/0.9055, allocations: 177 MB / 205.1 MB, free: 5.48 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.2438/0.2438, allocations: 34.87 MB / 296.6 MB, free: 436 kB / 266.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.774e-06/1.774e-06, allocations: 0 / 379.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.513e-05, allocations: 2.312 kB / 379.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3281/0.3281, allocations: 146 MB / 0.513 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.3324, allocations: 3.402 MB / 0.5163 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.3327, allocations: 23.06 kB / 0.5163 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.3332, allocations: 182.4 kB / 0.5165 GB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.3357, allocations: 1.555 MB / 0.518 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000918/0.3367, allocations: 0.5702 MB / 0.5186 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.3378, allocations: 1.53 MB / 0.5201 GB, free: 12.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.3382, allocations: 369.3 kB / 0.5204 GB, free: 11.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.3389, allocations: 0.7614 MB / 0.5212 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.3394, allocations: 489.6 kB / 0.5216 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.159e-05/0.3395, allocations: 47.06 kB / 0.5217 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.3409, allocations: 1.04 MB / 0.5227 GB, free: 11.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.341, allocations: 173 kB / 0.5229 GB, free: 10.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3412, allocations: 247.8 kB / 0.5231 GB, free: 10.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.3426, allocations: 1.399 MB / 0.5245 GB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3426, allocations: 0 / 0.5245 GB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3426, allocations: 6.312 kB / 0.5245 GB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3426, allocations: 0 / 0.5245 GB, free: 10.39 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.001258/0.3439, allocations: 1.1 MB / 0.5255 GB, free: 9.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3439, allocations: 11.22 kB / 0.5256 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/0.3445, allocations: 223.5 kB / 0.5258 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.3449, allocations: 420.5 kB / 0.5262 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.3449, allocations: 33.97 kB / 0.5262 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.345, allocations: 41.84 kB / 0.5262 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.3455, allocations: 0.7699 MB / 0.527 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3455, allocations: 6.5 kB / 0.527 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.3456, allocations: 19.92 kB / 0.527 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3456, allocations: 11.09 kB / 0.527 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.3458, allocations: 224.8 kB / 0.5272 GB, free: 8.547 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.001311/0.3471, allocations: 2.192 MB / 0.5294 GB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3474, allocations: 189.3 kB / 0.5296 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.3475, allocations: 73.28 kB / 0.5296 GB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.3476, allocations: 56.3 kB / 0.5297 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.3477, allocations: 40.61 kB / 0.5297 GB, free: 6.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.674e-06/0.3477, allocations: 0 / 0.5297 GB, free: 6.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006981/0.3484, allocations: 450.2 kB / 0.5302 GB, free: 6.512 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.3484, allocations: 134.8 kB / 0.5303 GB, free: 6.352 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3486, allocations: 414 kB / 0.5307 GB, free: 6.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.3486, allocations: 32.61 kB / 0.5307 GB, free: 6.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3487, allocations: 340.6 kB / 0.531 GB, free: 5.785 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.3488, allocations: 122.6 kB / 0.5312 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3489, allocations: 105.9 kB / 0.5313 GB, free: 5.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.349, allocations: 0.5362 MB / 0.5318 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.3491, allocations: 61.12 kB / 0.5318 GB, free: 5.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3492, allocations: 318.7 kB / 0.5321 GB, free: 4.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.3495, allocations: 304.5 kB / 0.5324 GB, free: 4.543 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3495, allocations: 0 / 0.5324 GB, free: 4.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003668/0.3498, allocations: 385.2 kB / 0.5328 GB, free: 4.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3498, allocations: 5.906 kB / 0.5328 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3498, allocations: 6.906 kB / 0.5328 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.3504, allocations: 194.1 kB / 0.533 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.3506, allocations: 108.1 kB / 0.5331 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002081/0.3508, allocations: 0.8251 MB / 0.5339 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3509, allocations: 40.39 kB / 0.5339 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.351, allocations: 42.31 kB / 0.534 GB, free: 3.52 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.0001109/0.3511, allocations: 185.2 kB / 0.5342 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.3512, allocations: 60.33 kB / 0.5342 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008661/0.352, allocations: 0.954 MB / 0.5352 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.352, allocations: 2.938 kB / 0.5352 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.352, allocations: 0 / 0.5352 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3521, allocations: 5.609 kB / 0.5352 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.3527, allocations: 0.7464 MB / 0.5359 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3527, allocations: 2.75 kB / 0.5359 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.3528, allocations: 61.62 kB / 0.5359 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.3538, allocations: 311.1 kB / 0.5362 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3538, allocations: 6.844 kB / 0.5363 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001731/0.354, allocations: 0.8397 MB / 0.5371 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.354, allocations: 7.219 kB / 0.5371 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.3542, allocations: 449.8 kB / 0.5375 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.3543, allocations: 45.47 kB / 0.5376 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.3543, allocations: 9.656 kB / 0.5376 GB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3544, allocations: 14.16 kB / 0.5376 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.3545, allocations: 30.58 kB / 0.5376 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3545, allocations: 14.72 kB / 0.5376 GB, free: 1.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3546, allocations: 292 kB / 0.5379 GB, free: 1.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3546, allocations: 0 / 0.5379 GB, free: 1.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006078/0.3552, allocations: 351.3 kB / 0.5382 GB, free: 0.9727 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.0005239/0.3558, allocations: 420.6 kB / 0.5386 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.3561, allocations: 232.8 kB / 0.5389 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3561, allocations: 4 kB / 0.5389 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3562, allocations: 109.9 kB / 0.539 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.3569, allocations: 304.8 kB / 0.5393 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.3579, allocations: 0.8346 MB / 0.5401 GB, free: 72 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.3579, allocations: 130.2 kB / 0.5402 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.3585, allocations: 488.3 kB / 0.5407 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.359, allocations: 363 kB / 0.541 GB, free: 15.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.359, allocations: 0 / 0.541 GB, free: 15.75 MB / 426.7 MB Notification: Performance of Templates: time 0.01825/0.3772, allocations: 17.97 MB / 0.5586 GB, free: 15.98 MB / 442.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: 3.663691016845405]