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.001408/0.001409, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.517/1.517, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.001883/0.001882, allocations: 114.9 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1981/0.1981, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.718e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 54.88 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5607, allocations: 98.9 MB / 0.5343 GB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.561, allocations: 73.91 kB / 0.5343 GB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6959/1.257, allocations: 166.4 MB / 0.6968 GB, free: 80.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.257, allocations: 0 / 0.6968 GB, free: 80.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000779/1.258, allocations: 170.9 kB / 0.697 GB, free: 80.26 MB / 474.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.02843/1.286, allocations: 8.256 MB / 0.705 GB, free: 77.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.286, allocations: 8.469 kB / 0.7051 GB, free: 77.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04567/1.332, allocations: 12.09 MB / 0.7169 GB, free: 76.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02811/1.36, allocations: 10.93 MB / 0.7275 GB, free: 75.44 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006824/1.361, allocations: 275.9 kB / 0.7278 GB, free: 75.44 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005075/1.366, allocations: 0.5094 MB / 0.7283 GB, free: 75.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02374/1.39, allocations: 11.44 MB / 0.7395 GB, free: 75.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04296/1.433, allocations: 17.19 MB / 0.7562 GB, free: 68.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005786/1.433, allocations: 110.2 kB / 0.7564 GB, free: 68.58 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003792/1.437, allocations: 46.91 kB / 0.7564 GB, free: 68.58 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002529/1.44, allocations: 1.815 MB / 0.7582 GB, free: 68.27 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08706/1.527, allocations: 78.8 MB / 0.8351 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008138/1.535, allocations: 5.851 MB / 0.8408 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005314/1.54, allocations: 4.002 MB / 0.8447 GB, free: 5.285 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008435/1.541, allocations: 0.6636 MB / 0.8454 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.046e-05/1.541, allocations: 73.14 kB / 0.8455 GB, free: 4.484 MB / 490.7 MB Notification: Performance of pre-optimization done (n=311): time 6.292e-06/1.541, allocations: 0 / 0.8455 GB, free: 4.484 MB / 490.7 MB Notification: Performance of matching and sorting (n=338): time 0.3349/1.876, allocations: 33.68 MB / 0.8784 GB, free: 83.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.747e-05/1.876, allocations: 300 kB / 0.8786 GB, free: 83.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008512/1.885, allocations: 5.516 MB / 0.884 GB, free: 82.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008495/1.886, allocations: 25.7 kB / 0.8841 GB, free: 82.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003546/1.889, allocations: 5.958 MB / 0.8899 GB, free: 79.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001953/1.891, allocations: 1.239 MB / 0.8911 GB, free: 78.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006174/1.892, allocations: 6.281 kB / 0.8911 GB, free: 78.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000509/1.892, allocations: 0.7281 MB / 0.8918 GB, free: 78.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00414/1.896, allocations: 3.334 MB / 0.8951 GB, free: 78.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006579/1.903, allocations: 9.237 MB / 0.9041 GB, free: 71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006791/1.91, allocations: 5.484 MB / 0.9094 GB, free: 70.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.49e-05/1.91, allocations: 64.19 kB / 0.9095 GB, free: 70.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.01806/1.928, allocations: 12.13 MB / 0.9213 GB, free: 69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.928, allocations: 94.59 kB / 0.9214 GB, free: 69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001894/1.928, allocations: 210.5 kB / 0.9216 GB, free: 69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/1.931, allocations: 1.044 MB / 0.9226 GB, free: 68.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007473/1.938, allocations: 2.342 MB / 0.9249 GB, free: 68.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009844/1.948, allocations: 10.87 MB / 0.9355 GB, free: 61.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008183/1.956, allocations: 349 kB / 0.9359 GB, free: 60.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/1.958, allocations: 0.5911 MB / 0.9365 GB, free: 60.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * 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.002424/1.961, allocations: 0.6359 MB / 0.9371 GB, free: 60.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.962, allocations: 0.5982 MB / 0.9377 GB, free: 60.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008876/1.971, allocations: 5.684 MB / 0.9432 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/1.971, allocations: 36.34 kB / 0.9432 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/1.971, allocations: 7.188 kB / 0.9433 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/1.971, allocations: 18.08 kB / 0.9433 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02655/1.998, allocations: 13.39 MB / 0.9563 GB, free: 53.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.998, allocations: 3.688 kB / 0.9563 GB, free: 53.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/2.001, allocations: 0.5605 MB / 0.9569 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/2.002, allocations: 0.6908 MB / 0.9576 GB, free: 52.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003111/2.003, allocations: 12.45 kB / 0.9576 GB, free: 52.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008275/2.011, allocations: 9.708 MB / 0.9671 GB, free: 44.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/2.011, allocations: 7.938 kB / 0.9671 GB, free: 44.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/2.023, allocations: 9.748 MB / 0.9766 GB, free: 35.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003318/2.026, allocations: 1.076 MB / 0.9776 GB, free: 34.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/2.028, allocations: 4 kB / 0.9776 GB, free: 34.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003948/2.032, allocations: 144.3 kB / 0.9778 GB, free: 34.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005692/2.033, allocations: 201.3 kB / 0.978 GB, free: 34.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/2.033, allocations: 90.38 kB / 0.9781 GB, free: 34.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007507/2.041, allocations: 3.752 MB / 0.9817 GB, free: 30.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/2.041, allocations: 0 / 0.9817 GB, free: 30.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01111/2.052, allocations: 1.626 MB / 0.9833 GB, free: 29.32 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 272 * 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.001061/2.053, allocations: 153.6 kB / 0.9835 GB, free: 29.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01196/2.065, allocations: 8.467 MB / 0.9917 GB, free: 21.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/2.065, allocations: 0.7031 kB / 0.9917 GB, free: 21.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00355/2.068, allocations: 3.114 MB / 0.9948 GB, free: 18.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004289/2.073, allocations: 0.7357 MB / 0.9955 GB, free: 18.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/2.105, allocations: 14.78 MB / 1.01 GB, free: 4.883 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.011/2.116, allocations: 6.129 MB / 1.016 GB, free: 432 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0132/2.129, allocations: 3.372 MB / 1.019 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002205/2.131, allocations: 420.4 kB / 1.02 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/2.131, allocations: 7.938 kB / 1.02 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.3889/2.52, allocations: 58.53 MB / 1.077 GB, free: 86.36 MB / 0.4948 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)