Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadModel(ModelicaTest): time 1.857/1.857, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 15.98 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2846, allocations: 48.7 MB / 331.3 MB, free: 6.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4268, allocations: 95.27 MB / 426.5 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.4271, allocations: 79.95 kB / 426.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6014/1.029, allocations: 106.1 MB / 0.5202 GB, free: 76.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.169e-06/1.029, allocations: 0 / 0.5202 GB, free: 76.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000274/1.029, allocations: 112 kB / 0.5203 GB, free: 76.21 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: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.01627/1.045, allocations: 5.728 MB / 0.5259 GB, free: 70.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/1.045, allocations: 8.031 kB / 0.5259 GB, free: 70.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03381/1.079, allocations: 6.889 MB / 0.5327 GB, free: 63.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/1.097, allocations: 6.898 MB / 0.5394 GB, free: 56.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/1.098, allocations: 398.6 kB / 0.5398 GB, free: 56.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/1.1, allocations: 0.5349 MB / 0.5403 GB, free: 55.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02644/1.126, allocations: 12.39 MB / 0.5524 GB, free: 42.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002554/1.127, allocations: 75.38 kB / 0.5525 GB, free: 41.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0012/1.128, allocations: 259.9 kB / 0.5527 GB, free: 41.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001627/1.129, allocations: 1.121 MB / 0.5538 GB, free: 40.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02271/1.152, allocations: 9.987 MB / 0.5636 GB, free: 30.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07329/1.225, allocations: 56.55 MB / 0.6188 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2626/1.488, allocations: 4.164 MB / 0.6229 GB, free: 101 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01975/1.508, allocations: 9.492 MB / 0.6321 GB, free: 99.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.508, allocations: 61.34 kB / 0.6322 GB, free: 99.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 6.779e-06/1.508, allocations: 1.094 kB / 0.6322 GB, free: 99.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.0602/1.568, allocations: 18.33 MB / 0.6501 GB, free: 96.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/1.568, allocations: 201.8 kB / 0.6503 GB, free: 95.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007935/1.576, allocations: 4.232 MB / 0.6544 GB, free: 95.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003765/1.577, allocations: 62.8 kB / 0.6545 GB, free: 95.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.579, allocations: 3.615 MB / 0.658 GB, free: 92.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009039/1.58, allocations: 0.8112 MB / 0.6588 GB, free: 91.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/1.58, allocations: 129.5 kB / 0.6589 GB, free: 91.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003915/1.581, allocations: 0.5849 MB / 0.6595 GB, free: 91.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004529/1.585, allocations: 2.233 MB / 0.6617 GB, free: 90.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006877/1.592, allocations: 6.144 MB / 0.6677 GB, free: 84.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007058/1.599, allocations: 3.641 MB / 0.6712 GB, free: 83.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.599, allocations: 41.06 kB / 0.6713 GB, free: 83.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.01986/1.619, allocations: 8.691 MB / 0.6797 GB, free: 80.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.619, allocations: 63.72 kB / 0.6798 GB, free: 80.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001818/1.62, allocations: 139.7 kB / 0.6799 GB, free: 80.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003352/1.623, allocations: 0.92 MB / 0.6808 GB, free: 80.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005899/1.629, allocations: 1.499 MB / 0.6823 GB, free: 79.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/1.64, allocations: 7.42 MB / 0.6896 GB, free: 75.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006432/1.647, allocations: 350.4 kB / 0.6899 GB, free: 75.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.648, allocations: 402.5 kB / 0.6903 GB, free: 75.09 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.005525/1.653, allocations: 2.567 MB / 0.6928 GB, free: 72.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000955/1.654, allocations: 422.5 kB / 0.6932 GB, free: 72.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007911/1.662, allocations: 3.531 MB / 0.6966 GB, free: 69.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-05/1.662, allocations: 26.95 kB / 0.6967 GB, free: 69.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/1.662, allocations: 4 kB / 0.6967 GB, free: 69.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/1.662, allocations: 18.08 kB / 0.6967 GB, free: 69.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/1.682, allocations: 9.139 MB / 0.7056 GB, free: 62.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.682, allocations: 0 / 0.7056 GB, free: 62.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/1.684, allocations: 325.3 kB / 0.7059 GB, free: 61.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/1.686, allocations: 0.7003 MB / 0.7066 GB, free: 61.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/1.687, allocations: 39.75 kB / 0.7066 GB, free: 61.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.7, allocations: 6.733 MB / 0.7132 GB, free: 54.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.756e-06/1.7, allocations: 7.938 kB / 0.7132 GB, free: 54.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.712, allocations: 6.234 MB / 0.7193 GB, free: 49.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/1.714, allocations: 0.7426 MB / 0.72 GB, free: 48.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006023/1.714, allocations: 32 kB / 0.7201 GB, free: 48.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/1.716, allocations: 114.1 kB / 0.7202 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/1.717, allocations: 127.2 kB / 0.7203 GB, free: 48.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.717, allocations: 59.62 kB / 0.7203 GB, free: 48.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005118/1.722, allocations: 2.999 MB / 0.7233 GB, free: 46.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.51e-07/1.722, allocations: 0 / 0.7233 GB, free: 46.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00709/1.729, allocations: 1.173 MB / 0.7244 GB, free: 44.9 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.0005104/1.73, allocations: 176.1 kB / 0.7246 GB, free: 44.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01044/1.74, allocations: 5.683 MB / 0.7301 GB, free: 39.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.935e-06/1.74, allocations: 0 / 0.7301 GB, free: 39.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003585/1.744, allocations: 1.958 MB / 0.732 GB, free: 38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/1.747, allocations: 0.5188 MB / 0.7326 GB, free: 37.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/1.771, allocations: 13.94 MB / 0.7462 GB, free: 24.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006582/1.777, allocations: 4.104 MB / 0.7502 GB, free: 21.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/1.779, allocations: 334.7 kB / 0.7505 GB, free: 21.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.748e-06/1.779, allocations: 0 / 0.7505 GB, free: 21.07 MB / 426.7 MB Notification: Performance of Templates: time 0.4532/2.232, allocations: 111.4 MB / 0.8592 GB, free: 65.18 MB / 442.7 MB