Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002742/0.002746, allocations: 360.5 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.217/4.217, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.003561/0.003561, allocations: 227.2 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.6565/0.6565, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004639, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5031/0.6073, allocations: 102.7 MB / 0.7804 GB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005083/0.6079, allocations: 98.44 kB / 0.7805 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5057/1.114, allocations: 96.61 MB / 0.8749 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.138e-06/1.114, allocations: 0 / 0.8749 GB, free: 5.668 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004866/1.114, allocations: 104 kB / 0.875 GB, free: 5.566 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.04051/1.155, allocations: 5.602 MB / 0.8804 GB, free: 15.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/1.155, allocations: 8.031 kB / 0.8804 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0247/1.18, allocations: 2.282 MB / 0.8827 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01766/1.197, allocations: 3.876 MB / 0.8864 GB, free: 9.652 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009267/1.198, allocations: 394.3 kB / 0.8868 GB, free: 9.266 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003875/1.202, allocations: 0.5153 MB / 0.8873 GB, free: 8.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4963/1.699, allocations: 12.9 MB / 0.8999 GB, free: 94.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000826/1.7, allocations: 64.55 kB / 0.9 GB, free: 94.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004135/1.704, allocations: 249.5 kB / 0.9002 GB, free: 94.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00514/1.709, allocations: 1.21 MB / 0.9014 GB, free: 94.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05534/1.764, allocations: 11.17 MB / 0.9123 GB, free: 94.89 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09313/1.858, allocations: 55.71 MB / 0.9667 GB, free: 62.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02645/1.884, allocations: 5.26 MB / 0.9719 GB, free: 60.21 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006568/1.891, allocations: 3.336 MB / 0.9751 GB, free: 58.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/1.893, allocations: 1.013 MB / 0.9761 GB, free: 57.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/1.893, allocations: 58.34 kB / 0.9762 GB, free: 57.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 7.193e-06/1.893, allocations: 2.219 kB / 0.9762 GB, free: 57.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=255): time 0.1246/2.018, allocations: 26.22 MB / 1.002 GB, free: 48.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/2.018, allocations: 157.9 kB / 1.002 GB, free: 48.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/2.028, allocations: 4.489 MB / 1.006 GB, free: 47.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008171/2.029, allocations: 63.23 kB / 1.006 GB, free: 47.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003191/2.032, allocations: 3.539 MB / 1.01 GB, free: 44.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001635/2.034, allocations: 0.9575 MB / 1.011 GB, free: 43.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/2.035, allocations: 136.8 kB / 1.011 GB, free: 43.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005779/2.035, allocations: 0.5957 MB / 1.011 GB, free: 43.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00758/2.043, allocations: 3.045 MB / 1.014 GB, free: 42.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/2.053, allocations: 6.979 MB / 1.021 GB, free: 33.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/2.063, allocations: 4.507 MB / 1.026 GB, free: 29.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/2.064, allocations: 40 kB / 1.026 GB, free: 29.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.02968/2.093, allocations: 10.87 MB / 1.036 GB, free: 20.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/2.093, allocations: 64.19 kB / 1.036 GB, free: 20.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/2.094, allocations: 140 kB / 1.036 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004855/2.098, allocations: 1.127 MB / 1.038 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/2.11, allocations: 1.708 MB / 1.039 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/2.121, allocations: 5.923 MB / 1.045 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008576/2.13, allocations: 421.7 kB / 1.045 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/2.132, allocations: 427.3 kB / 1.046 GB, free: 12.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (852): * Single equations (assignments): 848 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007437/2.139, allocations: 2.424 MB / 1.048 GB, free: 9.891 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/2.141, allocations: 406.7 kB / 1.049 GB, free: 9.488 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/2.159, allocations: 5.66 MB / 1.054 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-05/2.159, allocations: 30.19 kB / 1.054 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/2.159, allocations: 4 kB / 1.054 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.227e-05/2.159, allocations: 11.95 kB / 1.054 GB, free: 4.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04574/2.205, allocations: 12.34 MB / 1.066 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/2.205, allocations: 4 kB / 1.066 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005648/2.211, allocations: 0.5151 MB / 1.067 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004895/2.216, allocations: 0.9339 MB / 1.068 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008586/2.217, allocations: 48 kB / 1.068 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/2.23, allocations: 5.642 MB / 1.073 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/2.23, allocations: 4 kB / 1.073 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.373/2.603, allocations: 9.605 MB / 1.083 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/2.607, allocations: 0.9067 MB / 1.083 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/2.609, allocations: 49.98 kB / 1.084 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005055/2.614, allocations: 186.4 kB / 1.084 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/2.615, allocations: 160.2 kB / 1.084 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000651/2.616, allocations: 70.83 kB / 1.084 GB, free: 104.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009144/2.625, allocations: 2.814 MB / 1.087 GB, free: 104.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.625, allocations: 0 / 1.087 GB, free: 104.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01298/2.638, allocations: 1.264 MB / 1.088 GB, free: 104.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001719/2.64, allocations: 187.6 kB / 1.088 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02609/2.666, allocations: 7.302 MB / 1.095 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/2.666, allocations: 3.875 kB / 1.095 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007048/2.673, allocations: 2.772 MB / 1.098 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007193/2.68, allocations: 496.6 kB / 1.098 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/2.714, allocations: 14.14 MB / 1.112 GB, free: 98.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008943/2.723, allocations: 3.897 MB / 1.116 GB, free: 97.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01103/2.734, allocations: 2.295 MB / 1.118 GB, free: 97.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002805/2.737, allocations: 312.1 kB / 1.119 GB, free: 97.83 MB / 490.7 MB Notification: Performance of SimCode: time 2.424e-06/2.737, allocations: 0 / 1.119 GB, free: 97.83 MB / 490.7 MB Notification: Performance of Templates: time 0.1283/2.865, allocations: 47.65 MB / 1.165 GB, free: 84.26 MB / 490.7 MB