Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.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.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.2_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006119/0.006118, allocations: 363.1 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 3.629/3.629, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00351/0.00351, allocations: 228.8 kB / 451 MB, free: 2.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7713/0.7713, allocations: 80.01 MB / 0.5627 GB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006513/0.0006514, allocations: 16 kB / 0.6265 GB, free: 4.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.119, allocations: 54.88 MB / 0.6801 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5061/0.6251, allocations: 105.5 MB / 0.7831 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.6255, allocations: 81.14 kB / 0.7832 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383/2.009, allocations: 235.1 MB / 1.013 GB, free: 38.92 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.497e-06/2.009, allocations: 4 kB / 1.013 GB, free: 38.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008958/2.01, allocations: 248 kB / 1.013 GB, free: 38.67 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.05479/2.064, allocations: 12.76 MB / 1.025 GB, free: 25.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/2.064, allocations: 8.031 kB / 1.025 GB, free: 25.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07705/2.141, allocations: 9.509 MB / 1.035 GB, free: 16.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04466/2.186, allocations: 11.82 MB / 1.046 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001236/2.187, allocations: 0.9427 MB / 1.047 GB, free: 3.391 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006845/2.194, allocations: 1.257 MB / 1.048 GB, free: 2.133 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6169/2.811, allocations: 29.92 MB / 1.078 GB, free: 40.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001316/2.813, allocations: 152.2 kB / 1.078 GB, free: 40.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006907/2.82, allocations: 0.5822 MB / 1.078 GB, free: 40.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007874/2.828, allocations: 2.86 MB / 1.081 GB, free: 40.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1239/2.951, allocations: 24.42 MB / 1.105 GB, free: 40.27 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3101/3.262, allocations: 127 MB / 1.229 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07637/3.338, allocations: 14.78 MB / 1.243 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5099/3.848, allocations: 8.196 MB / 1.251 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05195/3.9, allocations: 20.07 MB / 1.271 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/3.9, allocations: 98 kB / 1.271 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.06e-05/3.9, allocations: 0 / 1.271 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.3375/4.238, allocations: 69.79 MB / 1.339 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/4.238, allocations: 380.1 kB / 1.34 GB, free: 89.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03374/4.272, allocations: 11.91 MB / 1.351 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001917/4.274, allocations: 122.4 kB / 1.351 GB, free: 85.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009151/4.283, allocations: 8.426 MB / 1.36 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004365/4.287, allocations: 2.383 MB / 1.362 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003068/4.29, allocations: 309.3 kB / 1.362 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001369/4.292, allocations: 0.9502 MB / 1.363 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01865/4.31, allocations: 6.756 MB / 1.37 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02482/4.335, allocations: 15.08 MB / 1.384 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0237/4.359, allocations: 9.879 MB / 1.394 GB, free: 47.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003144/4.359, allocations: 84 kB / 1.394 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.07118/4.431, allocations: 24.58 MB / 1.418 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/4.431, allocations: 128 kB / 1.418 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006185/4.432, allocations: 292.2 kB / 1.419 GB, free: 26.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01592/4.448, allocations: 3.224 MB / 1.422 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03579/4.483, allocations: 3.736 MB / 1.425 GB, free: 21.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5279/5.011, allocations: 22.52 MB / 1.447 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02825/5.04, allocations: 0.9142 MB / 1.448 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00431/5.044, allocations: 0.8744 MB / 1.449 GB, free: 84.21 MB / 0.5261 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.01876/5.063, allocations: 5.661 MB / 1.455 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004321/5.067, allocations: 1.068 MB / 1.456 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04788/5.115, allocations: 14.7 MB / 1.47 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001314/5.115, allocations: 72.77 kB / 1.47 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001113/5.116, allocations: 18.78 kB / 1.47 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001822/5.116, allocations: 31.78 kB / 1.47 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1053/5.221, allocations: 32.45 MB / 1.502 GB, free: 80.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001396/5.221, allocations: 15.28 kB / 1.502 GB, free: 80.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01489/5.236, allocations: 1.301 MB / 1.503 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01772/5.254, allocations: 2.756 MB / 1.506 GB, free: 80.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002221/5.256, allocations: 123.5 kB / 1.506 GB, free: 80.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08749/5.344, allocations: 21.04 MB / 1.527 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.035e-05/5.344, allocations: 16.52 kB / 1.527 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06787/5.412, allocations: 22.77 MB / 1.549 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008966/5.421, allocations: 2.186 MB / 1.551 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005078/5.426, allocations: 125.6 kB / 1.551 GB, free: 59.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01237/5.438, allocations: 433.5 kB / 1.551 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002772/5.441, allocations: 419.5 kB / 1.552 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001881/5.443, allocations: 166.1 kB / 1.552 GB, free: 58.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0232/5.466, allocations: 7.71 MB / 1.56 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.804e-06/5.466, allocations: 0 / 1.56 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02232/5.489, allocations: 3.08 MB / 1.563 GB, free: 55.49 MB / 0.5261 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.002513/5.491, allocations: 310.6 kB / 1.563 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05257/5.544, allocations: 16.75 MB / 1.579 GB, free: 41.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-05/5.544, allocations: 5.594 kB / 1.579 GB, free: 41.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02962/5.573, allocations: 7.171 MB / 1.586 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02531/5.599, allocations: 1.43 MB / 1.588 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1213/5.72, allocations: 34.95 MB / 1.622 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03069/5.751, allocations: 8.915 MB / 1.63 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02851/5.78, allocations: 5.131 MB / 1.635 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007257/5.787, allocations: 0.7268 MB / 1.636 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of SimCode: time 1.633e-06/5.787, allocations: 0 / 1.636 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of Templates: time 0.8556/6.642, allocations: 115.1 MB / 1.749 GB, free: 69.57 MB / 0.5417 GB