Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005755/0.005755, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.199/1.199, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001658/0.001658, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003435, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 38.76 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3183, allocations: 89 MB / 401.9 MB, free: 1.484 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.3186, allocations: 91.94 kB / 402 MB, free: 1.395 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3616/0.6802, allocations: 97.04 MB / 499 MB, free: 24.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6803, allocations: 0 / 499 MB, free: 24.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002221/0.6805, allocations: 88 kB / 499.1 MB, free: 24.73 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.01734/0.6979, allocations: 4.972 MB / 0.4923 GB, free: 19.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.821e-05/0.698, allocations: 16.02 kB / 0.4923 GB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01809/0.7161, allocations: 4.494 MB / 0.4967 GB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/0.7298, allocations: 5.066 MB / 0.5016 GB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.7302, allocations: 361.4 kB / 0.502 GB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.7326, allocations: 475.8 kB / 0.5024 GB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/0.7547, allocations: 12.03 MB / 0.5142 GB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.7549, allocations: 63.34 kB / 0.5142 GB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008352/0.7558, allocations: 231.9 kB / 0.5144 GB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001612/0.7574, allocations: 1.195 MB / 0.5156 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/0.7793, allocations: 9.966 MB / 0.5253 GB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2238/1.003, allocations: 52.83 MB / 0.5769 GB, free: 28.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/1.015, allocations: 5.226 MB / 0.582 GB, free: 28.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/1.028, allocations: 8.034 MB / 0.5899 GB, free: 26.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/1.028, allocations: 61.19 kB / 0.5899 GB, free: 26.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=216): time 5.972e-06/1.028, allocations: 0.9688 kB / 0.5899 GB, free: 26.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=237): time 0.04327/1.071, allocations: 19.43 MB / 0.6089 GB, free: 22.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/1.072, allocations: 180.5 kB / 0.6091 GB, free: 22.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007101/1.079, allocations: 4.207 MB / 0.6132 GB, free: 21.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005734/1.079, allocations: 57.33 kB / 0.6133 GB, free: 21.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002339/1.082, allocations: 3.417 MB / 0.6166 GB, free: 18.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.083, allocations: 0.8847 MB / 0.6175 GB, free: 17.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/1.083, allocations: 134.5 kB / 0.6176 GB, free: 17.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003131/1.083, allocations: 0.5854 MB / 0.6182 GB, free: 17.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/1.087, allocations: 2.505 MB / 0.6206 GB, free: 16.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004841/1.092, allocations: 6.378 MB / 0.6268 GB, free: 10.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/1.097, allocations: 3.924 MB / 0.6307 GB, free: 9.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.097, allocations: 41.81 kB / 0.6307 GB, free: 9.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01668/1.114, allocations: 9.473 MB / 0.64 GB, free: 5.484 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/1.114, allocations: 68.03 kB / 0.64 GB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.114, allocations: 136 kB / 0.6402 GB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/1.116, allocations: 0.9193 MB / 0.6411 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00548/1.121, allocations: 1.597 MB / 0.6426 GB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/1.13, allocations: 6.019 MB / 0.6485 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008409/1.138, allocations: 372.1 kB / 0.6488 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/1.14, allocations: 405.9 kB / 0.6492 GB, free: 13.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006538/1.147, allocations: 2.362 MB / 0.6515 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.148, allocations: 425.8 kB / 0.6519 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/1.159, allocations: 4.3 MB / 0.6561 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.85e-05/1.159, allocations: 24 kB / 0.6562 GB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.159, allocations: 4 kB / 0.6562 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-05/1.159, allocations: 13.05 kB / 0.6562 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03402/1.193, allocations: 10.61 MB / 0.6665 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/1.193, allocations: 11.95 kB / 0.6666 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004197/1.197, allocations: 474.3 kB / 0.667 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/1.201, allocations: 0.7227 MB / 0.6677 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007478/1.202, allocations: 43.89 kB / 0.6678 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009531/1.211, allocations: 5.49 MB / 0.6731 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.211, allocations: 8 kB / 0.6731 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/1.222, allocations: 8.316 MB / 0.6812 GB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002537/1.225, allocations: 0.8195 MB / 0.682 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006975/1.226, allocations: 44 kB / 0.6821 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.227, allocations: 143.8 kB / 0.6822 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/1.228, allocations: 149.7 kB / 0.6824 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.228, allocations: 74.98 kB / 0.6824 GB, free: 184 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1744/1.402, allocations: 3.007 MB / 0.6854 GB, free: 88.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.192e-06/1.402, allocations: 0 / 0.6854 GB, free: 88.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006878/1.409, allocations: 1.151 MB / 0.6865 GB, free: 88.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007316/1.41, allocations: 190 kB / 0.6867 GB, free: 88.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008929/1.419, allocations: 6.126 MB / 0.6927 GB, free: 87.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.419, allocations: 2.906 kB / 0.6927 GB, free: 87.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003307/1.422, allocations: 2.268 MB / 0.6949 GB, free: 87.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/1.425, allocations: 474.7 kB / 0.6953 GB, free: 87.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/1.444, allocations: 12.87 MB / 0.7079 GB, free: 83.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004167/1.449, allocations: 3.766 MB / 0.7116 GB, free: 82.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005465/1.454, allocations: 2.212 MB / 0.7137 GB, free: 82.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009576/1.455, allocations: 293.2 kB / 0.714 GB, free: 82.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/1.455, allocations: 0 / 0.714 GB, free: 82.12 MB / 378.7 MB Notification: Performance of Templates: time 0.07225/1.527, allocations: 41.81 MB / 0.7548 GB, free: 66.31 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)