Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002606/0.002613, allocations: 349.2 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.79/3.79, 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.003604/0.003604, allocations: 226.1 kB / 397.9 MB, free: 4.961 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.5024/0.5024, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004776, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08482/0.08532, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.5335, allocations: 92.78 MB / 0.6973 GB, free: 19.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.5339, allocations: 82.58 kB / 0.6974 GB, free: 19.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9225/1.456, allocations: 135.8 MB / 0.83 GB, free: 77.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.416e-06/1.457, allocations: 0 / 0.83 GB, free: 77.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004971/1.457, allocations: 135.3 kB / 0.8302 GB, free: 77.62 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.03211/1.489, allocations: 7.11 MB / 0.8371 GB, free: 72.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.489, allocations: 11.78 kB / 0.8371 GB, free: 72.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05526/1.544, allocations: 7.026 MB / 0.844 GB, free: 66.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02515/1.57, allocations: 7.413 MB / 0.8512 GB, free: 59.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006979/1.57, allocations: 0.4979 MB / 0.8517 GB, free: 58.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004732/1.575, allocations: 0.6774 MB / 0.8524 GB, free: 58.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05175/1.627, allocations: 16 MB / 0.868 GB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005838/1.628, allocations: 99.11 kB / 0.8681 GB, free: 40.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00357/1.631, allocations: 336.3 kB / 0.8684 GB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003389/1.635, allocations: 1.451 MB / 0.8698 GB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03967/1.674, allocations: 12.7 MB / 0.8822 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4789/2.153, allocations: 70.56 MB / 0.9511 GB, free: 37.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02523/2.179, allocations: 5.895 MB / 0.9569 GB, free: 36.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007245/2.186, allocations: 3.075 MB / 0.9599 GB, free: 36.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/2.186, allocations: 51.81 kB / 0.9599 GB, free: 36.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.008e-05/2.186, allocations: 62.5 kB / 0.96 GB, free: 36.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 6.923e-06/2.186, allocations: 1.5 kB / 0.96 GB, free: 36.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=260): time 0.1506/2.337, allocations: 22.86 MB / 0.9823 GB, free: 31.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/2.337, allocations: 260.2 kB / 0.9826 GB, free: 30.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05107/2.388, allocations: 6.896 MB / 0.9893 GB, free: 30.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008021/2.389, allocations: 66.14 kB / 0.9894 GB, free: 30.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007003/2.396, allocations: 4.86 MB / 0.9941 GB, free: 27.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002378/2.399, allocations: 1.003 MB / 0.9951 GB, free: 26.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/2.4, allocations: 175.1 kB / 0.9953 GB, free: 26.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000908/2.401, allocations: 0.6615 MB / 0.9959 GB, free: 26.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007947/2.409, allocations: 2.861 MB / 0.9987 GB, free: 25.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/2.421, allocations: 8.021 MB / 1.007 GB, free: 17.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/2.433, allocations: 4.686 MB / 1.011 GB, free: 15.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002187/2.433, allocations: 54.84 kB / 1.011 GB, free: 15.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.03311/2.466, allocations: 11.21 MB / 1.022 GB, free: 11.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/2.466, allocations: 90.67 kB / 1.022 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003582/2.467, allocations: 181.1 kB / 1.022 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/2.47, allocations: 0.8077 MB / 1.023 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/2.483, allocations: 1.936 MB / 1.025 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/2.496, allocations: 8.313 MB / 1.033 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01095/2.507, allocations: 457.3 kB / 1.034 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002398/2.51, allocations: 0.5041 MB / 1.034 GB, free: 2.629 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1033): * Single equations (assignments): 1027 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01069/2.521, allocations: 3.207 MB / 1.037 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00216/2.523, allocations: 0.5823 MB / 1.038 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01976/2.543, allocations: 4.344 MB / 1.042 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-05/2.543, allocations: 32.92 kB / 1.042 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.136e-05/2.543, allocations: 11.8 kB / 1.042 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.577e-05/2.543, allocations: 9.703 kB / 1.042 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04173/2.585, allocations: 11.24 MB / 1.053 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.453e-05/2.585, allocations: 0 / 1.053 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004412/2.589, allocations: 407.8 kB / 1.053 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/2.592, allocations: 0.4995 MB / 1.054 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008395/2.593, allocations: 47.94 kB / 1.054 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/2.608, allocations: 7.404 MB / 1.061 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/2.608, allocations: 3.984 kB / 1.061 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/2.631, allocations: 7.577 MB / 1.069 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004635/2.635, allocations: 0.9975 MB / 1.07 GB, free: 2.879 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002514/2.638, allocations: 47.89 kB / 1.07 GB, free: 2.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005599/2.644, allocations: 143.5 kB / 1.07 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.645, allocations: 155.6 kB / 1.07 GB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003773/2.645, allocations: 66.53 kB / 1.07 GB, free: 2.574 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01563/2.661, allocations: 4.466 MB / 1.074 GB, free: 15.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.11e-07/2.661, allocations: 0 / 1.074 GB, free: 15.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01315/2.674, allocations: 1.511 MB / 1.076 GB, free: 13.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/2.675, allocations: 186.3 kB / 1.076 GB, free: 13.47 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02101/2.696, allocations: 7.249 MB / 1.083 GB, free: 7.078 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/2.696, allocations: 0 / 1.083 GB, free: 7.078 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007335/2.704, allocations: 2.447 MB / 1.085 GB, free: 4.734 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/2.714, allocations: 0.7931 MB / 1.086 GB, free: 3.969 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06021/2.774, allocations: 17.13 MB / 1.103 GB, free: 2.848 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3619/3.136, allocations: 5.023 MB / 1.108 GB, free: 135.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01578/3.152, allocations: 2.752 MB / 1.111 GB, free: 135.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002938/3.155, allocations: 390.9 kB / 1.111 GB, free: 135.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/3.155, allocations: 1.312 kB / 1.111 GB, free: 135.6 MB / 490.7 MB Notification: Performance of Templates: time 0.1745/3.33, allocations: 54.65 MB / 1.164 GB, free: 127.7 MB / 490.7 MB