Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01015/0.01015, allocations: 163.6 kB / 15.12 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.699/1.699, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001794/0.001794, allocations: 102.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4398/0.4398, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004825, allocations: 19.94 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1018, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4144/0.5162, allocations: 109.4 MB / 0.5089 GB, free: 11.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.08122/0.5975, allocations: 21.65 MB / 0.53 GB, free: 9.301 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03168/0.6292, allocations: 0.5027 MB / 0.5305 GB, free: 8.797 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02492/0.6542, allocations: 5.393 MB / 0.5358 GB, free: 3.379 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06607/0.7203, allocations: 18.22 MB / 0.5536 GB, free: 1.078 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009464/0.7298, allocations: 1.258 MB / 0.5548 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.5209/1.251, allocations: 54.71 MB / 0.6082 GB, free: 30.96 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02404/1.275, allocations: 10.05 MB / 0.618 GB, free: 30.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007438/1.282, allocations: 2.602 MB / 0.6206 GB, free: 30.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/1.293, allocations: 4.308 MB / 0.6248 GB, free: 30.18 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00322/1.296, allocations: 311.8 kB / 0.6251 GB, free: 30.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006308/1.303, allocations: 1.239 MB / 0.6263 GB, free: 30.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007303/1.31, allocations: 3.733 MB / 0.6299 GB, free: 29.58 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00456/1.315, allocations: 1.728 MB / 0.6316 GB, free: 29.55 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01725/1.332, allocations: 11.9 MB / 0.6432 GB, free: 19.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/1.332, allocations: 3.984 kB / 0.6432 GB, free: 19.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.996e-06/1.332, allocations: 4 kB / 0.6432 GB, free: 19.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006088/1.333, allocations: 3.188 kB / 0.6432 GB, free: 19.79 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: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.04731/1.38, allocations: 8.792 MB / 0.6518 GB, free: 11.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/1.38, allocations: 10.75 kB / 0.6518 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00763/1.388, allocations: 1.389 MB / 0.6532 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1895/1.577, allocations: 10.82 MB / 0.6638 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0367/1.614, allocations: 7.988 MB / 0.6716 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001096/1.615, allocations: 0.4903 MB / 0.672 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005157/1.62, allocations: 0.6593 MB / 0.6727 GB, free: 10.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0817/1.702, allocations: 19.71 MB / 0.6919 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005618/1.703, allocations: 84.69 kB / 0.692 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00349/1.706, allocations: 310.4 kB / 0.6923 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01111/1.717, allocations: 3.382 MB / 0.6956 GB, free: 8.359 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05951/1.777, allocations: 16.18 MB / 0.7114 GB, free: 13.06 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7518/2.529, allocations: 72.02 MB / 0.7818 GB, free: 190.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03747/2.566, allocations: 8.25 MB / 0.7898 GB, free: 189.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00965/2.576, allocations: 4.281 MB / 0.794 GB, free: 189.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/2.577, allocations: 0.6706 MB / 0.7946 GB, free: 188.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/2.577, allocations: 69.91 kB / 0.7947 GB, free: 188.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 6.893e-06/2.577, allocations: 3.5 kB / 0.7947 GB, free: 188.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.1546/2.732, allocations: 32 MB / 0.826 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/2.732, allocations: 293.2 kB / 0.8263 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01988/2.752, allocations: 7.791 MB / 0.8339 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001084/2.753, allocations: 80.77 kB / 0.8339 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005847/2.759, allocations: 5.827 MB / 0.8396 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002151/2.761, allocations: 1.266 MB / 0.8409 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/2.763, allocations: 192.8 kB / 0.841 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007649/2.764, allocations: 0.708 MB / 0.8417 GB, free: 170.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009856/2.773, allocations: 3.649 MB / 0.8453 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01416/2.788, allocations: 9.305 MB / 0.8544 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/2.801, allocations: 5.664 MB / 0.8599 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002062/2.801, allocations: 58.31 kB / 0.86 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.03823/2.84, allocations: 13.74 MB / 0.8734 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/2.84, allocations: 88 kB / 0.8735 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002827/2.84, allocations: 200 kB / 0.8737 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005568/2.846, allocations: 1.353 MB / 0.875 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01485/2.861, allocations: 2.226 MB / 0.8772 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0211/2.882, allocations: 12.71 MB / 0.8896 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/2.894, allocations: 0.5345 MB / 0.8901 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002295/2.896, allocations: 0.5596 MB / 0.8906 GB, free: 129.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * 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 (1171): * Single equations (assignments): 1164 * 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.01038/2.906, allocations: 3.882 MB / 0.8944 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/2.909, allocations: 0.6774 MB / 0.8951 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0193/2.928, allocations: 6.505 MB / 0.9014 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-05/2.928, allocations: 32.62 kB / 0.9015 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.995e-05/2.928, allocations: 12 kB / 0.9015 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.802e-05/2.928, allocations: 16.59 kB / 0.9015 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04931/2.977, allocations: 15.88 MB / 0.917 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.947e-05/2.978, allocations: 0 / 0.917 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005907/2.983, allocations: 0.5656 MB / 0.9176 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/2.988, allocations: 0.9872 MB / 0.9185 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008598/2.989, allocations: 56.7 kB / 0.9186 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/3.008, allocations: 11.57 MB / 0.9299 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/3.008, allocations: 112 / 0.9299 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02789/3.036, allocations: 10.54 MB / 0.9402 GB, free: 78.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005192/3.041, allocations: 1.234 MB / 0.9414 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003207/3.045, allocations: 56 kB / 0.9414 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006733/3.051, allocations: 211.7 kB / 0.9416 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/3.053, allocations: 197.7 kB / 0.9418 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006808/3.053, allocations: 87.11 kB / 0.9419 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01317/3.066, allocations: 4.977 MB / 0.9468 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/3.067, allocations: 0 / 0.9468 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0136/3.08, allocations: 1.893 MB / 0.9486 GB, free: 69.74 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.02892/3.109, allocations: 11.24 MB / 0.9596 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02174/3.131, allocations: 9.213 MB / 0.9686 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/3.131, allocations: 4 kB / 0.9686 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007938/3.139, allocations: 3.384 MB / 0.9719 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/3.15, allocations: 0.968 MB / 0.9728 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5428/3.693, allocations: 77.17 MB / 1.048 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01683/3.71, allocations: 6.115 MB / 1.054 GB, free: 169.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01739/3.727, allocations: 3.086 MB / 1.057 GB, free: 169.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0103/3.738, allocations: 4.043 MB / 1.061 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.174e-06/3.738, allocations: 3.812 kB / 1.061 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.361/4.099, allocations: 152.3 MB / 1.21 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/4.099, allocations: 204.2 kB / 1.21 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.656/13.76, allocations: 7.828 kB / 1.21 GB, free: 27.9 MB / 0.5105 GB