Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004617/0.004622, allocations: 347.8 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.66/3.66, 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.003567/0.003567, 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.4696/0.4696, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005013, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.08946, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.494, allocations: 94.04 MB / 0.6986 GB, free: 18.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.4943, allocations: 85.17 kB / 0.6987 GB, free: 18.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7431/1.237, allocations: 113.5 MB / 0.8095 GB, free: 84.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.818e-06/1.237, allocations: 0 / 0.8095 GB, free: 84.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004693/1.238, allocations: 112.7 kB / 0.8096 GB, free: 84.71 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.02519/1.263, allocations: 5.786 MB / 0.8153 GB, free: 82.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.263, allocations: 7.562 kB / 0.8153 GB, free: 82.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04064/1.304, allocations: 5.312 MB / 0.8205 GB, free: 81.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01834/1.322, allocations: 5.652 MB / 0.826 GB, free: 78.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005326/1.323, allocations: 425.3 kB / 0.8264 GB, free: 78.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003302/1.326, allocations: 0.5392 MB / 0.8269 GB, free: 78.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03782/1.364, allocations: 13.28 MB / 0.8399 GB, free: 68.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000366/1.364, allocations: 71.34 kB / 0.84 GB, free: 68.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00229/1.367, allocations: 270 kB / 0.8402 GB, free: 68.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002586/1.369, allocations: 1.254 MB / 0.8414 GB, free: 67.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03108/1.4, allocations: 10.55 MB / 0.8517 GB, free: 56.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08518/1.486, allocations: 59.55 MB / 0.9099 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/1.506, allocations: 4.635 MB / 0.9144 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005551/1.511, allocations: 2.242 MB / 0.9166 GB, free: 4.633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3307/1.842, allocations: 6.438 MB / 0.9229 GB, free: 92.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/1.842, allocations: 51.72 kB / 0.923 GB, free: 92.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 5.921e-06/1.842, allocations: 0 / 0.923 GB, free: 92.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.08019/1.922, allocations: 17.06 MB / 0.9396 GB, free: 88.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.922, allocations: 229.7 kB / 0.9398 GB, free: 88.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01619/1.939, allocations: 5.841 MB / 0.9455 GB, free: 87.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005049/1.939, allocations: 55.48 kB / 0.9456 GB, free: 87.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004857/1.944, allocations: 4.125 MB / 0.9496 GB, free: 85.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.946, allocations: 0.7681 MB / 0.9504 GB, free: 85.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/1.947, allocations: 142.7 kB / 0.9505 GB, free: 85.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008088/1.948, allocations: 0.6121 MB / 0.9511 GB, free: 84.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007245/1.955, allocations: 2.301 MB / 0.9534 GB, free: 84.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/1.965, allocations: 6.817 MB / 0.96 GB, free: 78.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009263/1.975, allocations: 3.874 MB / 0.9638 GB, free: 76.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002259/1.975, allocations: 45.12 kB / 0.9638 GB, free: 76.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02627/2.001, allocations: 9.246 MB / 0.9729 GB, free: 73.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/2.002, allocations: 75.44 kB / 0.9729 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002618/2.002, allocations: 159 kB / 0.9731 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/2.004, allocations: 0.6155 MB / 0.9737 GB, free: 73.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/2.014, allocations: 1.648 MB / 0.9753 GB, free: 73.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009042/2.023, allocations: 5.743 MB / 0.9809 GB, free: 69.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009476/2.033, allocations: 388 kB / 0.9813 GB, free: 69.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/2.035, allocations: 442.8 kB / 0.9817 GB, free: 69.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (882): * Single equations (assignments): 877 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008045/2.043, allocations: 2.697 MB / 0.9843 GB, free: 67.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/2.044, allocations: 492.8 kB / 0.9848 GB, free: 67.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009305/2.054, allocations: 3.057 MB / 0.9878 GB, free: 66.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.323e-05/2.054, allocations: 27.19 kB / 0.9878 GB, free: 66.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/2.054, allocations: 7.562 kB / 0.9878 GB, free: 66.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.802e-05/2.054, allocations: 9.719 kB / 0.9878 GB, free: 66.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/2.081, allocations: 8.481 MB / 0.9961 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/2.081, allocations: 3.875 kB / 0.9961 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003217/2.084, allocations: 326.4 kB / 0.9964 GB, free: 63.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/2.086, allocations: 361.8 kB / 0.9968 GB, free: 63.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004236/2.086, allocations: 39.69 kB / 0.9968 GB, free: 63.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007634/2.094, allocations: 5.088 MB / 1.002 GB, free: 59.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/2.094, allocations: 0 / 1.002 GB, free: 59.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/2.107, allocations: 5.634 MB / 1.007 GB, free: 54.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003324/2.111, allocations: 0.8021 MB / 1.008 GB, free: 54.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001815/2.113, allocations: 31.36 kB / 1.008 GB, free: 54.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004133/2.117, allocations: 101.3 kB / 1.008 GB, free: 53.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006717/2.117, allocations: 117 kB / 1.008 GB, free: 53.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/2.118, allocations: 52 kB / 1.008 GB, free: 53.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01006/2.128, allocations: 3.73 MB / 1.012 GB, free: 50.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.02e-07/2.128, allocations: 0 / 1.012 GB, free: 50.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009492/2.137, allocations: 1.224 MB / 1.013 GB, free: 49.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0008167/2.138, allocations: 175 kB / 1.013 GB, free: 49.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01294/2.151, allocations: 5.707 MB / 1.019 GB, free: 44.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.151, allocations: 4.062 kB / 1.019 GB, free: 44.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003578/2.155, allocations: 1.708 MB / 1.021 GB, free: 42.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007439/2.162, allocations: 0.6284 MB / 1.021 GB, free: 42.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/2.193, allocations: 13.79 MB / 1.035 GB, free: 29.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009663/2.203, allocations: 4.238 MB / 1.039 GB, free: 26.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0106/2.214, allocations: 2.319 MB / 1.041 GB, free: 25.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/2.215, allocations: 318.4 kB / 1.041 GB, free: 24.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/2.215, allocations: 0 / 1.041 GB, free: 24.71 MB / 426.7 MB Notification: Performance of Templates: time 0.5232/2.739, allocations: 43.26 MB / 1.084 GB, free: 98.2 MB / 442.7 MB