Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001332/0.001332, allocations: 170.9 kB / 7.644 MB, free: 1.406 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.34/1.34, allocations: 170.7 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001623/0.001623, allocations: 108.5 kB / 218 MB, free: 8.418 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.789e-05, allocations: 4 kB / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07638/0.07642, allocations: 38.78 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3106/0.387, allocations: 90.34 MB / 391.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.3873, allocations: 83.42 kB / 391.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5029/0.8902, allocations: 133 MB / 0.5121 GB, free: 70.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8903, allocations: 0 / 0.5121 GB, free: 70.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004502/0.8907, allocations: 136.9 kB / 0.5122 GB, free: 70.1 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02247/0.9132, allocations: 7.035 MB / 0.5191 GB, free: 67.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.9133, allocations: 11.28 kB / 0.5191 GB, free: 67.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03001/0.9433, allocations: 7.559 MB / 0.5265 GB, free: 63.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02268/0.966, allocations: 9.672 MB / 0.5359 GB, free: 54.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003751/0.9664, allocations: 215.9 kB / 0.5361 GB, free: 54.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003296/0.9697, allocations: 395.7 kB / 0.5365 GB, free: 53.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01773/0.9875, allocations: 9.675 MB / 0.546 GB, free: 43.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/1.012, allocations: 14.23 MB / 0.5598 GB, free: 28.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/1.012, allocations: 95.12 kB / 0.5599 GB, free: 28.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006805/1.013, allocations: 51.98 kB / 0.56 GB, free: 28.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001693/1.014, allocations: 1.58 MB / 0.5615 GB, free: 26.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2439/1.258, allocations: 73.66 MB / 0.6335 GB, free: 34.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006038/1.264, allocations: 5.234 MB / 0.6386 GB, free: 33.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003656/1.268, allocations: 3.769 MB / 0.6423 GB, free: 33.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/1.27, allocations: 2.258 MB / 0.6445 GB, free: 31.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/1.27, allocations: 68.17 kB / 0.6445 GB, free: 31.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=301): time 5.229e-06/1.27, allocations: 3.562 kB / 0.6445 GB, free: 31.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=381): time 0.08461/1.355, allocations: 40.66 MB / 0.6842 GB, free: 19.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/1.355, allocations: 271.7 kB / 0.6845 GB, free: 18.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005809/1.36, allocations: 4.641 MB / 0.689 GB, free: 17.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005454/1.361, allocations: 25.7 kB / 0.689 GB, free: 17.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.363, allocations: 4.777 MB / 0.6937 GB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.364, allocations: 1.354 MB / 0.695 GB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/1.364, allocations: 2.438 kB / 0.695 GB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003931/1.365, allocations: 0.7044 MB / 0.6957 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/1.369, allocations: 3.647 MB / 0.6993 GB, free: 7.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008021/1.377, allocations: 8.919 MB / 0.708 GB, free: 12.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007742/1.385, allocations: 5.579 MB / 0.7134 GB, free: 8.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/1.385, allocations: 56 kB / 0.7135 GB, free: 8.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.2144/1.6, allocations: 15.58 MB / 0.7287 GB, free: 81.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000251/1.6, allocations: 87.27 kB / 0.7288 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003655/1.6, allocations: 186.8 kB / 0.729 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/1.614, allocations: 4.084 MB / 0.733 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007539/1.621, allocations: 2.106 MB / 0.735 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02772/1.649, allocations: 21.04 MB / 0.7556 GB, free: 79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006965/1.656, allocations: 378.5 kB / 0.7559 GB, free: 79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/1.657, allocations: 0.5463 MB / 0.7565 GB, free: 78.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 63 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1121): * Single equations (assignments): 1116 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001338/1.659, allocations: 0.5826 MB / 0.757 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000963/1.66, allocations: 0.5377 MB / 0.7576 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/1.679, allocations: 9.562 MB / 0.7669 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.917e-05/1.679, allocations: 42.09 kB / 0.7669 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.093e-05/1.679, allocations: 17.06 kB / 0.7669 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.95e-05/1.679, allocations: 20.75 kB / 0.767 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03557/1.715, allocations: 18.14 MB / 0.7847 GB, free: 69.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.715, allocations: 3.344 kB / 0.7847 GB, free: 69.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/1.717, allocations: 0.5323 MB / 0.7852 GB, free: 69.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/1.728, allocations: 3.515 MB / 0.7886 GB, free: 69.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008157/1.729, allocations: 14.36 kB / 0.7887 GB, free: 69.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02341/1.752, allocations: 17.67 MB / 0.8059 GB, free: 55.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/1.752, allocations: 7.469 kB / 0.8059 GB, free: 55.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/1.775, allocations: 14.3 MB / 0.8199 GB, free: 41.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002962/1.778, allocations: 1.084 MB / 0.8209 GB, free: 40.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/1.779, allocations: 4 kB / 0.8209 GB, free: 40.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003342/1.782, allocations: 175.7 kB / 0.8211 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000595/1.783, allocations: 236.6 kB / 0.8213 GB, free: 40.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002698/1.783, allocations: 95.98 kB / 0.8214 GB, free: 40 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004163/1.787, allocations: 3.124 MB / 0.8245 GB, free: 36.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.787, allocations: 4 kB / 0.8245 GB, free: 36.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01047/1.798, allocations: 1.609 MB / 0.8261 GB, free: 35.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 279 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/1.799, allocations: 173.4 kB / 0.8262 GB, free: 35.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01247/1.811, allocations: 9.231 MB / 0.8352 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.812, allocations: 0 / 0.8352 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004698/1.816, allocations: 3.667 MB / 0.8388 GB, free: 22.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/1.82, allocations: 0.5837 MB / 0.8394 GB, free: 21.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02275/1.843, allocations: 13.05 MB / 0.8521 GB, free: 8.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006007/1.849, allocations: 5.007 MB / 0.857 GB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.1963/2.045, allocations: 2.882 MB / 0.8598 GB, free: 73.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/2.047, allocations: 367.1 kB / 0.8602 GB, free: 73.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/2.047, allocations: 1.031 kB / 0.8602 GB, free: 73.19 MB / 378.7 MB Notification: Performance of Templates: time 0.1139/2.161, allocations: 69.17 MB / 0.9277 GB, free: 57 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)