Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001521/0.001521, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 194 kB / 16.53 MB, free: 6.664 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.37/1.37, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.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.001241/0.001241, allocations: 59.91 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2517, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01743/0.2691, allocations: 17.34 MB / 342.7 MB, free: 2.535 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.2817, allocations: 5.488 MB / 348.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.285, allocations: 115.7 kB / 348.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008188/0.2932, allocations: 4.364 MB / 352.6 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007126/0.3003, allocations: 2.754 MB / 355.4 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.3032, allocations: 1.466 MB / 356.8 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.3137, allocations: 8.16 MB / 365 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006901/0.3207, allocations: 5.383 MB / 370.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004932/0.3256, allocations: 2.691 MB / 373.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005724/0.3314, allocations: 3.848 MB / 376.9 MB, free: 112 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.3334, allocations: 0.5352 MB / 377.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.3372, allocations: 1.619 MB / 379.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003578/0.3408, allocations: 3.355 MB / 382.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004634/0.3454, allocations: 3.663 MB / 386.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.3575, allocations: 10.89 MB / 397 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3576, allocations: 4 kB / 397 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3576, allocations: 0 / 397 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003504/0.3579, allocations: 0 / 397 MB, free: 11.98 MB / 334.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.01929/0.3772, allocations: 8.237 MB / 405.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.3773, allocations: 12.03 kB / 405.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03054/0.4079, allocations: 3.677 MB / 408.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.4206, allocations: 5.493 MB / 414.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.421, allocations: 377.4 kB / 414.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.4223, allocations: 0.5112 MB / 415.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02945/0.4517, allocations: 16.24 MB / 431.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002127/0.452, allocations: 83.27 kB / 431.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006447/0.4526, allocations: 239.7 kB / 431.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004667/0.4573, allocations: 2.919 MB / 434.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02821/0.4855, allocations: 13.71 MB / 448.5 MB, free: 7.203 MB / 382.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.2653/0.7508, allocations: 64.85 MB / 0.5013 GB, free: 56.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/0.7715, allocations: 7.859 MB / 0.509 GB, free: 48.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004822/0.7763, allocations: 4.353 MB / 0.5132 GB, free: 43.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02389/0.8002, allocations: 19.36 MB / 0.5321 GB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.8003, allocations: 72.48 kB / 0.5322 GB, free: 24.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=290): time 7.764e-06/0.8004, allocations: 0 / 0.5322 GB, free: 24.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=372): time 0.1677/0.968, allocations: 49.9 MB / 0.5809 GB, free: 6.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.9683, allocations: 273.8 kB / 0.5812 GB, free: 5.758 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009086/0.9774, allocations: 6.098 MB / 0.5871 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00111/0.9785, allocations: 81.7 kB / 0.5872 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003599/0.9821, allocations: 4.679 MB / 0.5918 GB, free: 10.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001924/0.9841, allocations: 1.376 MB / 0.5931 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002881/0.9869, allocations: 1.908 MB / 0.595 GB, free: 7.535 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.9871, allocations: 301.1 kB / 0.5953 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006216/0.9933, allocations: 4.224 MB / 0.5994 GB, free: 3.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2223/1.216, allocations: 9.449 MB / 0.6086 GB, free: 136.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/1.232, allocations: 14.64 MB / 0.6229 GB, free: 125.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002186/1.232, allocations: 51.62 kB / 0.623 GB, free: 125.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03457/1.267, allocations: 17.55 MB / 0.6401 GB, free: 119.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.267, allocations: 84 kB / 0.6402 GB, free: 119.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/1.267, allocations: 180 kB / 0.6404 GB, free: 119 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/1.281, allocations: 4.563 MB / 0.6448 GB, free: 115.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007319/1.288, allocations: 2.137 MB / 0.6469 GB, free: 113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03057/1.319, allocations: 25.36 MB / 0.6717 GB, free: 87.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00844/1.327, allocations: 0.526 MB / 0.6722 GB, free: 87.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/1.329, allocations: 0.5391 MB / 0.6727 GB, free: 86.47 MB / 430.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.005744/1.335, allocations: 3.128 MB / 0.6758 GB, free: 83.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/1.337, allocations: 0.5763 MB / 0.6763 GB, free: 83.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/1.357, allocations: 10.71 MB / 0.6868 GB, free: 72.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.653e-05/1.357, allocations: 40 kB / 0.6868 GB, free: 72.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.601e-05/1.357, allocations: 16 kB / 0.6868 GB, free: 72.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.865e-05/1.357, allocations: 15.94 kB / 0.6869 GB, free: 72.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03653/1.394, allocations: 20.53 MB / 0.7069 GB, free: 51.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-05/1.394, allocations: 4 kB / 0.7069 GB, free: 51.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/1.397, allocations: 0.5382 MB / 0.7074 GB, free: 51.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01188/1.408, allocations: 4.199 MB / 0.7115 GB, free: 47.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008398/1.409, allocations: 63.98 kB / 0.7116 GB, free: 46.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02723/1.437, allocations: 23.13 MB / 0.7342 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.437, allocations: 1.969 kB / 0.7342 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02466/1.461, allocations: 15.63 MB / 0.7495 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003124/1.464, allocations: 1.177 MB / 0.7506 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.466, allocations: 63.98 kB / 0.7507 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003602/1.47, allocations: 215.7 kB / 0.7509 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008641/1.471, allocations: 218.2 kB / 0.7511 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/1.471, allocations: 99.5 kB / 0.7512 GB, free: 6.086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004599/1.475, allocations: 3.816 MB / 0.7549 GB, free: 2.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.475, allocations: 0 / 0.7549 GB, free: 2.273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007166/1.483, allocations: 1.936 MB / 0.7568 GB, free: 348 kB / 430.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.000583/1.483, allocations: 220.1 kB / 0.757 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.232/1.715, allocations: 15.43 MB / 0.7721 GB, free: 150 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.715, allocations: 0 / 0.7721 GB, free: 150 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009096/1.724, allocations: 4.116 MB / 0.7761 GB, free: 148.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007588/1.732, allocations: 0.7803 MB / 0.7769 GB, free: 147.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04829/1.78, allocations: 16.47 MB / 0.7929 GB, free: 135.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01283/1.793, allocations: 4.875 MB / 0.7977 GB, free: 131.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01446/1.808, allocations: 2.793 MB / 0.8004 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/1.811, allocations: 383.4 kB / 0.8008 GB, free: 129.1 MB / 446.1 MB Notification: Performance of SimCode: time 3.297e-06/1.811, allocations: 0 / 0.8008 GB, free: 129.1 MB / 446.1 MB Notification: Performance of Templates: time 0.1359/1.947, allocations: 84.89 MB / 0.8837 GB, free: 44.21 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)