Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005043/0.005051, allocations: 363.2 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.432/4.432, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.003568/0.003567, allocations: 237.6 kB / 451 MB, free: 145 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.5166/0.5166, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004884, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5085/0.6178, allocations: 101.6 MB / 0.7793 GB, free: 36 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/0.6182, allocations: 84.95 kB / 0.7794 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067/1.685, allocations: 177.3 MB / 0.9525 GB, free: 84.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.685, allocations: 0 / 0.9525 GB, free: 84.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000642/1.686, allocations: 183.9 kB / 0.9527 GB, free: 84.25 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: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.04305/1.729, allocations: 9.158 MB / 0.9617 GB, free: 80.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.729, allocations: 7.125 kB / 0.9617 GB, free: 80.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05941/1.789, allocations: 7.411 MB / 0.9689 GB, free: 79.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02882/1.818, allocations: 8.532 MB / 0.9772 GB, free: 78.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/1.819, allocations: 0.6891 MB / 0.9779 GB, free: 78.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005678/1.824, allocations: 0.9329 MB / 0.9788 GB, free: 78.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0726/1.897, allocations: 22.16 MB / 1 GB, free: 64.19 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007063/1.898, allocations: 111 kB / 1.001 GB, free: 64.08 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005086/1.903, allocations: 446.6 kB / 1.001 GB, free: 63.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004727/1.908, allocations: 2.074 MB / 1.003 GB, free: 61.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05933/1.967, allocations: 18.44 MB / 1.021 GB, free: 43.15 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6017/2.569, allocations: 91.35 MB / 1.11 GB, free: 33.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04074/2.61, allocations: 9.241 MB / 1.119 GB, free: 32.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01193/2.622, allocations: 5.692 MB / 1.125 GB, free: 32.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/2.622, allocations: 88.06 kB / 1.125 GB, free: 32.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.051e-05/2.622, allocations: 83.25 kB / 1.125 GB, free: 32.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=412): time 9.488e-06/2.622, allocations: 0 / 1.125 GB, free: 32.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=475): time 0.1999/2.822, allocations: 45.22 MB / 1.169 GB, free: 23.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/2.822, allocations: 287.9 kB / 1.169 GB, free: 23.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02213/2.845, allocations: 8.271 MB / 1.177 GB, free: 20.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001419/2.846, allocations: 99.94 kB / 1.178 GB, free: 20.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00663/2.853, allocations: 6.103 MB / 1.184 GB, free: 16.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003245/2.856, allocations: 1.746 MB / 1.185 GB, free: 14.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002305/2.858, allocations: 222.4 kB / 1.185 GB, free: 14.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001248/2.86, allocations: 0.78 MB / 1.186 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01385/2.874, allocations: 5.042 MB / 1.191 GB, free: 12.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01806/2.892, allocations: 11.13 MB / 1.202 GB, free: 2.641 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/2.909, allocations: 7.331 MB / 1.209 GB, free: 52 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002484/2.91, allocations: 63.75 kB / 1.209 GB, free: 52 kB / 490.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.09964/3.009, allocations: 18.42 MB / 1.227 GB, free: 2.32 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004104/3.01, allocations: 99.28 kB / 1.227 GB, free: 2.227 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008405/3.011, allocations: 212 kB / 1.228 GB, free: 2.02 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01529/3.026, allocations: 2.421 MB / 1.23 GB, free: 236 kB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02257/3.049, allocations: 2.779 MB / 1.233 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03895/3.088, allocations: 16.94 MB / 1.249 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01644/3.104, allocations: 0.6618 MB / 1.25 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00338/3.108, allocations: 0.6473 MB / 1.25 GB, free: 13.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1362): * Single equations (assignments): 1356 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01398/3.122, allocations: 4.192 MB / 1.255 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002922/3.124, allocations: 0.7482 MB / 1.255 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03662/3.161, allocations: 10.73 MB / 1.266 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/3.161, allocations: 52 kB / 1.266 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.147e-05/3.161, allocations: 12 kB / 1.266 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001388/3.162, allocations: 29.36 kB / 1.266 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4771/3.639, allocations: 22.88 MB / 1.288 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.439e-05/3.639, allocations: 4.609 kB / 1.288 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009649/3.648, allocations: 0.8765 MB / 1.289 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/3.659, allocations: 2.087 MB / 1.291 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/3.66, allocations: 87.97 kB / 1.291 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03386/3.694, allocations: 15.72 MB / 1.307 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/3.694, allocations: 5.781 kB / 1.307 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04604/3.74, allocations: 16.99 MB / 1.323 GB, free: 134.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006213/3.746, allocations: 1.609 MB / 1.325 GB, free: 134.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003381/3.75, allocations: 86.66 kB / 1.325 GB, free: 134.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008934/3.759, allocations: 341.8 kB / 1.325 GB, free: 134.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001907/3.761, allocations: 293.1 kB / 1.325 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008415/3.762, allocations: 124.4 kB / 1.325 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01465/3.776, allocations: 5.268 MB / 1.331 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.032e-06/3.776, allocations: 0 / 1.331 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01593/3.792, allocations: 2.276 MB / 1.333 GB, free: 132.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.001921/3.794, allocations: 239.3 kB / 1.333 GB, free: 132 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02984/3.824, allocations: 12.55 MB / 1.345 GB, free: 128 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/3.824, allocations: 3.656 kB / 1.345 GB, free: 128 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01491/3.839, allocations: 5.359 MB / 1.351 GB, free: 125.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01221/3.851, allocations: 1.006 MB / 1.352 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06215/3.914, allocations: 25.45 MB / 1.376 GB, free: 113 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01744/3.931, allocations: 6.58 MB / 1.383 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02042/3.952, allocations: 3.768 MB / 1.387 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00446/3.956, allocations: 0.5312 MB / 1.387 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.614e-06/3.956, allocations: 0 / 1.387 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.7329/4.689, allocations: 88.37 MB / 1.473 GB, free: 139.4 MB / 0.5417 GB