Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.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.Worldtorque,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.Worldtorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002584/0.00259, 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.56/3.56, 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.004668/0.004667, allocations: 222.1 kB / 397.8 MB, free: 4.977 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.5162/0.5162, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004902, allocations: 15.98 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.0914, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.521, allocations: 92.96 MB / 0.6975 GB, free: 19.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5213, allocations: 83 kB / 0.6976 GB, free: 19.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8827/1.404, allocations: 141.6 MB / 0.8359 GB, free: 74.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.404, allocations: 0 / 0.8359 GB, free: 74.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005366/1.405, allocations: 141 kB / 0.836 GB, free: 74.2 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: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.03202/1.437, allocations: 7.322 MB / 0.8432 GB, free: 67.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.437, allocations: 12.03 kB / 0.8432 GB, free: 67.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07167/1.508, allocations: 7.067 MB / 0.8501 GB, free: 60.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02866/1.537, allocations: 7.527 MB / 0.8574 GB, free: 53.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007337/1.538, allocations: 0.5247 MB / 0.8579 GB, free: 52.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004081/1.542, allocations: 0.7056 MB / 0.8586 GB, free: 52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09404/1.636, allocations: 16.57 MB / 0.8748 GB, free: 33.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006264/1.637, allocations: 95.12 kB / 0.8749 GB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003606/1.64, allocations: 339.8 kB / 0.8752 GB, free: 33.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004324/1.645, allocations: 1.53 MB / 0.8767 GB, free: 32.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04264/1.688, allocations: 13.19 MB / 0.8896 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.47/2.158, allocations: 72.44 MB / 0.9603 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02528/2.183, allocations: 5.926 MB / 0.9661 GB, free: 30.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007561/2.191, allocations: 3.13 MB / 0.9692 GB, free: 30.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003482/2.191, allocations: 47.17 kB / 0.9692 GB, free: 30.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.465e-05/2.191, allocations: 66.72 kB / 0.9693 GB, free: 30.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 7.424e-06/2.191, allocations: 0 / 0.9693 GB, free: 30.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=267): time 0.1105/2.302, allocations: 23.21 MB / 0.9919 GB, free: 25.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/2.302, allocations: 263 kB / 0.9922 GB, free: 25.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01947/2.321, allocations: 6.967 MB / 0.999 GB, free: 24.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007804/2.322, allocations: 64.56 kB / 0.9991 GB, free: 24.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00588/2.328, allocations: 5.045 MB / 1.004 GB, free: 21.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002048/2.33, allocations: 1.026 MB / 1.005 GB, free: 20.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/2.331, allocations: 177.7 kB / 1.005 GB, free: 20.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007539/2.332, allocations: 0.6673 MB / 1.006 GB, free: 20.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008506/2.341, allocations: 2.964 MB / 1.009 GB, free: 19.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/2.353, allocations: 8.253 MB / 1.017 GB, free: 11.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/2.364, allocations: 4.831 MB / 1.021 GB, free: 9.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002389/2.365, allocations: 56.53 kB / 1.022 GB, free: 9.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03359/2.398, allocations: 11.56 MB / 1.033 GB, free: 5.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/2.399, allocations: 83.88 kB / 1.033 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004305/2.399, allocations: 191.7 kB / 1.033 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003638/2.403, allocations: 0.8459 MB / 1.034 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01311/2.416, allocations: 1.985 MB / 1.036 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/2.431, allocations: 8.509 MB / 1.044 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/2.442, allocations: 473.4 kB / 1.045 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/2.444, allocations: 0.5161 MB / 1.045 GB, free: 12.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1056): * Single equations (assignments): 1050 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01139/2.456, allocations: 3.317 MB / 1.048 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0022/2.458, allocations: 0.5968 MB / 1.049 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/2.474, allocations: 4.55 MB / 1.053 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.114e-05/2.474, allocations: 35.61 kB / 1.053 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/2.474, allocations: 8 kB / 1.053 GB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.697e-05/2.474, allocations: 10.5 kB / 1.053 GB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04333/2.517, allocations: 11.77 MB / 1.065 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.414e-05/2.517, allocations: 4 kB / 1.065 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004848/2.522, allocations: 435.2 kB / 1.065 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002912/2.525, allocations: 0.523 MB / 1.066 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007735/2.526, allocations: 51.7 kB / 1.066 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/2.54, allocations: 7.58 MB / 1.073 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/2.54, allocations: 8 kB / 1.073 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02471/2.565, allocations: 7.981 MB / 1.081 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004562/2.57, allocations: 1.019 MB / 1.082 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002166/2.572, allocations: 44 kB / 1.082 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005401/2.577, allocations: 153.4 kB / 1.082 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/2.579, allocations: 161.9 kB / 1.082 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/2.579, allocations: 64 kB / 1.083 GB, free: 11.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01476/2.594, allocations: 4.43 MB / 1.087 GB, free: 8.305 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.594, allocations: 4 kB / 1.087 GB, free: 8.301 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01341/2.607, allocations: 1.556 MB / 1.088 GB, free: 6.754 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,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/2.608, allocations: 190.6 kB / 1.089 GB, free: 6.566 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0215/2.63, allocations: 7.507 MB / 1.096 GB, free: 0 / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/2.63, allocations: 1.078 kB / 1.096 GB, free: 0 / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3381/2.968, allocations: 2.573 MB / 1.098 GB, free: 122.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009968/2.978, allocations: 0.8039 MB / 1.099 GB, free: 122.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.047/3.025, allocations: 17.73 MB / 1.116 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01559/3.041, allocations: 5.207 MB / 1.122 GB, free: 115 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01627/3.057, allocations: 2.807 MB / 1.124 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002928/3.06, allocations: 396.9 kB / 1.125 GB, free: 114.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.313e-06/3.06, allocations: 0 / 1.125 GB, free: 114.9 MB / 474.7 MB Notification: Performance of Templates: time 0.17/3.23, allocations: 55.77 MB / 1.179 GB, free: 95.2 MB / 474.7 MB