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.00199/0.00199, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002343/0.002343, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.498/1.498, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3395/0.3395, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 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.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_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.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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.728e-05, allocations: 2.312 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3448/0.3449, allocations: 161.6 MB / 0.5262 GB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00482/0.3497, allocations: 3.402 MB / 0.5295 GB, free: 2.258 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.3502, allocations: 24.25 kB / 0.5296 GB, free: 2.242 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007914/0.351, allocations: 310.8 kB / 0.5299 GB, free: 2.066 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.3543, allocations: 1.786 MB / 0.5316 GB, free: 1.207 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.3559, allocations: 0.7379 MB / 0.5323 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.3572, allocations: 1.55 MB / 0.5338 GB, free: 68 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.3577, allocations: 366.9 kB / 0.5342 GB, free: 15.85 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.3588, allocations: 0.8084 MB / 0.535 GB, free: 15.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.3593, allocations: 409.6 kB / 0.5354 GB, free: 15.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.696e-05/0.3594, allocations: 50.34 kB / 0.5354 GB, free: 15.38 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.3616, allocations: 1.14 MB / 0.5365 GB, free: 15.07 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.3617, allocations: 166.7 kB / 0.5367 GB, free: 14.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.362, allocations: 250.5 kB / 0.5369 GB, free: 14.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.3645, allocations: 1.742 MB / 0.5386 GB, free: 14.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3645, allocations: 0 / 0.5386 GB, free: 14.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3645, allocations: 0 / 0.5386 GB, free: 14.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3645, allocations: 0 / 0.5386 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.002003/0.3665, allocations: 1.028 MB / 0.5396 GB, free: 13.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3665, allocations: 8.562 kB / 0.5396 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.3676, allocations: 229.3 kB / 0.5399 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3686, allocations: 436.2 kB / 0.5403 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.3687, allocations: 29.31 kB / 0.5403 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.3688, allocations: 43.5 kB / 0.5403 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3701, allocations: 0.8945 MB / 0.5412 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3701, allocations: 6.562 kB / 0.5412 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.3702, allocations: 20.91 kB / 0.5412 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.3702, allocations: 11.09 kB / 0.5412 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009352/0.3711, allocations: 479.6 kB / 0.5417 GB, free: 11.74 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.00286/0.374, allocations: 1.879 MB / 0.5435 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.3747, allocations: 315.8 kB / 0.5438 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.375, allocations: 158.3 kB / 0.544 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.3752, allocations: 55.08 kB / 0.544 GB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.3753, allocations: 36 kB / 0.5441 GB, free: 9.906 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.3753, allocations: 0 / 0.5441 GB, free: 9.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001759/0.377, allocations: 0.6658 MB / 0.5447 GB, free: 9.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3771, allocations: 131.3 kB / 0.5449 GB, free: 9.414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.3776, allocations: 408.2 kB / 0.5452 GB, free: 9.156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.3777, allocations: 32.52 kB / 0.5453 GB, free: 9.121 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.3779, allocations: 277.4 kB / 0.5455 GB, free: 8.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.378, allocations: 135 kB / 0.5457 GB, free: 8.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.3782, allocations: 100.3 kB / 0.5458 GB, free: 8.703 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3784, allocations: 355.1 kB / 0.5461 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.3787, allocations: 145.1 kB / 0.5462 GB, free: 8.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.3792, allocations: 363.4 kB / 0.5466 GB, free: 7.957 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.38, allocations: 431.1 kB / 0.547 GB, free: 7.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.38, allocations: 4 kB / 0.547 GB, free: 7.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001043/0.381, allocations: 0.5417 MB / 0.5475 GB, free: 7.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3811, allocations: 8.438 kB / 0.5475 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3811, allocations: 10.72 kB / 0.5475 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.3826, allocations: 241.7 kB / 0.5478 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.3829, allocations: 97.23 kB / 0.5479 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005512/0.3835, allocations: 0.6004 MB / 0.5485 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.3838, allocations: 37.11 kB / 0.5485 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.3839, allocations: 45.3 kB / 0.5485 GB, free: 6.648 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.000255/0.3841, allocations: 174.8 kB / 0.5487 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3843, allocations: 65.22 kB / 0.5488 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.3862, allocations: 1.081 MB / 0.5498 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3862, allocations: 7.938 kB / 0.5498 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3862, allocations: 0 / 0.5498 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3862, allocations: 0 / 0.5498 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.3879, allocations: 0.8574 MB / 0.5507 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3879, allocations: 4 kB / 0.5507 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.3881, allocations: 51.91 kB / 0.5507 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003389/0.3915, allocations: 437.2 kB / 0.5511 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.3916, allocations: 12 kB / 0.5511 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005691/0.3921, allocations: 0.6045 MB / 0.5517 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3921, allocations: 3.938 kB / 0.5517 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009403/0.3931, allocations: 0.5123 MB / 0.5522 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.3932, allocations: 43.66 kB / 0.5523 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.3932, allocations: 19.83 kB / 0.5523 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.3936, allocations: 15.98 kB / 0.5523 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.3936, allocations: 31.89 kB / 0.5523 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.3937, allocations: 19.98 kB / 0.5524 GB, free: 3.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004294/0.3941, allocations: 311.1 kB / 0.5527 GB, free: 2.816 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3941, allocations: 4 kB / 0.5527 GB, free: 2.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001063/0.3952, allocations: 354.9 kB / 0.553 GB, free: 2.465 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.00101/0.3962, allocations: 464.9 kB / 0.5534 GB, free: 2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000919/0.3971, allocations: 347.9 kB / 0.5538 GB, free: 1.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.3971, allocations: 7.125 kB / 0.5538 GB, free: 1.656 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.3975, allocations: 156.9 kB / 0.5539 GB, free: 1.504 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.399, allocations: 317.2 kB / 0.5542 GB, free: 1.215 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.4005, allocations: 0.857 MB / 0.5551 GB, free: 316 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.4008, allocations: 254.9 kB / 0.5553 GB, free: 36 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.4018, allocations: 0.5487 MB / 0.5559 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.4021, allocations: 88.45 kB / 0.5559 GB, free: 15.41 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4021, allocations: 0 / 0.5559 GB, free: 15.41 MB / 442.7 MB Notification: Performance of Templates: time 0.03014/0.4322, allocations: 16.17 MB / 0.5717 GB, free: 15.43 MB / 458.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.032823869027197]