Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 108.3 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 223.3 MB, free: 12.5 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 55.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.0912, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.2246/0.3158, allocations: 73.22 MB / 399.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03038/0.3462, allocations: 14.7 MB / 413.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01678/0.3631, allocations: 327.2 kB / 414.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008572/0.3717, allocations: 4.35 MB / 418.6 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.3794, allocations: 2.606 MB / 421.2 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.3828, allocations: 1.345 MB / 422.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01483/0.3976, allocations: 11.45 MB / 434 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007711/0.4054, allocations: 5.297 MB / 439.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005585/0.411, allocations: 2.412 MB / 441.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006843/0.4179, allocations: 4.119 MB / 445.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002197/0.4201, allocations: 388 kB / 446.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004248/0.4244, allocations: 1.539 MB / 447.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004579/0.429, allocations: 3.235 MB / 450.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004827/0.4339, allocations: 3.508 MB / 454.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.4472, allocations: 10.76 MB / 465.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4472, allocations: 0 / 465.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4472, allocations: 0 / 465.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004373/0.4477, allocations: 4 kB / 465.2 MB, free: 8.5 MB / 366.1 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.02159/0.4693, allocations: 8.227 MB / 473.4 MB, free: 348 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4693, allocations: 8.031 kB / 473.4 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/0.4972, allocations: 3.684 MB / 477.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.5095, allocations: 5.486 MB / 482.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/0.5098, allocations: 373.9 kB / 483 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/0.5118, allocations: 0.5139 MB / 483.5 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03191/0.5438, allocations: 16.24 MB / 499.7 MB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002508/0.544, allocations: 87.19 kB / 499.8 MB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008694/0.5449, allocations: 239.2 kB / 0.4883 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004844/0.5498, allocations: 2.918 MB / 0.4912 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02975/0.5796, allocations: 13.71 MB / 0.5046 GB, free: 4.312 MB / 414.1 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.2763/0.856, allocations: 64.84 MB / 0.5679 GB, free: 123.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02216/0.8782, allocations: 7.865 MB / 0.5756 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004801/0.883, allocations: 4.353 MB / 0.5798 GB, free: 119.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02431/0.9074, allocations: 19.37 MB / 0.5987 GB, free: 108.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.9075, allocations: 67.05 kB / 0.5988 GB, free: 108.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 5.14e-06/0.9075, allocations: 0 / 0.5988 GB, free: 108.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.1507/1.058, allocations: 49.9 MB / 0.6475 GB, free: 59.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/1.058, allocations: 273.4 kB / 0.6478 GB, free: 59.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006802/1.065, allocations: 6.091 MB / 0.6537 GB, free: 53.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009133/1.066, allocations: 85.7 kB / 0.6538 GB, free: 52.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002144/1.068, allocations: 4.682 MB / 0.6584 GB, free: 48.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00143/1.07, allocations: 1.37 MB / 0.6597 GB, free: 46.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/1.072, allocations: 1.912 MB / 0.6616 GB, free: 45.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.069e-05/1.072, allocations: 301.1 kB / 0.6619 GB, free: 44.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005236/1.077, allocations: 4.22 MB / 0.666 GB, free: 40.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006917/1.084, allocations: 9.453 MB / 0.6752 GB, free: 28.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/1.099, allocations: 14.63 MB / 0.6895 GB, free: 11.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001417/1.099, allocations: 52 kB / 0.6896 GB, free: 11.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03568/1.135, allocations: 17.55 MB / 0.7067 GB, free: 9.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/1.135, allocations: 80.19 kB / 0.7068 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003083/1.135, allocations: 185.7 kB / 0.707 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01513/1.151, allocations: 4.543 MB / 0.7114 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007542/1.158, allocations: 2.133 MB / 0.7135 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2306/1.389, allocations: 23.64 MB / 0.7366 GB, free: 150.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008017/1.397, allocations: 0.5305 MB / 0.7371 GB, free: 150.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.398, allocations: 0.5398 MB / 0.7376 GB, free: 150.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 (1136): * Single equations (assignments): 1131 * 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 {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004841/1.403, allocations: 3.128 MB / 0.7407 GB, free: 149.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.404, allocations: 0.5642 MB / 0.7412 GB, free: 149.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02066/1.425, allocations: 10.72 MB / 0.7517 GB, free: 146 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.383e-05/1.425, allocations: 38.09 kB / 0.7517 GB, free: 146 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.312e-05/1.425, allocations: 22.89 kB / 0.7517 GB, free: 146 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.494e-05/1.425, allocations: 18.98 kB / 0.7518 GB, free: 146 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03465/1.459, allocations: 20.52 MB / 0.7718 GB, free: 130.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.619e-05/1.46, allocations: 7.984 kB / 0.7718 GB, free: 130.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003142/1.463, allocations: 0.5296 MB / 0.7723 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01244/1.475, allocations: 4.186 MB / 0.7764 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007809/1.476, allocations: 65.84 kB / 0.7765 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02672/1.503, allocations: 21.47 MB / 0.7974 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.503, allocations: 1.875 kB / 0.7974 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02571/1.529, allocations: 15.63 MB / 0.8127 GB, free: 88.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003685/1.532, allocations: 1.185 MB / 0.8139 GB, free: 87.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0016/1.534, allocations: 60 kB / 0.8139 GB, free: 87.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003449/1.537, allocations: 222 kB / 0.8141 GB, free: 87.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009016/1.538, allocations: 223.6 kB / 0.8144 GB, free: 87.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/1.539, allocations: 99.97 kB / 0.8144 GB, free: 87.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006031/1.545, allocations: 3.801 MB / 0.8182 GB, free: 83.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.545, allocations: 3.812 kB / 0.8182 GB, free: 83.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009855/1.555, allocations: 1.931 MB / 0.82 GB, free: 81.38 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (272): * Single equations (assignments): 267 * 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 {(2,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000965/1.556, allocations: 226.3 kB / 0.8203 GB, free: 81.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01398/1.57, allocations: 10.5 MB / 0.8305 GB, free: 70.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.57, allocations: 0 / 0.8305 GB, free: 70.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005222/1.575, allocations: 4.12 MB / 0.8345 GB, free: 66.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005016/1.58, allocations: 0.7294 MB / 0.8353 GB, free: 65.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0286/1.608, allocations: 19.72 MB / 0.8545 GB, free: 46.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005984/1.614, allocations: 4.879 MB / 0.8593 GB, free: 41.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007404/1.622, allocations: 2.789 MB / 0.862 GB, free: 38.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/1.623, allocations: 383.4 kB / 0.8624 GB, free: 38.06 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/1.623, allocations: 0 / 0.8624 GB, free: 38.06 MB / 462.1 MB Notification: Performance of Templates: time 0.2985/1.922, allocations: 81.64 MB / 0.9421 GB, free: 111.9 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)