Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.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: translateModel(ModelicaTest.MultiBody.Forces.Force,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.1_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002563/0.002568, allocations: 348.3 kB / 15.94 MB, free: 6.219 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 3.537/3.537, allocations: 341.5 MB / 358.2 MB, free: 28.76 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003505/0.003504, allocations: 217 kB / 397.8 MB, free: 6.148 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.5835/0.5835, allocations: 76.1 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004841, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09287, allocations: 48.7 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5135/0.6064, allocations: 94.72 MB / 0.6992 GB, free: 9.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.6068, allocations: 75.78 kB / 0.6993 GB, free: 9.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9088/1.516, allocations: 127.6 MB / 0.8239 GB, free: 78.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/1.516, allocations: 0 / 0.8239 GB, free: 78.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005087/1.516, allocations: 126.8 kB / 0.824 GB, free: 78.17 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: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.03116/1.547, allocations: 6.84 MB / 0.8307 GB, free: 75.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.547, allocations: 7.594 kB / 0.8307 GB, free: 75.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04287/1.59, allocations: 5.47 MB / 0.8361 GB, free: 74.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/1.611, allocations: 6.17 MB / 0.8421 GB, free: 74.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006238/1.612, allocations: 491 kB / 0.8426 GB, free: 74.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003687/1.616, allocations: 0.6499 MB / 0.8432 GB, free: 74.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04916/1.665, allocations: 16.13 MB / 0.859 GB, free: 70.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004968/1.665, allocations: 90.86 kB / 0.859 GB, free: 70.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003451/1.669, allocations: 309.9 kB / 0.8593 GB, free: 70.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003713/1.673, allocations: 1.545 MB / 0.8608 GB, free: 70.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04126/1.714, allocations: 13.13 MB / 0.8737 GB, free: 68.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.123/1.837, allocations: 72.35 MB / 0.9443 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03126/1.868, allocations: 7.335 MB / 0.9515 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0089/1.877, allocations: 3.859 MB / 0.9553 GB, free: 20 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02831/1.906, allocations: 9.602 MB / 0.9646 GB, free: 7.602 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.557e-05/1.906, allocations: 68.34 kB / 0.9647 GB, free: 7.527 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 7.414e-06/1.906, allocations: 0 / 0.9647 GB, free: 7.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.5427/2.449, allocations: 31.88 MB / 0.9958 GB, free: 84.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/2.449, allocations: 240.4 kB / 0.9961 GB, free: 84.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0215/2.47, allocations: 6.808 MB / 1.003 GB, free: 83.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/2.471, allocations: 69.66 kB / 1.003 GB, free: 83.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006713/2.478, allocations: 4.699 MB / 1.007 GB, free: 81.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00258/2.481, allocations: 1.18 MB / 1.009 GB, free: 80.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/2.482, allocations: 182.7 kB / 1.009 GB, free: 80.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009576/2.483, allocations: 0.6762 MB / 1.009 GB, free: 80.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01108/2.494, allocations: 3.559 MB / 1.013 GB, free: 80.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01366/2.508, allocations: 8.704 MB / 1.021 GB, free: 73.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/2.521, allocations: 5.448 MB / 1.027 GB, free: 72.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002449/2.522, allocations: 50.69 kB / 1.027 GB, free: 72.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03915/2.561, allocations: 13.46 MB / 1.04 GB, free: 68.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/2.561, allocations: 82.56 kB / 1.04 GB, free: 68.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003092/2.561, allocations: 179.2 kB / 1.04 GB, free: 68.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007074/2.568, allocations: 1.645 MB / 1.042 GB, free: 68.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01396/2.582, allocations: 2.109 MB / 1.044 GB, free: 67.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/2.604, allocations: 11.25 MB / 1.055 GB, free: 61.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01851/2.623, allocations: 0.5197 MB / 1.055 GB, free: 61.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003576/2.626, allocations: 0.5262 MB / 1.056 GB, free: 61.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1084): * Single equations (assignments): 1079 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01388/2.64, allocations: 3.154 MB / 1.059 GB, free: 60.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002669/2.643, allocations: 0.5832 MB / 1.059 GB, free: 59.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03098/2.674, allocations: 6.748 MB / 1.066 GB, free: 55.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.459e-05/2.674, allocations: 32 kB / 1.066 GB, free: 55.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.023e-05/2.674, allocations: 8 kB / 1.066 GB, free: 55.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.817e-05/2.674, allocations: 13.92 kB / 1.066 GB, free: 55.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05726/2.732, allocations: 15.14 MB / 1.081 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.658e-05/2.732, allocations: 4 kB / 1.081 GB, free: 43.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005965/2.738, allocations: 0.5886 MB / 1.081 GB, free: 43.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006427/2.744, allocations: 1.372 MB / 1.083 GB, free: 42.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008671/2.745, allocations: 57.88 kB / 1.083 GB, free: 42.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02079/2.766, allocations: 10.44 MB / 1.093 GB, free: 32.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/2.766, allocations: 11.12 kB / 1.093 GB, free: 32.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02796/2.794, allocations: 11.03 MB / 1.104 GB, free: 23.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004639/2.799, allocations: 1.155 MB / 1.105 GB, free: 22.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002416/2.801, allocations: 58.69 kB / 1.105 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006103/2.807, allocations: 204.7 kB / 1.105 GB, free: 21.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/2.809, allocations: 199.1 kB / 1.105 GB, free: 21.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004645/2.809, allocations: 76 kB / 1.105 GB, free: 21.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01207/2.821, allocations: 4.365 MB / 1.11 GB, free: 18.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.821, allocations: 0 / 1.11 GB, free: 18.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01246/2.834, allocations: 1.634 MB / 1.111 GB, free: 16.59 MB / 442.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 (260): * Single equations (assignments): 255 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00136/2.835, allocations: 206.3 kB / 1.111 GB, free: 16.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02108/2.856, allocations: 8.736 MB / 1.12 GB, free: 8.727 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/2.856, allocations: 4.375 kB / 1.12 GB, free: 8.723 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009579/2.866, allocations: 3.446 MB / 1.123 GB, free: 5.527 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009517/2.875, allocations: 0.7384 MB / 1.124 GB, free: 4.809 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3881/3.264, allocations: 18.01 MB / 1.142 GB, free: 88.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01568/3.279, allocations: 4.926 MB / 1.146 GB, free: 87.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01499/3.294, allocations: 2.955 MB / 1.149 GB, free: 87.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003093/3.298, allocations: 407.6 kB / 1.15 GB, free: 87.71 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/3.298, allocations: 0 / 1.15 GB, free: 87.71 MB / 458.7 MB Notification: Performance of Templates: time 0.1922/3.49, allocations: 63.2 MB / 1.211 GB, free: 76.69 MB / 458.7 MB