Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002637/0.002643, allocations: 350.6 kB / 15.94 MB, free: 6.215 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.588/3.588, 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.005234/0.005234, allocations: 218.1 kB / 397.9 MB, free: 4.969 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.5852/0.5852, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004733, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.09025, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5115, allocations: 92.64 MB / 0.6972 GB, free: 20.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5119, allocations: 83.41 kB / 0.6973 GB, free: 19.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9608/1.473, allocations: 161.1 MB / 0.8547 GB, free: 56.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.607e-06/1.473, allocations: 0 / 0.8547 GB, free: 56.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006407/1.473, allocations: 167.9 kB / 0.8548 GB, free: 56.08 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03714/1.511, allocations: 8.581 MB / 0.8632 GB, free: 47.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.511, allocations: 15.95 kB / 0.8632 GB, free: 47.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06823/1.579, allocations: 8.74 MB / 0.8717 GB, free: 38.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02991/1.609, allocations: 9.377 MB / 0.8809 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008553/1.61, allocations: 0.6018 MB / 0.8815 GB, free: 28.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00514/1.615, allocations: 0.8198 MB / 0.8823 GB, free: 27.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0623/1.677, allocations: 19.1 MB / 0.9009 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006682/1.678, allocations: 99.11 kB / 0.901 GB, free: 7.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004291/1.682, allocations: 383.8 kB / 0.9014 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003929/1.686, allocations: 1.732 MB / 0.9031 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05574/1.742, allocations: 15.49 MB / 0.9182 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8599/2.602, allocations: 79.45 MB / 0.9958 GB, free: 19.92 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04357/2.646, allocations: 8.265 MB / 1.004 GB, free: 19.22 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009148/2.655, allocations: 4.142 MB / 1.008 GB, free: 17.76 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/2.656, allocations: 0.6649 MB / 1.009 GB, free: 17.16 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.511e-05/2.656, allocations: 70.22 kB / 1.009 GB, free: 17.11 MB / 426.8 MB Notification: Performance of pre-optimization done (n=307): time 7.083e-06/2.656, allocations: 0 / 1.009 GB, free: 17.11 MB / 426.8 MB Notification: Performance of matching and sorting (n=331): time 0.1466/2.803, allocations: 30.83 MB / 1.039 GB, free: 5.871 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/2.803, allocations: 299.2 kB / 1.039 GB, free: 5.551 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01948/2.822, allocations: 7.551 MB / 1.046 GB, free: 2.879 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009565/2.823, allocations: 73.7 kB / 1.046 GB, free: 2.801 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006565/2.83, allocations: 5.606 MB / 1.052 GB, free: 13.79 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002622/2.833, allocations: 1.249 MB / 1.053 GB, free: 12.68 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/2.834, allocations: 189.6 kB / 1.053 GB, free: 12.5 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0009423/2.835, allocations: 0.6977 MB / 1.054 GB, free: 11.9 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01068/2.846, allocations: 3.455 MB / 1.057 GB, free: 9.004 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0168/2.863, allocations: 8.982 MB / 1.066 GB, free: 14.26 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/2.878, allocations: 5.424 MB / 1.071 GB, free: 9.609 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002594/2.878, allocations: 59.75 kB / 1.072 GB, free: 9.555 MB / 458.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.04244/2.921, allocations: 13.02 MB / 1.084 GB, free: 14.27 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/2.921, allocations: 88 kB / 1.084 GB, free: 14.19 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004785/2.922, allocations: 196 kB / 1.085 GB, free: 14 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004743/2.926, allocations: 1.01 MB / 1.086 GB, free: 13.16 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01517/2.941, allocations: 2.152 MB / 1.088 GB, free: 11.29 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02122/2.963, allocations: 11.02 MB / 1.098 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/2.975, allocations: 0.509 MB / 1.099 GB, free: 364 kB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004032/2.979, allocations: 0.6358 MB / 1.099 GB, free: 0 / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (1149): * Single equations (assignments): 1142 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3678/3.347, allocations: 3.736 MB / 1.103 GB, free: 107.2 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002066/3.349, allocations: 0.6658 MB / 1.104 GB, free: 107.2 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02024/3.369, allocations: 5.934 MB / 1.11 GB, free: 107 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.401e-05/3.369, allocations: 41.47 kB / 1.11 GB, free: 107 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.625e-05/3.369, allocations: 8.75 kB / 1.11 GB, free: 107 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.929e-05/3.37, allocations: 19.7 kB / 1.11 GB, free: 107 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04905/3.419, allocations: 14.71 MB / 1.124 GB, free: 106.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.127e-05/3.419, allocations: 2.312 kB / 1.124 GB, free: 106.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005629/3.424, allocations: 0.5385 MB / 1.125 GB, free: 106.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/3.428, allocations: 0.6635 MB / 1.125 GB, free: 106.2 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009056/3.429, allocations: 62.19 kB / 1.125 GB, free: 106.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/3.445, allocations: 9.889 MB / 1.135 GB, free: 100.9 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/3.445, allocations: 3.375 kB / 1.135 GB, free: 100.9 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02644/3.472, allocations: 9.736 MB / 1.144 GB, free: 98.93 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005058/3.477, allocations: 1.172 MB / 1.146 GB, free: 98.59 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002587/3.479, allocations: 62.25 kB / 1.146 GB, free: 98.55 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006564/3.486, allocations: 194.2 kB / 1.146 GB, free: 98.51 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001256/3.487, allocations: 192.8 kB / 1.146 GB, free: 98.48 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005602/3.488, allocations: 86.06 kB / 1.146 GB, free: 98.46 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0139/3.502, allocations: 4.818 MB / 1.151 GB, free: 96.89 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.345e-06/3.502, allocations: 0 / 1.151 GB, free: 96.89 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01391/3.516, allocations: 1.813 MB / 1.153 GB, free: 96.7 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (276): * Single equations (assignments): 269 * 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 {(1,100.0%) 10,(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.001323/3.517, allocations: 203.3 kB / 1.153 GB, free: 96.57 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02198/3.539, allocations: 8.786 MB / 1.161 GB, free: 93.68 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/3.539, allocations: 6.094 kB / 1.161 GB, free: 93.68 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007671/3.547, allocations: 3.205 MB / 1.164 GB, free: 92.22 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/3.558, allocations: 0.953 MB / 1.165 GB, free: 91.82 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05004/3.608, allocations: 20.67 MB / 1.186 GB, free: 81.32 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01523/3.624, allocations: 5.894 MB / 1.191 GB, free: 77.02 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01544/3.639, allocations: 3.034 MB / 1.194 GB, free: 75.05 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00325/3.642, allocations: 453.6 kB / 1.195 GB, free: 74.63 MB / 474.8 MB Notification: Performance of SimCode: time 1.653e-06/3.642, allocations: 0 / 1.195 GB, free: 74.63 MB / 474.8 MB Notification: Performance of Templates: time 0.1983/3.841, allocations: 68.12 MB / 1.261 GB, free: 14.97 MB / 474.8 MB