Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.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.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003746/0.003753, allocations: 346 kB / 15.94 MB, free: 6.223 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.808/3.808, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003605/0.003604, allocations: 226.1 kB / 397.9 MB, free: 4.973 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.5068/0.5068, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006677/0.0006679, allocations: 16 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1288, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.5434, allocations: 95.26 MB / 0.6998 GB, free: 17.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5437, allocations: 87.95 kB / 0.6999 GB, free: 17.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8055/1.349, allocations: 105.4 MB / 0.8028 GB, free: 84.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.296e-06/1.349, allocations: 0 / 0.8028 GB, free: 84.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003702/1.35, allocations: 105 kB / 0.8029 GB, free: 84.77 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: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.0226/1.372, allocations: 5.615 MB / 0.8083 GB, free: 82.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.372, allocations: 7.156 kB / 0.8083 GB, free: 82.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04597/1.418, allocations: 5.254 MB / 0.8135 GB, free: 82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/1.436, allocations: 5.658 MB / 0.819 GB, free: 80.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000432/1.436, allocations: 403 kB / 0.8194 GB, free: 80.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/1.439, allocations: 0.5355 MB / 0.8199 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03444/1.473, allocations: 12.32 MB / 0.8319 GB, free: 73.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003854/1.474, allocations: 66.06 kB / 0.832 GB, free: 73.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/1.476, allocations: 254.9 kB / 0.8322 GB, free: 73.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002265/1.478, allocations: 1.125 MB / 0.8333 GB, free: 73.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/1.507, allocations: 9.862 MB / 0.843 GB, free: 65.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.081/1.588, allocations: 56.47 MB / 0.8981 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0168/1.605, allocations: 4.164 MB / 0.9022 GB, free: 2.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004869/1.61, allocations: 2.3 MB / 0.9044 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03132/1.641, allocations: 9.411 MB / 0.9136 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.278e-05/1.641, allocations: 55.88 kB / 0.9137 GB, free: 6.938 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 7.664e-06/1.641, allocations: 0.6562 kB / 0.9137 GB, free: 6.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.4124/2.054, allocations: 18.47 MB / 0.9317 GB, free: 90.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/2.054, allocations: 204.9 kB / 0.9319 GB, free: 90.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/2.066, allocations: 4.754 MB / 0.9366 GB, free: 90 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005573/2.066, allocations: 60.2 kB / 0.9366 GB, free: 89.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003875/2.07, allocations: 3.757 MB / 0.9403 GB, free: 88.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001328/2.071, allocations: 0.8173 MB / 0.9411 GB, free: 87.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007356/2.072, allocations: 126.5 kB / 0.9412 GB, free: 87.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004451/2.073, allocations: 0.5766 MB / 0.9418 GB, free: 87.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006078/2.079, allocations: 2.238 MB / 0.9439 GB, free: 87.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008562/2.087, allocations: 6.168 MB / 0.95 GB, free: 82.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008968/2.096, allocations: 3.642 MB / 0.9535 GB, free: 81.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001927/2.097, allocations: 41.22 kB / 0.9536 GB, free: 81.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.03208/2.129, allocations: 8.863 MB / 0.9622 GB, free: 78.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/2.129, allocations: 65.91 kB / 0.9623 GB, free: 78.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/2.129, allocations: 138.5 kB / 0.9624 GB, free: 78.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004603/2.134, allocations: 0.9269 MB / 0.9633 GB, free: 78.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009275/2.143, allocations: 1.495 MB / 0.9648 GB, free: 78.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/2.156, allocations: 7.242 MB / 0.9719 GB, free: 73.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00765/2.164, allocations: 355.4 kB / 0.9722 GB, free: 73.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/2.165, allocations: 393.3 kB / 0.9726 GB, free: 73.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * 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 (788): * Single equations (assignments): 783 * 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.007104/2.172, allocations: 2.569 MB / 0.9751 GB, free: 72.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/2.174, allocations: 423.7 kB / 0.9755 GB, free: 71.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/2.185, allocations: 3.538 MB / 0.9789 GB, free: 70.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.662e-05/2.185, allocations: 28.12 kB / 0.979 GB, free: 70.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/2.185, allocations: 5.469 kB / 0.979 GB, free: 70.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.217e-05/2.185, allocations: 8.859 kB / 0.979 GB, free: 70.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02692/2.212, allocations: 9.127 MB / 0.9879 GB, free: 67.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/2.212, allocations: 3.281 kB / 0.9879 GB, free: 67.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00328/2.215, allocations: 326.7 kB / 0.9882 GB, free: 67.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003835/2.219, allocations: 0.702 MB / 0.9889 GB, free: 66.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000428/2.22, allocations: 44.98 kB / 0.9889 GB, free: 66.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/2.231, allocations: 6.544 MB / 0.9953 GB, free: 62.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/2.231, allocations: 0 / 0.9953 GB, free: 62.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/2.246, allocations: 6.165 MB / 1.001 GB, free: 60.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002671/2.249, allocations: 0.7443 MB / 1.002 GB, free: 59.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/2.25, allocations: 31.5 kB / 1.002 GB, free: 59.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003169/2.253, allocations: 112.9 kB / 1.002 GB, free: 59.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005354/2.254, allocations: 130.4 kB / 1.002 GB, free: 59.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/2.254, allocations: 57.28 kB / 1.002 GB, free: 59.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007016/2.261, allocations: 2.998 MB / 1.005 GB, free: 57.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.52e-07/2.261, allocations: 0 / 1.005 GB, free: 57.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008718/2.27, allocations: 1.171 MB / 1.006 GB, free: 56.63 MB / 426.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.00079/2.271, allocations: 171.8 kB / 1.007 GB, free: 56.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/2.284, allocations: 5.667 MB / 1.012 GB, free: 51.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.284, allocations: 0 / 1.012 GB, free: 51.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005085/2.289, allocations: 1.974 MB / 1.014 GB, free: 49.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/2.295, allocations: 0.5593 MB / 1.015 GB, free: 49.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/2.327, allocations: 13.38 MB / 1.028 GB, free: 36.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0104/2.337, allocations: 4.102 MB / 1.032 GB, free: 33.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009486/2.347, allocations: 2.091 MB / 1.034 GB, free: 32.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/2.348, allocations: 282.1 kB / 1.034 GB, free: 32.33 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/2.348, allocations: 0 / 1.034 GB, free: 32.33 MB / 426.7 MB Notification: Performance of Templates: time 0.1255/2.474, allocations: 40.77 MB / 1.074 GB, free: 11.05 MB / 442.7 MB