Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.Beveal1d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002976/0.002976, allocations: 361.7 kB / 15.95 MB, free: 6.203 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 3.863/3.863, allocations: 388.9 MB / 405.6 MB, free: 47.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003498/0.003498, allocations: 228.7 kB / 451 MB, free: 2.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7896/0.7896, allocations: 80.02 MB / 0.5627 GB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007378/0.000738, allocations: 12 kB / 0.6265 GB, free: 4.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1297, allocations: 54.89 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4734/0.6032, allocations: 102.5 MB / 0.7802 GB, free: 17.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.6035, allocations: 90.91 kB / 0.7803 GB, free: 17.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8081/1.412, allocations: 105.3 MB / 0.8832 GB, free: 86.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.166e-06/1.412, allocations: 0 / 0.8832 GB, free: 86.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004/1.412, allocations: 109.5 kB / 0.8833 GB, free: 86.39 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.02331/1.435, allocations: 5.611 MB / 0.8888 GB, free: 84.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.435, allocations: 9.531 kB / 0.8888 GB, free: 84.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04111/1.477, allocations: 5.249 MB / 0.8939 GB, free: 83.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02101/1.498, allocations: 5.663 MB / 0.8994 GB, free: 83.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005835/1.498, allocations: 409.4 kB / 0.8998 GB, free: 83 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/1.501, allocations: 0.5314 MB / 0.9003 GB, free: 82.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0373/1.538, allocations: 12.31 MB / 0.9124 GB, free: 79.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004971/1.539, allocations: 69.88 kB / 0.9124 GB, free: 79.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002778/1.542, allocations: 258.6 kB / 0.9127 GB, free: 79.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002898/1.545, allocations: 1.126 MB / 0.9138 GB, free: 79.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04362/1.588, allocations: 9.858 MB / 0.9234 GB, free: 79.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.108/1.697, allocations: 56.55 MB / 0.9786 GB, free: 38.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/1.715, allocations: 4.161 MB / 0.9827 GB, free: 36.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005055/1.72, allocations: 2.287 MB / 0.9849 GB, free: 35.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0226/1.742, allocations: 9.433 MB / 0.9941 GB, free: 30.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/1.742, allocations: 59.12 kB / 0.9942 GB, free: 30.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 6.092e-06/1.742, allocations: 0 / 0.9942 GB, free: 30.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=212): time 0.08636/1.829, allocations: 18.46 MB / 1.012 GB, free: 23.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/1.829, allocations: 212.5 kB / 1.012 GB, free: 23.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.839, allocations: 4.746 MB / 1.017 GB, free: 19.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005418/1.84, allocations: 57.7 kB / 1.017 GB, free: 19.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00355/1.844, allocations: 3.761 MB / 1.021 GB, free: 15.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.845, allocations: 0.8123 MB / 1.022 GB, free: 14.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008928/1.846, allocations: 124 kB / 1.022 GB, free: 14.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005114/1.846, allocations: 0.5853 MB / 1.022 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006423/1.853, allocations: 2.236 MB / 1.024 GB, free: 12.42 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008819/1.862, allocations: 6.176 MB / 1.03 GB, free: 4.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008369/1.87, allocations: 3.647 MB / 1.034 GB, free: 1.477 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/1.87, allocations: 40 kB / 1.034 GB, free: 1.438 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02744/1.898, allocations: 8.865 MB / 1.043 GB, free: 9.656 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/1.898, allocations: 64 kB / 1.043 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002674/1.898, allocations: 140 kB / 1.043 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004858/1.903, allocations: 0.9237 MB / 1.044 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/1.913, allocations: 1.493 MB / 1.045 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/1.929, allocations: 7.251 MB / 1.052 GB, free: 0.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007743/1.937, allocations: 354.3 kB / 1.053 GB, free: 404 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001886/1.939, allocations: 399.6 kB / 1.053 GB, free: 16 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (789): * Single equations (assignments): 784 * 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%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3795/2.318, allocations: 2.556 MB / 1.056 GB, free: 91.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/2.32, allocations: 424.7 kB / 1.056 GB, free: 91.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/2.332, allocations: 3.534 MB / 1.059 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.76e-05/2.332, allocations: 23.62 kB / 1.059 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/2.332, allocations: 9.203 kB / 1.059 GB, free: 90.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.067e-05/2.332, allocations: 14.94 kB / 1.059 GB, free: 90.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.031/2.363, allocations: 9.117 MB / 1.068 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.327e-05/2.363, allocations: 0 / 1.068 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003583/2.366, allocations: 334.7 kB / 1.069 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004187/2.371, allocations: 0.6894 MB / 1.069 GB, free: 90.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005096/2.371, allocations: 42.17 kB / 1.069 GB, free: 90.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/2.384, allocations: 6.556 MB / 1.076 GB, free: 87.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.384, allocations: 0 / 1.076 GB, free: 87.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/2.4, allocations: 6.165 MB / 1.082 GB, free: 87.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002914/2.403, allocations: 0.7332 MB / 1.083 GB, free: 87.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001477/2.405, allocations: 35.09 kB / 1.083 GB, free: 87.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/2.408, allocations: 119.3 kB / 1.083 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008348/2.409, allocations: 125.3 kB / 1.083 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/2.41, allocations: 51.44 kB / 1.083 GB, free: 87.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009376/2.419, allocations: 2.999 MB / 1.086 GB, free: 87.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.001e-06/2.419, allocations: 0 / 1.086 GB, free: 87.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009676/2.429, allocations: 1.176 MB / 1.087 GB, free: 87.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (163): * Single equations (assignments): 158 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009653/2.43, allocations: 169.6 kB / 1.087 GB, free: 86.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01586/2.446, allocations: 5.684 MB / 1.093 GB, free: 86.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/2.446, allocations: 0 / 1.093 GB, free: 86.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005324/2.451, allocations: 1.968 MB / 1.095 GB, free: 85.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005984/2.457, allocations: 0.5525 MB / 1.095 GB, free: 85.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/2.492, allocations: 13.37 MB / 1.108 GB, free: 78.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01225/2.505, allocations: 4.1 MB / 1.112 GB, free: 77.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01067/2.515, allocations: 2.097 MB / 1.114 GB, free: 77.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/2.517, allocations: 282.5 kB / 1.115 GB, free: 77.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/2.517, allocations: 0 / 1.115 GB, free: 77.36 MB / 490.7 MB Notification: Performance of Templates: time 0.1461/2.663, allocations: 40.79 MB / 1.154 GB, free: 73.86 MB / 490.7 MB