Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004139/0.004138, allocations: 361.8 kB / 15.95 MB, free: 6.207 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 4.12/4.12, allocations: 388.9 MB / 405.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003797/0.003796, allocations: 224.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5231/0.5231, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004821, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1013, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.495/0.5963, allocations: 100.9 MB / 0.7786 GB, free: 0.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.5967, allocations: 85.39 kB / 0.7787 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5142/1.111, allocations: 113.6 MB / 0.8896 GB, free: 6.395 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.111, allocations: 0 / 0.8896 GB, free: 6.395 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004752/1.111, allocations: 112 kB / 0.8897 GB, free: 6.285 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: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02598/1.137, allocations: 5.795 MB / 0.8954 GB, free: 424 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.138, allocations: 8.031 kB / 0.8954 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4784/1.616, allocations: 5.303 MB / 0.9006 GB, free: 92.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02516/1.641, allocations: 5.656 MB / 0.9061 GB, free: 92.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008565/1.642, allocations: 414.3 kB / 0.9065 GB, free: 92.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003785/1.646, allocations: 0.5435 MB / 0.907 GB, free: 92.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05303/1.699, allocations: 13.29 MB / 0.92 GB, free: 88.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005207/1.7, allocations: 79.88 kB / 0.9201 GB, free: 88.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003208/1.703, allocations: 269.8 kB / 0.9203 GB, free: 88.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/1.706, allocations: 1.255 MB / 0.9216 GB, free: 88.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04355/1.75, allocations: 10.55 MB / 0.9319 GB, free: 88.61 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/1.862, allocations: 59.57 MB / 0.99 GB, free: 46.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01878/1.881, allocations: 4.625 MB / 0.9946 GB, free: 44.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004804/1.886, allocations: 2.254 MB / 0.9968 GB, free: 43.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/1.902, allocations: 6.442 MB / 1.003 GB, free: 40.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/1.902, allocations: 64.78 kB / 1.003 GB, free: 40.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=183): time 5.991e-06/1.902, allocations: 0 / 1.003 GB, free: 40.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=195): time 0.07454/1.976, allocations: 17.07 MB / 1.02 GB, free: 31.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/1.977, allocations: 231.2 kB / 1.02 GB, free: 31.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/1.989, allocations: 5.831 MB / 1.026 GB, free: 26.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004711/1.99, allocations: 49.7 kB / 1.026 GB, free: 26.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003923/1.994, allocations: 4.128 MB / 1.03 GB, free: 22.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/1.995, allocations: 0.7793 MB / 1.031 GB, free: 22.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008619/1.996, allocations: 140 kB / 1.031 GB, free: 22.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004252/1.996, allocations: 0.6043 MB / 1.031 GB, free: 21.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005905/2.002, allocations: 2.301 MB / 1.033 GB, free: 19.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009524/2.012, allocations: 6.81 MB / 1.04 GB, free: 11.17 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008762/2.021, allocations: 3.873 MB / 1.044 GB, free: 7.703 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/2.021, allocations: 52 kB / 1.044 GB, free: 7.652 MB / 474.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02602/2.047, allocations: 9.306 MB / 1.053 GB, free: 15.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/2.047, allocations: 72 kB / 1.053 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003008/2.047, allocations: 160 kB / 1.053 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/2.05, allocations: 0.6136 MB / 1.054 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01207/2.062, allocations: 1.643 MB / 1.055 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/2.073, allocations: 5.741 MB / 1.061 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008576/2.081, allocations: 398.1 kB / 1.061 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/2.083, allocations: 447 kB / 1.062 GB, free: 7.16 MB / 490.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.008005/2.091, allocations: 2.688 MB / 1.065 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/2.093, allocations: 493.1 kB / 1.065 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009634/2.103, allocations: 3.051 MB / 1.068 GB, free: 1.754 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.224e-05/2.103, allocations: 23.91 kB / 1.068 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/2.103, allocations: 8 kB / 1.068 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/2.103, allocations: 7.922 kB / 1.068 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02849/2.131, allocations: 8.597 MB / 1.076 GB, free: 10.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/2.131, allocations: 0 / 1.076 GB, free: 10.09 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/2.135, allocations: 327.3 kB / 1.077 GB, free: 9.77 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/2.137, allocations: 369.5 kB / 1.077 GB, free: 9.402 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005874/2.137, allocations: 35.98 kB / 1.077 GB, free: 9.367 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009415/2.147, allocations: 5.074 MB / 1.082 GB, free: 4.031 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/2.147, allocations: 7.938 kB / 1.082 GB, free: 4.023 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3623/2.509, allocations: 5.642 MB / 1.088 GB, free: 109 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/2.512, allocations: 0.794 MB / 1.088 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/2.513, allocations: 37.16 kB / 1.088 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/2.517, allocations: 92.38 kB / 1.088 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00053/2.518, allocations: 120.1 kB / 1.089 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/2.518, allocations: 52.17 kB / 1.089 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01091/2.529, allocations: 3.727 MB / 1.092 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.042e-06/2.529, allocations: 0 / 1.092 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009117/2.538, allocations: 1.221 MB / 1.093 GB, free: 108.7 MB / 0.4949 GB 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.0008742/2.539, allocations: 174 kB / 1.094 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01476/2.554, allocations: 5.708 MB / 1.099 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/2.554, allocations: 0 / 1.099 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004099/2.558, allocations: 1.706 MB / 1.101 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006959/2.565, allocations: 0.6316 MB / 1.102 GB, free: 108.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03247/2.597, allocations: 13.8 MB / 1.115 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009539/2.607, allocations: 4.249 MB / 1.119 GB, free: 102 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01076/2.618, allocations: 2.316 MB / 1.121 GB, free: 101.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/2.62, allocations: 312.1 kB / 1.122 GB, free: 101.9 MB / 0.4949 GB Notification: Performance of SimCode: time 1.132e-06/2.62, allocations: 3.406 kB / 1.122 GB, free: 101.9 MB / 0.4949 GB Notification: Performance of Templates: time 0.1287/2.748, allocations: 43.27 MB / 1.164 GB, free: 99.85 MB / 0.4949 GB