Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 234.9 MB / 251.1 MB, free: 9.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004193, allocations: 16 kB / 314.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3231, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.4954, allocations: 102.5 MB / 472.3 MB, free: 4.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.4958, allocations: 87.95 kB / 472.4 MB, free: 4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6985/1.194, allocations: 106.9 MB / 0.5657 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.194, allocations: 0 / 0.5657 GB, free: 6.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003471/1.195, allocations: 112 kB / 0.5658 GB, free: 6.211 MB / 394.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.02154/1.216, allocations: 5.715 MB / 0.5714 GB, free: 428 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.216, allocations: 12.03 kB / 0.5714 GB, free: 416 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05153/1.268, allocations: 6.888 MB / 0.5781 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02586/1.294, allocations: 6.895 MB / 0.5849 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005715/1.294, allocations: 410.6 kB / 0.5853 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002772/1.297, allocations: 0.5232 MB / 0.5858 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03815/1.335, allocations: 12.44 MB / 0.5979 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003543/1.336, allocations: 79.23 kB / 0.598 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002007/1.338, allocations: 255.9 kB / 0.5982 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/1.34, allocations: 1.121 MB / 0.5993 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03191/1.372, allocations: 9.991 MB / 0.6091 GB, free: 8.562 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.443/1.815, allocations: 56.63 MB / 0.6644 GB, free: 64.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/1.832, allocations: 4.162 MB / 0.6685 GB, free: 63.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0242/1.856, allocations: 9.495 MB / 0.6777 GB, free: 61.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/1.856, allocations: 55.19 kB / 0.6778 GB, free: 61.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 5.861e-06/1.856, allocations: 0 / 0.6778 GB, free: 61.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=212): time 0.08309/1.939, allocations: 18.73 MB / 0.6961 GB, free: 58 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/1.94, allocations: 202.9 kB / 0.6963 GB, free: 57.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.95, allocations: 4.751 MB / 0.7009 GB, free: 57.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004952/1.95, allocations: 58.33 kB / 0.701 GB, free: 57.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00298/1.953, allocations: 3.62 MB / 0.7045 GB, free: 55.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001194/1.955, allocations: 0.8083 MB / 0.7053 GB, free: 54.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007517/1.955, allocations: 128.8 kB / 0.7054 GB, free: 54.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004247/1.956, allocations: 0.5814 MB / 0.706 GB, free: 54.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00567/1.961, allocations: 2.235 MB / 0.7082 GB, free: 54.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008359/1.97, allocations: 6.182 MB / 0.7142 GB, free: 49.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008244/1.978, allocations: 3.64 MB / 0.7178 GB, free: 48.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/1.978, allocations: 41.81 kB / 0.7178 GB, free: 48.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02385/2.002, allocations: 8.7 MB / 0.7263 GB, free: 45.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/2.002, allocations: 68.67 kB / 0.7264 GB, free: 45.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002245/2.003, allocations: 139.8 kB / 0.7265 GB, free: 45.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/2.007, allocations: 0.9284 MB / 0.7274 GB, free: 45.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008797/2.016, allocations: 1.494 MB / 0.7289 GB, free: 45.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/2.029, allocations: 7.41 MB / 0.7361 GB, free: 40.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007099/2.036, allocations: 354.6 kB / 0.7364 GB, free: 40.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/2.038, allocations: 395.3 kB / 0.7368 GB, free: 40.57 MB / 474.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.006796/2.044, allocations: 2.562 MB / 0.7393 GB, free: 39.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/2.046, allocations: 427 kB / 0.7397 GB, free: 39.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/2.058, allocations: 3.523 MB / 0.7432 GB, free: 37.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.573e-05/2.058, allocations: 28.33 kB / 0.7432 GB, free: 37.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-05/2.058, allocations: 6.219 kB / 0.7432 GB, free: 37.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.083e-05/2.058, allocations: 13.62 kB / 0.7432 GB, free: 37.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03806/2.096, allocations: 9.132 MB / 0.7521 GB, free: 30.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.692e-05/2.097, allocations: 4 kB / 0.7521 GB, free: 30.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004679/2.101, allocations: 334.9 kB / 0.7524 GB, free: 30.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00525/2.107, allocations: 0.692 MB / 0.7531 GB, free: 29.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006032/2.107, allocations: 32 kB / 0.7532 GB, free: 29.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01825/2.126, allocations: 6.74 MB / 0.7597 GB, free: 23.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/2.126, allocations: 0 / 0.7597 GB, free: 23.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0211/2.147, allocations: 6.149 MB / 0.7657 GB, free: 17.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003874/2.151, allocations: 0.7314 MB / 0.7665 GB, free: 17.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002271/2.153, allocations: 39.89 kB / 0.7665 GB, free: 17.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00516/2.158, allocations: 112 kB / 0.7666 GB, free: 17.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009928/2.159, allocations: 125.5 kB / 0.7667 GB, free: 17.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004009/2.16, allocations: 55.33 kB / 0.7668 GB, free: 17.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01153/2.171, allocations: 2.989 MB / 0.7697 GB, free: 14.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.363e-06/2.171, allocations: 0 / 0.7697 GB, free: 14.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01758/2.189, allocations: 1.178 MB / 0.7708 GB, free: 13.43 MB / 474.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.001231/2.19, allocations: 181.2 kB / 0.771 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02041/2.211, allocations: 5.68 MB / 0.7766 GB, free: 8.301 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/2.211, allocations: 0 / 0.7766 GB, free: 8.301 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01035/2.221, allocations: 1.955 MB / 0.7785 GB, free: 6.566 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006472/2.228, allocations: 0.5279 MB / 0.779 GB, free: 6.121 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05705/2.285, allocations: 13.99 MB / 0.7926 GB, free: 9.453 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02193/2.307, allocations: 4.106 MB / 0.7967 GB, free: 6.387 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002853/2.31, allocations: 330.2 kB / 0.797 GB, free: 6.078 MB / 490.7 MB Notification: Performance of SimCode: time 2.124e-06/2.31, allocations: 1.969 kB / 0.797 GB, free: 6.078 MB / 490.7 MB Notification: Performance of Templates: time 0.5793/2.889, allocations: 111.4 MB / 0.9058 GB, free: 132.4 MB / 0.5261 GB