Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,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|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004776/0.004781, allocations: 347.2 kB / 15.93 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.77/3.77, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003617/0.003616, allocations: 222.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5014/0.5014, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007291/0.0007295, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1171, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.577, allocations: 97.16 MB / 0.7016 GB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5774, allocations: 87.02 kB / 0.7017 GB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199/1.776, allocations: 221.3 MB / 0.9179 GB, free: 7.727 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.776, allocations: 4 kB / 0.9179 GB, free: 7.723 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000887/1.777, allocations: 239.9 kB / 0.9181 GB, free: 7.488 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: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.8104/2.587, allocations: 11.87 MB / 0.9297 GB, free: 30.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/2.588, allocations: 11.03 kB / 0.9297 GB, free: 30.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0873/2.675, allocations: 9.345 MB / 0.9388 GB, free: 30.08 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03932/2.714, allocations: 11.12 MB / 0.9497 GB, free: 29.41 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001514/2.716, allocations: 0.9026 MB / 0.9506 GB, free: 29.38 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007406/2.723, allocations: 1.198 MB / 0.9517 GB, free: 29.37 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1043/2.828, allocations: 28.03 MB / 0.9791 GB, free: 23.89 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001476/2.829, allocations: 133.2 kB / 0.9792 GB, free: 23.88 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007129/2.836, allocations: 0.5558 MB / 0.9798 GB, free: 23.88 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006945/2.843, allocations: 2.68 MB / 0.9824 GB, free: 23.85 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0794/2.923, allocations: 23.14 MB / 1.005 GB, free: 21.18 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6895/3.612, allocations: 117 MB / 1.119 GB, free: 34.48 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08604/3.698, allocations: 13.45 MB / 1.132 GB, free: 33.75 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02575/3.724, allocations: 7.96 MB / 1.14 GB, free: 33.69 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004691/3.729, allocations: 2.351 MB / 1.142 GB, free: 31.7 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/3.729, allocations: 100.4 kB / 1.143 GB, free: 31.66 MB / 490.8 MB Notification: Performance of pre-optimization done (n=559): time 1.159e-05/3.729, allocations: 0 / 1.143 GB, free: 31.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=643): time 0.3003/4.03, allocations: 62.25 MB / 1.203 GB, free: 22.47 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/4.03, allocations: 330 kB / 1.204 GB, free: 22.15 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03127/4.061, allocations: 10.18 MB / 1.214 GB, free: 20.35 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002258/4.064, allocations: 126.4 kB / 1.214 GB, free: 20.3 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008681/4.072, allocations: 7.728 MB / 1.221 GB, free: 13.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004293/4.077, allocations: 2.341 MB / 1.224 GB, free: 11.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003182/4.08, allocations: 284 kB / 1.224 GB, free: 11.57 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001465/4.081, allocations: 0.917 MB / 1.225 GB, free: 10.81 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0182/4.1, allocations: 6.519 MB / 1.231 GB, free: 5.305 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0283/4.128, allocations: 14.24 MB / 1.245 GB, free: 5.254 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02753/4.156, allocations: 9.497 MB / 1.254 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00033/4.156, allocations: 72 kB / 1.254 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.08027/4.236, allocations: 23.54 MB / 1.277 GB, free: 10.62 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002442/4.237, allocations: 124 kB / 1.277 GB, free: 10.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005972/4.237, allocations: 260 kB / 1.278 GB, free: 10.25 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01512/4.252, allocations: 3.202 MB / 1.281 GB, free: 7.879 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02662/4.279, allocations: 3.498 MB / 1.284 GB, free: 4.953 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0508/4.33, allocations: 22.64 MB / 1.306 GB, free: 0.8125 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01974/4.35, allocations: 0.8669 MB / 1.307 GB, free: 104 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007969/4.358, allocations: 1.015 MB / 1.308 GB, free: 15.78 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1741): * Single equations (assignments): 1734 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01988/4.378, allocations: 5.327 MB / 1.313 GB, free: 10.44 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004098/4.382, allocations: 0.9449 MB / 1.314 GB, free: 9.484 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4519/4.834, allocations: 14.52 MB / 1.328 GB, free: 152.8 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000144/4.834, allocations: 69.09 kB / 1.329 GB, free: 152.8 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001498/4.834, allocations: 15.72 kB / 1.329 GB, free: 152.8 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000197/4.834, allocations: 32.52 kB / 1.329 GB, free: 152.8 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1061/4.94, allocations: 31.15 MB / 1.359 GB, free: 151.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000111/4.941, allocations: 8.812 kB / 1.359 GB, free: 151.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01298/4.954, allocations: 1.219 MB / 1.36 GB, free: 151.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/4.967, allocations: 2.779 MB / 1.363 GB, free: 151.4 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002014/4.969, allocations: 117.6 kB / 1.363 GB, free: 151.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04625/5.016, allocations: 21.1 MB / 1.384 GB, free: 146 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/5.016, allocations: 10.66 kB / 1.384 GB, free: 146 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06553/5.081, allocations: 22.32 MB / 1.405 GB, free: 139 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008725/5.09, allocations: 2.041 MB / 1.407 GB, free: 138.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005278/5.095, allocations: 113.1 kB / 1.408 GB, free: 138.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01245/5.108, allocations: 474.4 kB / 1.408 GB, free: 138.3 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002649/5.111, allocations: 396 kB / 1.408 GB, free: 138.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00169/5.112, allocations: 164 kB / 1.409 GB, free: 138.2 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0187/5.131, allocations: 6.517 MB / 1.415 GB, free: 136.1 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.91e-07/5.131, allocations: 0 / 1.415 GB, free: 136.1 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02152/5.153, allocations: 2.93 MB / 1.418 GB, free: 135.8 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (554): * Single equations (assignments): 547 * 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 {(4,75.0%) 18,(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.002633/5.155, allocations: 304.8 kB / 1.418 GB, free: 135.6 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04093/5.196, allocations: 16.28 MB / 1.434 GB, free: 130.3 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/5.196, allocations: 0 / 1.434 GB, free: 130.3 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02079/5.217, allocations: 7.146 MB / 1.441 GB, free: 127.6 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01647/5.234, allocations: 1.295 MB / 1.442 GB, free: 127 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07804/5.312, allocations: 33.02 MB / 1.474 GB, free: 97.52 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02211/5.334, allocations: 8.299 MB / 1.483 GB, free: 91.54 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.02317/5.357, allocations: 4.714 MB / 1.487 GB, free: 88.45 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005802/5.363, allocations: 0.6626 MB / 1.488 GB, free: 87.82 MB / 0.5574 GB Notification: Performance of SimCode: time 1.253e-06/5.363, allocations: 0 / 1.488 GB, free: 87.82 MB / 0.5574 GB Notification: Performance of Templates: time 0.7835/6.147, allocations: 110.5 MB / 1.596 GB, free: 136.9 MB / 0.5574 GB