Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01303/0.01303, allocations: 173.1 kB / 15.12 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.725/1.725, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001809/0.00181, allocations: 120.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2019/0.2019, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 12.25 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.108, allocations: 54.87 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.4939, allocations: 99.65 MB / 0.5475 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4942, allocations: 79.27 kB / 0.5476 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4087/0.9029, allocations: 169.9 MB / 0.7136 GB, free: 7.773 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.9029, allocations: 0 / 0.7136 GB, free: 7.773 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006824/0.9036, allocations: 179.9 kB / 0.7137 GB, free: 7.598 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.4516/1.355, allocations: 9.018 MB / 0.7226 GB, free: 65.52 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.355, allocations: 10.22 kB / 0.7226 GB, free: 65.52 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04587/1.401, allocations: 12.08 MB / 0.7344 GB, free: 64.94 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02501/1.426, allocations: 10.99 MB / 0.7451 GB, free: 64.44 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006419/1.427, allocations: 0.6313 MB / 0.7457 GB, free: 64.42 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004697/1.432, allocations: 0.8559 MB / 0.7466 GB, free: 64.41 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0442/1.476, allocations: 19.99 MB / 0.7661 GB, free: 60.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004875/1.476, allocations: 120.5 kB / 0.7662 GB, free: 60.23 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00296/1.479, allocations: 398.1 kB / 0.7666 GB, free: 60.23 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002519/1.482, allocations: 1.814 MB / 0.7683 GB, free: 60.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03295/1.515, allocations: 16.29 MB / 0.7842 GB, free: 60.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09399/1.609, allocations: 82.1 MB / 0.8644 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01974/1.629, allocations: 8.137 MB / 0.8724 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007953/1.63, allocations: 0.6737 MB / 0.873 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.76e-05/1.63, allocations: 72.28 kB / 0.8731 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 8.626e-06/1.63, allocations: 3.938 kB / 0.8731 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.0771/1.707, allocations: 30.93 MB / 0.9033 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/1.707, allocations: 302 kB / 0.9036 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/1.72, allocations: 6.867 MB / 0.9103 GB, free: 256 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008069/1.721, allocations: 77.7 kB / 0.9104 GB, free: 172 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.2588/1.98, allocations: 5.913 MB / 0.9162 GB, free: 95.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.982, allocations: 1.268 MB / 0.9174 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000984/1.983, allocations: 196.9 kB / 0.9176 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005771/1.983, allocations: 0.7089 MB / 0.9183 GB, free: 94.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006324/1.99, allocations: 3.528 MB / 0.9217 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/2.001, allocations: 9.193 MB / 0.9307 GB, free: 87.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/2.011, allocations: 5.566 MB / 0.9361 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000288/2.012, allocations: 59 kB / 0.9362 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02554/2.037, allocations: 13.35 MB / 0.9492 GB, free: 86.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/2.037, allocations: 88.31 kB / 0.9493 GB, free: 86.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/2.037, allocations: 202.2 kB / 0.9495 GB, free: 86.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/2.04, allocations: 1.058 MB / 0.9505 GB, free: 86.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006877/2.047, allocations: 2.249 MB / 0.9527 GB, free: 86.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009883/2.056, allocations: 11.47 MB / 0.9639 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007861/2.064, allocations: 0.5243 MB / 0.9644 GB, free: 80.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/2.066, allocations: 0.5727 MB / 0.965 GB, free: 80.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007998/2.074, allocations: 3.879 MB / 0.9688 GB, free: 80.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/2.076, allocations: 0.6791 MB / 0.9694 GB, free: 80.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/2.086, allocations: 6.03 MB / 0.9753 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-05/2.086, allocations: 36.41 kB / 0.9754 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.71e-05/2.086, allocations: 7.625 kB / 0.9754 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.872e-05/2.086, allocations: 22.72 kB / 0.9754 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03481/2.121, allocations: 15.1 MB / 0.9902 GB, free: 76.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/2.121, allocations: 2.188 kB / 0.9902 GB, free: 76.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002835/2.124, allocations: 0.5697 MB / 0.9907 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001992/2.126, allocations: 0.6932 MB / 0.9914 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003718/2.126, allocations: 60.72 kB / 0.9914 GB, free: 76.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009069/2.135, allocations: 10.33 MB / 1.002 GB, free: 68.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/2.135, allocations: 0 / 1.002 GB, free: 68.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/2.15, allocations: 10.21 MB / 1.012 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004432/2.154, allocations: 1.187 MB / 1.013 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002354/2.156, allocations: 52.47 kB / 1.013 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005694/2.162, allocations: 201.5 kB / 1.013 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/2.164, allocations: 192.4 kB / 1.013 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009687/2.165, allocations: 85.88 kB / 1.013 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01117/2.176, allocations: 4.918 MB / 1.018 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.744e-06/2.176, allocations: 0 / 1.018 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01554/2.191, allocations: 1.869 MB / 1.02 GB, free: 61.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/2.193, allocations: 214.7 kB / 1.02 GB, free: 61.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.207, allocations: 8.987 MB / 1.029 GB, free: 58.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/2.207, allocations: 6.094 kB / 1.029 GB, free: 58.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00462/2.212, allocations: 3.241 MB / 1.032 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006426/2.218, allocations: 0.9303 MB / 1.033 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03901/2.258, allocations: 21.4 MB / 1.054 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01287/2.27, allocations: 6.12 MB / 1.06 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0107/2.281, allocations: 3.086 MB / 1.063 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002422/2.284, allocations: 461.8 kB / 1.063 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of SimCode: time 2.264e-06/2.284, allocations: 0 / 1.063 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.3609/2.645, allocations: 69.31 MB / 1.131 GB, free: 71.21 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)