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.004062/0.004067, allocations: 347.5 kB / 15.94 MB, free: 6.199 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.563/3.563, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003452/0.003452, allocations: 221.1 kB / 397.9 MB, free: 4.984 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.4938/0.4938, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004749, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.08385, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.4763/0.5602, allocations: 152.4 MB / 0.7555 GB, free: 8.109 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4419/1.002, allocations: 29.26 MB / 0.7841 GB, free: 1.109 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0353/1.038, allocations: 0.6944 MB / 0.7848 GB, free: 1.109 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02825/1.066, allocations: 7.538 MB / 0.7921 GB, free: 14.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.08741/1.153, allocations: 25.07 MB / 0.8166 GB, free: 3.801 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01246/1.166, allocations: 1.574 MB / 0.8182 GB, free: 3.391 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1252/1.291, allocations: 57.9 MB / 0.8747 GB, free: 9.727 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03208/1.323, allocations: 14.72 MB / 0.8891 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008776/1.332, allocations: 3.445 MB / 0.8924 GB, free: 12.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/1.345, allocations: 5.718 MB / 0.898 GB, free: 7.488 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003311/1.349, allocations: 436 kB / 0.8984 GB, free: 7.062 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0066/1.355, allocations: 1.211 MB / 0.8996 GB, free: 6.008 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009347/1.365, allocations: 5.027 MB / 0.9045 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005259/1.37, allocations: 2.334 MB / 0.9068 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02663/1.397, allocations: 15.79 MB / 0.9222 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.397, allocations: 0 / 0.9222 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.856e-06/1.397, allocations: 0 / 0.9222 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007587/1.397, allocations: 0 / 0.9222 GB, free: 2.902 MB / 0.4948 GB 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.04861/1.446, allocations: 12.07 MB / 0.934 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/1.446, allocations: 8.031 kB / 0.934 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04379/1.49, allocations: 4.987 MB / 0.9389 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02695/1.517, allocations: 7.85 MB / 0.9466 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009054/1.518, allocations: 0.7047 MB / 0.9473 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00492/1.523, allocations: 0.9378 MB / 0.9482 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7006/2.224, allocations: 28.57 MB / 0.9761 GB, free: 226.4 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005573/2.224, allocations: 105.8 kB / 0.9762 GB, free: 226.3 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002839/2.227, allocations: 442.4 kB / 0.9766 GB, free: 226.3 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01206/2.239, allocations: 4.729 MB / 0.9812 GB, free: 226.1 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07913/2.318, allocations: 24.32 MB / 1.005 GB, free: 217.1 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1765/2.495, allocations: 103.8 MB / 1.106 GB, free: 116.6 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05943/2.554, allocations: 14.45 MB / 1.12 GB, free: 102 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01662/2.571, allocations: 8.569 MB / 1.129 GB, free: 93.44 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003522/2.575, allocations: 2.337 MB / 1.131 GB, free: 90.75 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.126e-05/2.575, allocations: 95.44 kB / 1.131 GB, free: 90.65 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=559): time 1.078e-05/2.575, allocations: 4 kB / 1.131 GB, free: 90.64 MB / 0.5262 GB Notification: Performance of matching and sorting (n=643): time 0.2998/2.875, allocations: 69.23 MB / 1.199 GB, free: 21.06 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/2.875, allocations: 329.6 kB / 1.199 GB, free: 20.68 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02022/2.895, allocations: 10.2 MB / 1.209 GB, free: 10.48 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.002148/2.897, allocations: 125.7 kB / 1.209 GB, free: 10.36 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00639/2.904, allocations: 7.594 MB / 1.217 GB, free: 2.766 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004046/2.908, allocations: 2.354 MB / 1.219 GB, free: 440 kB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002148/2.91, allocations: 300 kB / 1.219 GB, free: 140 kB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.3022/3.212, allocations: 0.9299 MB / 1.22 GB, free: 208.6 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02137/3.234, allocations: 7.101 MB / 1.227 GB, free: 208.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0255/3.259, allocations: 14.71 MB / 1.241 GB, free: 197.2 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02546/3.285, allocations: 10.01 MB / 1.251 GB, free: 193.4 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004005/3.285, allocations: 75.31 kB / 1.251 GB, free: 193.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1929) (initialization): time 0.07722/3.362, allocations: 25.81 MB / 1.276 GB, free: 184.6 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/3.363, allocations: 114.7 kB / 1.277 GB, free: 184.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003962/3.363, allocations: 262.7 kB / 1.277 GB, free: 184.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01958/3.383, allocations: 4.482 MB / 1.281 GB, free: 183.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02394/3.407, allocations: 3.529 MB / 1.285 GB, free: 183.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05103/3.458, allocations: 26.79 MB / 1.311 GB, free: 159.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01833/3.476, allocations: 0.9081 MB / 1.312 GB, free: 158.6 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00352/3.48, allocations: 0.8173 MB / 1.312 GB, free: 157.8 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1193 * 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 (1809): * Single equations (assignments): 1802 * 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.01454/3.494, allocations: 5.327 MB / 1.318 GB, free: 152.6 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002644/3.497, allocations: 0.931 MB / 1.319 GB, free: 152.1 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05012/3.547, allocations: 16.51 MB / 1.335 GB, free: 135.6 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001731/3.547, allocations: 31.84 kB / 1.335 GB, free: 135.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/3.547, allocations: 4 kB / 1.335 GB, free: 135.5 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007664/3.555, allocations: 2.134 MB / 1.337 GB, free: 133.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003858/3.559, allocations: 104 kB / 1.337 GB, free: 133.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01117/3.57, allocations: 0.5052 MB / 1.337 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002602/3.573, allocations: 432 kB / 1.338 GB, free: 132.7 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05461/3.627, allocations: 16.31 MB / 1.354 GB, free: 116.5 MB / 0.5262 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04816/3.676, allocations: 20.91 MB / 1.374 GB, free: 95.44 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01307/3.689, allocations: 5.942 MB / 1.38 GB, free: 89.49 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01431/3.703, allocations: 6.477 MB / 1.386 GB, free: 83.04 MB / 0.5262 GB Notification: Performance of Backend: time 1.683e-06/3.703, allocations: 0 / 1.386 GB, free: 83.04 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03729/3.74, allocations: 12.47 MB / 1.398 GB, free: 70.59 MB / 0.5262 GB Notification: Performance of SimCode: time 0.06376/3.804, allocations: 30.17 MB / 1.428 GB, free: 40.52 MB / 0.5262 GB Notification: Performance of Templates: time 0.7328/4.537, allocations: 141.3 MB / 1.566 GB, free: 105.1 MB / 0.5262 GB