Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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.Force2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002649/0.002649, 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.772/3.772, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.003589/0.003589, allocations: 218.1 kB / 397.8 MB, free: 4.891 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.5882/0.5882, allocations: 76.11 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000746/0.0007464, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1012, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5395, allocations: 98.66 MB / 0.7031 GB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5398, allocations: 76.91 kB / 0.7031 GB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.937/2.477, allocations: 234.7 MB / 0.9323 GB, free: 27.62 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.815e-06/2.477, allocations: 0 / 0.9323 GB, free: 27.62 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001125/2.478, allocations: 254.2 kB / 0.9326 GB, free: 27.62 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.06248/2.54, allocations: 12.75 MB / 0.945 GB, free: 23.11 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/2.54, allocations: 9.719 kB / 0.945 GB, free: 23.11 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07832/2.619, allocations: 9.501 MB / 0.9543 GB, free: 22.25 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04195/2.661, allocations: 11.81 MB / 0.9658 GB, free: 20.85 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001706/2.662, allocations: 0.9408 MB / 0.9668 GB, free: 20.82 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007626/2.67, allocations: 1.246 MB / 0.968 GB, free: 20.81 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.119/2.789, allocations: 29.9 MB / 0.9972 GB, free: 14.75 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001358/2.791, allocations: 150 kB / 0.9973 GB, free: 14.74 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008953/2.8, allocations: 0.5785 MB / 0.9979 GB, free: 14.74 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009547/2.809, allocations: 2.856 MB / 1.001 GB, free: 14.71 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09048/2.9, allocations: 24.42 MB / 1.025 GB, free: 12.03 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8367/3.736, allocations: 127.1 MB / 1.149 GB, free: 17.1 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06918/3.806, allocations: 14.79 MB / 1.163 GB, free: 16.35 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01833/3.824, allocations: 8.194 MB / 1.171 GB, free: 16.27 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0568/3.881, allocations: 20.06 MB / 1.191 GB, free: 13.08 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/3.881, allocations: 108.7 kB / 1.191 GB, free: 13.04 MB / 490.8 MB Notification: Performance of pre-optimization done (n=566): time 1.074e-05/3.881, allocations: 3.375 kB / 1.191 GB, free: 13.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=650): time 0.3212/4.202, allocations: 69.78 MB / 1.259 GB, free: 2.438 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002346/4.203, allocations: 377.6 kB / 1.259 GB, free: 2.004 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03589/4.239, allocations: 11.92 MB / 1.271 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002103/4.241, allocations: 129.7 kB / 1.271 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01184/4.253, allocations: 8.41 MB / 1.279 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004971/4.258, allocations: 2.385 MB / 1.282 GB, free: 14.43 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003441/4.261, allocations: 310 kB / 1.282 GB, free: 14.13 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.002124/4.263, allocations: 0.9509 MB / 1.283 GB, free: 13.36 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0209/4.284, allocations: 6.756 MB / 1.289 GB, free: 7.656 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4082/4.693, allocations: 15.08 MB / 1.304 GB, free: 114.8 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02678/4.719, allocations: 9.874 MB / 1.314 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006184/4.72, allocations: 83.77 kB / 1.314 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.07683/4.797, allocations: 24.58 MB / 1.338 GB, free: 113.8 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002893/4.797, allocations: 126.9 kB / 1.338 GB, free: 113.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005905/4.798, allocations: 288 kB / 1.338 GB, free: 113.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/4.813, allocations: 3.215 MB / 1.341 GB, free: 113.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02751/4.841, allocations: 3.741 MB / 1.345 GB, free: 113.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04442/4.885, allocations: 22.5 MB / 1.367 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02139/4.907, allocations: 0.9187 MB / 1.368 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004636/4.911, allocations: 0.8783 MB / 1.369 GB, free: 107.9 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * Number of states: 0 () * Number of discrete variables: 117 (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],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],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 (1877): * Single equations (assignments): 1870 * 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%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01923/4.931, allocations: 5.668 MB / 1.374 GB, free: 107 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004216/4.935, allocations: 1.065 MB / 1.375 GB, free: 107 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04774/4.983, allocations: 14.7 MB / 1.39 GB, free: 101.6 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/4.983, allocations: 65.34 kB / 1.39 GB, free: 101.6 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.773e-05/4.983, allocations: 16.56 kB / 1.39 GB, free: 101.6 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001777/4.983, allocations: 32.16 kB / 1.39 GB, free: 101.6 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1005/5.084, allocations: 32.43 MB / 1.422 GB, free: 90.15 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001162/5.084, allocations: 11.03 kB / 1.422 GB, free: 90.15 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01344/5.097, allocations: 1.304 MB / 1.423 GB, free: 89.78 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01281/5.11, allocations: 2.753 MB / 1.425 GB, free: 87.86 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001964/5.112, allocations: 131.5 kB / 1.426 GB, free: 87.74 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04878/5.161, allocations: 21.04 MB / 1.446 GB, free: 69.11 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-05/5.161, allocations: 19.89 kB / 1.446 GB, free: 69.09 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08061/5.242, allocations: 22.76 MB / 1.468 GB, free: 49.16 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009101/5.251, allocations: 2.186 MB / 1.471 GB, free: 47.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005009/5.256, allocations: 130 kB / 1.471 GB, free: 47.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01197/5.268, allocations: 437.9 kB / 1.471 GB, free: 46.77 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002905/5.271, allocations: 417 kB / 1.471 GB, free: 46.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001891/5.273, allocations: 170.2 kB / 1.472 GB, free: 46.34 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.4231/5.696, allocations: 9.076 MB / 1.48 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8.42e-07/5.696, allocations: 0 / 1.48 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.02428/5.72, allocations: 3.081 MB / 1.484 GB, free: 112.2 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (559): * Single equations (assignments): 552 * 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%) 17,(4,75.0%) 17,(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.002562/5.723, allocations: 306 kB / 1.484 GB, free: 112.1 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0433/5.766, allocations: 16.76 MB / 1.5 GB, free: 111.5 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/5.766, allocations: 6.625 kB / 1.5 GB, free: 111.5 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02114/5.788, allocations: 7.177 MB / 1.507 GB, free: 111 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02418/5.812, allocations: 1.438 MB / 1.509 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08646/5.898, allocations: 34.92 MB / 1.543 GB, free: 98.36 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02302/5.921, allocations: 8.772 MB / 1.551 GB, free: 97.29 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.02835/5.95, allocations: 5.142 MB / 1.556 GB, free: 96.91 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006251/5.956, allocations: 0.7216 MB / 1.557 GB, free: 96.9 MB / 0.5262 GB Notification: Performance of SimCode: time 1.402e-06/5.956, allocations: 0 / 1.557 GB, free: 96.9 MB / 0.5262 GB Notification: Performance of Templates: time 0.7184/6.675, allocations: 115.1 MB / 1.669 GB, free: 115.9 MB / 0.5262 GB