Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004227/0.004232, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.326/4.326, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003674/0.003673, allocations: 226 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5242/0.5242, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004786, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/0.6001, allocations: 102.9 MB / 0.7806 GB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.6005, allocations: 81.33 kB / 0.7807 GB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043/1.644, allocations: 137.4 MB / 0.9149 GB, free: 87.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.347e-06/1.644, allocations: 1 kB / 0.9149 GB, free: 87.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005559/1.645, allocations: 140.5 kB / 0.915 GB, free: 87.89 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03086/1.676, allocations: 7.046 MB / 0.9219 GB, free: 85.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.676, allocations: 7.812 kB / 0.9219 GB, free: 85.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0434/1.719, allocations: 5.54 MB / 0.9273 GB, free: 84.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01949/1.739, allocations: 6.337 MB / 0.9335 GB, free: 83.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006588/1.739, allocations: 0.5198 MB / 0.934 GB, free: 83.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003916/1.743, allocations: 0.689 MB / 0.9347 GB, free: 83.65 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05153/1.795, allocations: 17.11 MB / 0.9514 GB, free: 79.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000474/1.795, allocations: 90.31 kB / 0.9515 GB, free: 79.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003337/1.799, allocations: 332.9 kB / 0.9518 GB, free: 79.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003561/1.802, allocations: 1.624 MB / 0.9534 GB, free: 79.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04453/1.847, allocations: 14.19 MB / 0.9672 GB, free: 77.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1267/1.974, allocations: 72.17 MB / 1.038 GB, free: 19.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04636/2.02, allocations: 7.064 MB / 1.045 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01077/2.031, allocations: 3.977 MB / 1.048 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02364/2.055, allocations: 9.424 MB / 1.058 GB, free: 1.957 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/2.055, allocations: 72.81 kB / 1.058 GB, free: 1.879 MB / 474.7 MB Notification: Performance of pre-optimization done (n=297): time 7.594e-06/2.055, allocations: 0 / 1.058 GB, free: 1.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.5235/2.578, allocations: 32.09 MB / 1.089 GB, free: 92.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/2.578, allocations: 245.6 kB / 1.089 GB, free: 92.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01998/2.598, allocations: 6.662 MB / 1.096 GB, free: 92.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009798/2.599, allocations: 78.39 kB / 1.096 GB, free: 92.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005099/2.605, allocations: 4.82 MB / 1.101 GB, free: 89.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002377/2.607, allocations: 1.262 MB / 1.102 GB, free: 89.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/2.609, allocations: 178.7 kB / 1.102 GB, free: 89.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009337/2.61, allocations: 0.6787 MB / 1.103 GB, free: 88.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009948/2.62, allocations: 3.733 MB / 1.106 GB, free: 88.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/2.633, allocations: 8.794 MB / 1.115 GB, free: 82.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/2.647, allocations: 5.6 MB / 1.12 GB, free: 82.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002164/2.647, allocations: 50.25 kB / 1.12 GB, free: 82.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03888/2.686, allocations: 13.8 MB / 1.134 GB, free: 79.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/2.686, allocations: 79.62 kB / 1.134 GB, free: 79.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003198/2.686, allocations: 177 kB / 1.134 GB, free: 79.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007116/2.694, allocations: 1.667 MB / 1.136 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/2.708, allocations: 2.126 MB / 1.138 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02165/2.73, allocations: 11.39 MB / 1.149 GB, free: 72.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/2.742, allocations: 0.5237 MB / 1.149 GB, free: 72.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002315/2.744, allocations: 0.5195 MB / 1.15 GB, free: 72.21 MB / 490.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.01001/2.754, allocations: 3.282 MB / 1.153 GB, free: 70.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/2.756, allocations: 0.5818 MB / 1.154 GB, free: 70.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02469/2.781, allocations: 7.48 MB / 1.161 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.769e-05/2.781, allocations: 33.75 kB / 1.161 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.304e-05/2.781, allocations: 10.12 kB / 1.161 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.581e-05/2.781, allocations: 17.14 kB / 1.161 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05505/2.836, allocations: 16.03 MB / 1.177 GB, free: 61.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.042e-05/2.837, allocations: 3.781 kB / 1.177 GB, free: 61.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006585/2.843, allocations: 0.6292 MB / 1.177 GB, free: 61.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006458/2.85, allocations: 1.383 MB / 1.179 GB, free: 61.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009354/2.851, allocations: 71.78 kB / 1.179 GB, free: 61.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02096/2.872, allocations: 10.61 MB / 1.189 GB, free: 51.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/2.872, allocations: 7.938 kB / 1.189 GB, free: 51.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03019/2.902, allocations: 11.84 MB / 1.201 GB, free: 41.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004796/2.907, allocations: 1.203 MB / 1.202 GB, free: 40.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002641/2.909, allocations: 56.62 kB / 1.202 GB, free: 40.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006571/2.916, allocations: 226.3 kB / 1.202 GB, free: 40.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001332/2.917, allocations: 213.2 kB / 1.202 GB, free: 40.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005773/2.918, allocations: 91.47 kB / 1.202 GB, free: 39.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01166/2.93, allocations: 4.279 MB / 1.207 GB, free: 36.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.93, allocations: 0 / 1.207 GB, free: 36.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01232/2.942, allocations: 1.695 MB / 1.208 GB, free: 34.77 MB / 490.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.001391/2.944, allocations: 221.3 kB / 1.209 GB, free: 34.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02512/2.969, allocations: 9.179 MB / 1.218 GB, free: 26.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/2.969, allocations: 0 / 1.218 GB, free: 26.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01249/2.981, allocations: 3.696 MB / 1.221 GB, free: 23.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009249/2.991, allocations: 0.7673 MB / 1.222 GB, free: 22.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04508/3.036, allocations: 19.02 MB / 1.24 GB, free: 5.289 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01246/3.048, allocations: 5.175 MB / 1.245 GB, free: 1.484 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01504/3.063, allocations: 2.966 MB / 1.248 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003312/3.067, allocations: 415.3 kB / 1.249 GB, free: 14.7 MB / 0.4949 GB Notification: Performance of SimCode: time 1.813e-06/3.067, allocations: 0 / 1.249 GB, free: 14.7 MB / 0.4949 GB Notification: Performance of Templates: time 0.6305/3.697, allocations: 64.9 MB / 1.312 GB, free: 93.96 MB / 0.4949 GB