Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.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.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00442/0.004426, 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.471/3.471, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003503/0.003503, allocations: 214.2 kB / 397.9 MB, free: 4.895 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.506/0.506, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1199, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.5854, allocations: 95.97 MB / 0.7004 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5857, allocations: 87.94 kB / 0.7005 GB, free: 16.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7396/1.325, allocations: 96.59 MB / 0.7949 GB, free: 85.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.325, allocations: 0 / 0.7949 GB, free: 85.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000298/1.326, allocations: 95.38 kB / 0.7949 GB, free: 85.92 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.04044/1.366, allocations: 5.61 MB / 0.8004 GB, free: 83.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.366, allocations: 5.688 kB / 0.8004 GB, free: 83.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.025/1.391, allocations: 2.296 MB / 0.8027 GB, free: 83.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01815/1.41, allocations: 3.866 MB / 0.8065 GB, free: 82.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007928/1.41, allocations: 397.6 kB / 0.8068 GB, free: 82.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004024/1.414, allocations: 0.512 MB / 0.8073 GB, free: 82.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05518/1.47, allocations: 12.9 MB / 0.8199 GB, free: 77.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004811/1.47, allocations: 61.69 kB / 0.82 GB, free: 76.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00336/1.474, allocations: 256.5 kB / 0.8202 GB, free: 76.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003807/1.477, allocations: 1.214 MB / 0.8214 GB, free: 76.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04971/1.527, allocations: 11.17 MB / 0.8323 GB, free: 73.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1183/1.646, allocations: 55.69 MB / 0.8867 GB, free: 19.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04272/1.688, allocations: 5.255 MB / 0.8918 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01107/1.7, allocations: 3.34 MB / 0.8951 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003802/1.703, allocations: 1.014 MB / 0.8961 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.709e-05/1.704, allocations: 67.7 kB / 0.8962 GB, free: 9.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 9.758e-06/1.704, allocations: 0 / 0.8962 GB, free: 9.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.461/2.165, allocations: 26.21 MB / 0.9218 GB, free: 92.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/2.165, allocations: 157.7 kB / 0.9219 GB, free: 92.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/2.178, allocations: 4.499 MB / 0.9263 GB, free: 91.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008433/2.179, allocations: 61.92 kB / 0.9264 GB, free: 91.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003801/2.183, allocations: 3.543 MB / 0.9298 GB, free: 90.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/2.185, allocations: 0.9513 MB / 0.9307 GB, free: 90.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/2.186, allocations: 135.2 kB / 0.9309 GB, free: 90.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006641/2.187, allocations: 0.5925 MB / 0.9315 GB, free: 89.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009412/2.196, allocations: 3.049 MB / 0.9344 GB, free: 89.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01322/2.21, allocations: 6.977 MB / 0.9412 GB, free: 84.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/2.222, allocations: 4.5 MB / 0.9456 GB, free: 84.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002815/2.223, allocations: 39.5 kB / 0.9457 GB, free: 84.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.03532/2.258, allocations: 10.87 MB / 0.9563 GB, free: 81.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/2.258, allocations: 62.62 kB / 0.9564 GB, free: 81.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002729/2.258, allocations: 137.4 kB / 0.9565 GB, free: 81.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005135/2.264, allocations: 1.127 MB / 0.9576 GB, free: 81.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01219/2.276, allocations: 1.71 MB / 0.9593 GB, free: 80.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/2.289, allocations: 5.926 MB / 0.965 GB, free: 77.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009/2.298, allocations: 426 kB / 0.9655 GB, free: 77.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/2.3, allocations: 423.5 kB / 0.9659 GB, free: 77.77 MB / 426.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.007638/2.307, allocations: 2.431 MB / 0.9682 GB, free: 76.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/2.309, allocations: 413.2 kB / 0.9686 GB, free: 76.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/2.327, allocations: 5.66 MB / 0.9741 GB, free: 74.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.605e-05/2.327, allocations: 32.19 kB / 0.9742 GB, free: 74.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/2.327, allocations: 6.797 kB / 0.9742 GB, free: 74.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-05/2.327, allocations: 14.78 kB / 0.9742 GB, free: 74.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03659/2.364, allocations: 12.34 MB / 0.9863 GB, free: 69.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.115e-05/2.364, allocations: 3.656 kB / 0.9863 GB, free: 69.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005554/2.369, allocations: 0.5135 MB / 0.9868 GB, free: 69.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004533/2.374, allocations: 0.9281 MB / 0.9877 GB, free: 69.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008147/2.375, allocations: 55.23 kB / 0.9877 GB, free: 69.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/2.386, allocations: 5.652 MB / 0.9932 GB, free: 66.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/2.386, allocations: 5.859 kB / 0.9932 GB, free: 66.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.025/2.411, allocations: 9.604 MB / 1.003 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003566/2.415, allocations: 0.9194 MB / 1.004 GB, free: 61.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/2.416, allocations: 47.95 kB / 1.004 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005076/2.422, allocations: 182.7 kB / 1.004 GB, free: 61.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/2.423, allocations: 148.9 kB / 1.004 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004406/2.423, allocations: 76.44 kB / 1.004 GB, free: 61.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007702/2.431, allocations: 2.813 MB / 1.007 GB, free: 59.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.333e-06/2.431, allocations: 0 / 1.007 GB, free: 59.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01039/2.441, allocations: 1.263 MB / 1.008 GB, free: 57.77 MB / 426.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.001322/2.443, allocations: 194.4 kB / 1.008 GB, free: 57.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01819/2.461, allocations: 7.31 MB / 1.015 GB, free: 51.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.425e-05/2.461, allocations: 0 / 1.015 GB, free: 51.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006936/2.468, allocations: 2.772 MB / 1.018 GB, free: 48.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006256/2.474, allocations: 495 kB / 1.018 GB, free: 48.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/2.508, allocations: 14.15 MB / 1.032 GB, free: 35.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008985/2.517, allocations: 3.906 MB / 1.036 GB, free: 32.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01092/2.528, allocations: 2.289 MB / 1.038 GB, free: 30.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/2.531, allocations: 315.3 kB / 1.039 GB, free: 30.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/2.531, allocations: 0 / 1.039 GB, free: 30.68 MB / 426.7 MB Notification: Performance of Templates: time 0.5292/3.06, allocations: 47.62 MB / 1.085 GB, free: 98.46 MB / 442.7 MB