Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007346/0.007346, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.447/1.447, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001875/0.001874, allocations: 111.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3752/0.3752, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003954, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1189, allocations: 48.71 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.499, allocations: 96.13 MB / 0.4958 GB, free: 7.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4993, allocations: 77.14 kB / 0.4959 GB, free: 7.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5887/1.088, allocations: 138.1 MB / 0.6308 GB, free: 71.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.088, allocations: 0 / 0.6308 GB, free: 71.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004735/1.089, allocations: 138.1 kB / 0.6309 GB, free: 71.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.02887/1.117, allocations: 7.285 MB / 0.638 GB, free: 68.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.117, allocations: 7.406 kB / 0.638 GB, free: 68.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02853/1.146, allocations: 7.179 MB / 0.645 GB, free: 68.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02151/1.168, allocations: 7.568 MB / 0.6524 GB, free: 67.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000638/1.168, allocations: 0.5187 MB / 0.6529 GB, free: 67.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003992/1.172, allocations: 0.6765 MB / 0.6536 GB, free: 67.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04708/1.219, allocations: 17.22 MB / 0.6704 GB, free: 59.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005922/1.22, allocations: 90.44 kB / 0.6705 GB, free: 59.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004221/1.224, allocations: 330.5 kB / 0.6708 GB, free: 59.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/1.227, allocations: 1.622 MB / 0.6724 GB, free: 59.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03332/1.26, allocations: 14.36 MB / 0.6864 GB, free: 54.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3755/1.636, allocations: 72.24 MB / 0.757 GB, free: 72.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01986/1.656, allocations: 7.193 MB / 0.764 GB, free: 71.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02049/1.676, allocations: 9.475 MB / 0.7732 GB, free: 70.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/1.676, allocations: 60.97 kB / 0.7733 GB, free: 70.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=297): time 1.012e-05/1.676, allocations: 1.547 kB / 0.7733 GB, free: 70.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=339): time 0.097/1.773, allocations: 32.17 MB / 0.8047 GB, free: 64.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/1.774, allocations: 248.4 kB / 0.805 GB, free: 64.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01491/1.788, allocations: 5.949 MB / 0.8108 GB, free: 64.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001353/1.79, allocations: 72.58 kB / 0.8108 GB, free: 64.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00458/1.794, allocations: 4.809 MB / 0.8155 GB, free: 60.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002627/1.797, allocations: 1.262 MB / 0.8168 GB, free: 59.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/1.798, allocations: 176.4 kB / 0.8169 GB, free: 59.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006218/1.799, allocations: 0.6876 MB / 0.8176 GB, free: 58.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006665/1.806, allocations: 3.736 MB / 0.8213 GB, free: 57.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01093/1.817, allocations: 8.76 MB / 0.8298 GB, free: 49.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009586/1.826, allocations: 5.603 MB / 0.8353 GB, free: 47.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001801/1.826, allocations: 49.72 kB / 0.8353 GB, free: 47.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03311/1.86, allocations: 13.83 MB / 0.8488 GB, free: 43.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003635/1.86, allocations: 79.72 kB / 0.8489 GB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005446/1.861, allocations: 184 kB / 0.8491 GB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004668/1.865, allocations: 1.697 MB / 0.8507 GB, free: 43.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008705/1.874, allocations: 2.117 MB / 0.8528 GB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.889, allocations: 11.72 MB / 0.8643 GB, free: 36.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/1.899, allocations: 0.5303 MB / 0.8648 GB, free: 36.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002673/1.902, allocations: 0.5225 MB / 0.8653 GB, free: 35.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1089): * Single equations (assignments): 1084 * 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%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01045/1.913, allocations: 3.279 MB / 0.8685 GB, free: 33.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/1.915, allocations: 0.5823 MB / 0.8691 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/1.93, allocations: 7.521 MB / 0.8764 GB, free: 26.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/1.93, allocations: 39.95 kB / 0.8764 GB, free: 26.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.512e-05/1.93, allocations: 8 kB / 0.8764 GB, free: 26.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-05/1.93, allocations: 21.62 kB / 0.8765 GB, free: 26.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03424/1.964, allocations: 16.08 MB / 0.8922 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-05/1.964, allocations: 4 kB / 0.8922 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003387/1.968, allocations: 0.6359 MB / 0.8928 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/1.971, allocations: 1.415 MB / 0.8942 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006066/1.972, allocations: 60 kB / 0.8942 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/1.984, allocations: 10.93 MB / 0.9049 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.984, allocations: 11.94 kB / 0.9049 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02865/2.012, allocations: 13.39 MB / 0.918 GB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004215/2.016, allocations: 1.204 MB / 0.9192 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/2.018, allocations: 61.02 kB / 0.9192 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003845/2.022, allocations: 229.6 kB / 0.9194 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006637/2.023, allocations: 205.9 kB / 0.9196 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/2.023, allocations: 87.98 kB / 0.9197 GB, free: 5.855 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.3298/2.353, allocations: 4.279 MB / 0.9239 GB, free: 83.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.62e-07/2.353, allocations: 0 / 0.9239 GB, free: 83.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01264/2.365, allocations: 1.699 MB / 0.9256 GB, free: 83.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/2.367, allocations: 210.5 kB / 0.9258 GB, free: 83.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01664/2.383, allocations: 9.184 MB / 0.9347 GB, free: 82.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/2.383, allocations: 0.7656 kB / 0.9347 GB, free: 82.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00645/2.39, allocations: 3.713 MB / 0.9384 GB, free: 82.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006051/2.396, allocations: 0.7102 MB / 0.9391 GB, free: 82.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03485/2.431, allocations: 18.96 MB / 0.9576 GB, free: 75.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/2.442, allocations: 5.171 MB / 0.9626 GB, free: 74.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01075/2.453, allocations: 2.973 MB / 0.9655 GB, free: 74.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/2.456, allocations: 417.8 kB / 0.9659 GB, free: 74.64 MB / 458.7 MB Notification: Performance of SimCode: time 2.214e-06/2.456, allocations: 0 / 0.9659 GB, free: 74.64 MB / 458.7 MB Notification: Performance of Templates: time 0.1184/2.574, allocations: 64.79 MB / 1.029 GB, free: 56.32 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)