Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001163/0.001163, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.602/1.602, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001627/0.001627, allocations: 114 kB / 252.6 MB, free: 4.836 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.2145/0.2145, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.911e-05/3.913e-05, allocations: 8 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1228, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4759/0.5988, allocations: 101.3 MB / 0.5434 GB, free: 6.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.5992, allocations: 77.58 kB / 0.5435 GB, free: 6.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.687/1.286, allocations: 133 MB / 0.6733 GB, free: 85.03 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.286, allocations: 0 / 0.6733 GB, free: 85.03 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004313/1.287, allocations: 134.3 kB / 0.6734 GB, free: 85.02 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.03123/1.318, allocations: 6.445 MB / 0.6797 GB, free: 82.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/1.318, allocations: 8.688 kB / 0.6798 GB, free: 82.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03177/1.35, allocations: 7.129 MB / 0.6867 GB, free: 82.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02043/1.37, allocations: 7.226 MB / 0.6938 GB, free: 81.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006382/1.371, allocations: 0.5097 MB / 0.6943 GB, free: 81.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0042/1.375, allocations: 0.6677 MB / 0.6949 GB, free: 81.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04265/1.418, allocations: 16.6 MB / 0.7111 GB, free: 77.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005604/1.418, allocations: 85.94 kB / 0.7112 GB, free: 77.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003492/1.422, allocations: 328.2 kB / 0.7115 GB, free: 77.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002746/1.425, allocations: 1.562 MB / 0.713 GB, free: 77.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03396/1.459, allocations: 13.77 MB / 0.7265 GB, free: 77.62 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0887/1.547, allocations: 70.16 MB / 0.795 GB, free: 27.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/1.566, allocations: 7.839 MB / 0.8027 GB, free: 20.78 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005175/1.572, allocations: 3.883 MB / 0.8065 GB, free: 17.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/1.572, allocations: 53.47 kB / 0.8065 GB, free: 17.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/1.572, allocations: 68.36 kB / 0.8066 GB, free: 17.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 8.957e-06/1.572, allocations: 0 / 0.8066 GB, free: 17.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.07564/1.648, allocations: 28.25 MB / 0.8342 GB, free: 9.977 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/1.648, allocations: 210.1 kB / 0.8344 GB, free: 9.727 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.659, allocations: 5.564 MB / 0.8398 GB, free: 4.797 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001248/1.66, allocations: 77.7 kB / 0.8399 GB, free: 4.715 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004258/1.664, allocations: 4.59 MB / 0.8444 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3603/2.025, allocations: 1.228 MB / 0.8456 GB, free: 94.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/2.026, allocations: 174.1 kB / 0.8457 GB, free: 94.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008754/2.027, allocations: 0.6692 MB / 0.8464 GB, free: 94.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008613/2.036, allocations: 3.708 MB / 0.85 GB, free: 94.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01548/2.051, allocations: 8.517 MB / 0.8583 GB, free: 88.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/2.064, allocations: 5.564 MB / 0.8637 GB, free: 88.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003112/2.064, allocations: 49.55 kB / 0.8638 GB, free: 88.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03249/2.097, allocations: 13.58 MB / 0.8771 GB, free: 87.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002785/2.097, allocations: 78.97 kB / 0.8771 GB, free: 87.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004435/2.098, allocations: 167.9 kB / 0.8773 GB, free: 87.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004567/2.102, allocations: 1.684 MB / 0.8789 GB, free: 87.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008677/2.111, allocations: 2.089 MB / 0.881 GB, free: 87.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/2.125, allocations: 11.35 MB / 0.8921 GB, free: 84.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009459/2.134, allocations: 0.5258 MB / 0.8926 GB, free: 84.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002937/2.137, allocations: 0.4959 MB / 0.8931 GB, free: 84.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1042 * 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.002901/2.14, allocations: 0.7524 MB / 0.8938 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/2.142, allocations: 0.5581 MB / 0.8943 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/2.155, allocations: 7.423 MB / 0.9016 GB, free: 83.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.049e-05/2.155, allocations: 34.66 kB / 0.9016 GB, free: 83.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/2.155, allocations: 8.906 kB / 0.9016 GB, free: 83.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.084e-05/2.155, allocations: 24.73 kB / 0.9017 GB, free: 83.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03289/2.188, allocations: 16.26 MB / 0.9175 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/2.188, allocations: 9.031 kB / 0.9175 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003644/2.192, allocations: 0.6543 MB / 0.9182 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00355/2.195, allocations: 1.415 MB / 0.9196 GB, free: 77.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008089/2.196, allocations: 66.34 kB / 0.9196 GB, free: 77.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/2.208, allocations: 10.59 MB / 0.93 GB, free: 71.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/2.209, allocations: 7.719 kB / 0.93 GB, free: 71.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/2.227, allocations: 12.7 MB / 0.9424 GB, free: 64.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004549/2.232, allocations: 1.198 MB / 0.9436 GB, free: 63.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002054/2.234, allocations: 62.94 kB / 0.9436 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004161/2.238, allocations: 269.1 kB / 0.9439 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008066/2.239, allocations: 212.3 kB / 0.9441 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000291/2.239, allocations: 89.08 kB / 0.9442 GB, free: 62.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00688/2.246, allocations: 3.937 MB / 0.948 GB, free: 59.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/2.246, allocations: 0 / 0.948 GB, free: 59.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01053/2.257, allocations: 1.672 MB / 0.9496 GB, free: 57.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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.001022/2.258, allocations: 208.7 kB / 0.9498 GB, free: 57.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0149/2.273, allocations: 9.182 MB / 0.9588 GB, free: 49.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/2.273, allocations: 0 / 0.9588 GB, free: 49.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006441/2.279, allocations: 3.808 MB / 0.9625 GB, free: 45.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004928/2.284, allocations: 0.6715 MB / 0.9632 GB, free: 45.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/2.314, allocations: 13.41 MB / 0.9763 GB, free: 33.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007345/2.321, allocations: 4.976 MB / 0.9811 GB, free: 29.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00801/2.329, allocations: 2.93 MB / 0.984 GB, free: 27.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/2.331, allocations: 393.7 kB / 0.9844 GB, free: 27.27 MB / 490.7 MB Notification: Performance of SimCode: time 2.164e-06/2.331, allocations: 0 / 0.9844 GB, free: 27.27 MB / 490.7 MB Notification: Performance of Templates: time 0.4461/2.777, allocations: 63.26 MB / 1.046 GB, free: 93.39 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)