Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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.001031/0.001031, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.0009842/0.0009842, allocations: 161.1 kB / 24.91 MB, free: 8.727 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.9123/0.9123, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.469e-05, allocations: 2.312 kB / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01129/0.01131, allocations: 16.24 MB / 289.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1221/0.1334, allocations: 5.578 MB / 295.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.1357, allocations: 138.3 kB / 295.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004956/0.1407, allocations: 4.599 MB / 300 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.1461, allocations: 2.922 MB / 302.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.1485, allocations: 1.662 MB / 304.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008347/0.1569, allocations: 10.05 MB / 314.6 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004874/0.1618, allocations: 5.301 MB / 319.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006175/0.1679, allocations: 5.042 MB / 325 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004803/0.1727, allocations: 4.241 MB / 329.2 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.174, allocations: 0.5508 MB / 329.8 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.1764, allocations: 1.616 MB / 331.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002335/0.1787, allocations: 3.611 MB / 335 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002496/0.1812, allocations: 2.196 MB / 337.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005939/0.1872, allocations: 7.558 MB / 344.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1872, allocations: 0 / 344.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1872, allocations: 0 / 344.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001558/0.1873, allocations: 0 / 344.7 MB, free: 9.387 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.007362/0.1947, allocations: 7.525 MB / 352.3 MB, free: 1.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.1947, allocations: 11.98 kB / 352.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.1997, allocations: 1.811 MB / 354.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.2032, allocations: 3.435 MB / 357.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.2034, allocations: 370.4 kB / 357.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/0.2039, allocations: 0.5074 MB / 358.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007969/0.2119, allocations: 8.122 MB / 366.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.212, allocations: 79.33 kB / 366.6 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000369/0.2124, allocations: 239.7 kB / 366.8 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002133/0.2145, allocations: 2.642 MB / 369.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006222/0.2208, allocations: 4.144 MB / 373.6 MB, free: 11.16 MB / 330.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.03408/0.2548, allocations: 49.07 MB / 422.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007431/0.2623, allocations: 3.671 MB / 426.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.2634, allocations: 0.8558 MB / 427.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1251/0.3884, allocations: 8.001 MB / 435.2 MB, free: 113.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.3885, allocations: 64.72 kB / 435.3 MB, free: 113.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=259): time 5.23e-06/0.3885, allocations: 0 / 435.3 MB, free: 113.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=332): time 0.05879/0.4473, allocations: 19.8 MB / 455.1 MB, free: 111.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.4473, allocations: 273.5 kB / 455.3 MB, free: 111.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/0.4504, allocations: 4.896 MB / 460.2 MB, free: 107.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.4506, allocations: 77.7 kB / 460.3 MB, free: 107.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.4517, allocations: 4.549 MB / 464.9 MB, free: 103.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005212/0.4522, allocations: 1.291 MB / 466.2 MB, free: 102.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.4534, allocations: 1.771 MB / 467.9 MB, free: 100.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.407e-05/0.4534, allocations: 305.1 kB / 468.2 MB, free: 100.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4551, allocations: 1.328 MB / 469.6 MB, free: 99.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.4577, allocations: 6.687 MB / 476.2 MB, free: 90.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.462, allocations: 8.779 MB / 485 MB, free: 78.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.241e-05/0.462, allocations: 56 kB / 485.1 MB, free: 78.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.008205/0.4702, allocations: 7.628 MB / 492.7 MB, free: 71.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.4703, allocations: 91.98 kB / 492.8 MB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.131e-05/0.4704, allocations: 188 kB / 493 MB, free: 70.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004286/0.4747, allocations: 1.956 MB / 494.9 MB, free: 68.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/0.4778, allocations: 2.199 MB / 497.1 MB, free: 66.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007051/0.4849, allocations: 6.83 MB / 0.4921 GB, free: 59.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.488, allocations: 407.7 kB / 0.4925 GB, free: 59.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/0.4883, allocations: 472 kB / 0.493 GB, free: 58.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1158): * Single equations (assignments): 1153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,29,100.0%), (4,32,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001348/0.4897, allocations: 0.8865 MB / 0.4939 GB, free: 57.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/0.4901, allocations: 395.6 kB / 0.4942 GB, free: 57.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004794/0.4949, allocations: 3.183 MB / 0.4973 GB, free: 54.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.4949, allocations: 39.98 kB / 0.4974 GB, free: 54.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4949, allocations: 12 kB / 0.4974 GB, free: 54.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.4949, allocations: 11.95 kB / 0.4974 GB, free: 54.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.5052, allocations: 8.575 MB / 0.5058 GB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5052, allocations: 5.375 kB / 0.5058 GB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.5064, allocations: 0.4919 MB / 0.5063 GB, free: 44.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004162/0.5105, allocations: 1.904 MB / 0.5081 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.5107, allocations: 63.98 kB / 0.5082 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006012/0.5167, allocations: 5.73 MB / 0.5138 GB, free: 37.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5167, allocations: 15.33 kB / 0.5138 GB, free: 37.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/0.5223, allocations: 4.281 MB / 0.518 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/0.5228, allocations: 0.504 MB / 0.5185 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.5231, allocations: 67.92 kB / 0.5185 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.5242, allocations: 71.5 kB / 0.5186 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/0.5246, allocations: 221.5 kB / 0.5188 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.5247, allocations: 67.98 kB / 0.5189 GB, free: 31.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.5258, allocations: 1.871 MB / 0.5207 GB, free: 29.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5258, allocations: 4 kB / 0.5207 GB, free: 29.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004002/0.5298, allocations: 1.926 MB / 0.5226 GB, free: 27.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (255): * Single equations (assignments): 250 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,28,62.5%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003446/0.5302, allocations: 208.8 kB / 0.5228 GB, free: 27.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003691/0.5339, allocations: 4.513 MB / 0.5272 GB, free: 23.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000147/0.534, allocations: 132.2 kB / 0.5273 GB, free: 22.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.5352, allocations: 1.404 MB / 0.5287 GB, free: 21.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.5373, allocations: 1.012 MB / 0.5297 GB, free: 20.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009763/0.5471, allocations: 12.26 MB / 0.5416 GB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.5483, allocations: 1.993 MB / 0.5436 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001524/0.5498, allocations: 0.779 MB / 0.5444 GB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/0.551, allocations: 0.8682 MB / 0.5452 GB, free: 4.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.551, allocations: 0 / 0.5452 GB, free: 4.398 MB / 378.7 MB Notification: Performance of Templates: time 0.1767/0.7278, allocations: 72.79 MB / 0.6163 GB, free: 79 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.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.583043400198221]