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.851/1.851, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004396, allocations: 12 kB / 282.5 MB, free: 9.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.08972, allocations: 48.71 MB / 331.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.3378/0.4276, allocations: 57.43 MB / 388.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03644/0.4641, allocations: 13.45 MB / 402.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01392/0.4781, allocations: 287.3 kB / 402.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009602/0.4877, allocations: 2.944 MB / 405.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02943/0.5172, allocations: 8.268 MB / 413.6 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004409/0.5216, allocations: 0.8035 MB / 414.4 MB, free: 1.645 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03826/0.5599, allocations: 17.83 MB / 432.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.5724, allocations: 6.554 MB / 438.8 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.5757, allocations: 1.402 MB / 440.2 MB, free: 7.777 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.5795, allocations: 1.873 MB / 442 MB, free: 5.898 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.5806, allocations: 188 kB / 442.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.5835, allocations: 1.01 MB / 443.2 MB, free: 4.703 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0032/0.5867, allocations: 2.089 MB / 445.3 MB, free: 2.609 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.5884, allocations: 1.096 MB / 446.4 MB, free: 1.504 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.5997, allocations: 7.544 MB / 454 MB, free: 9.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.781e-06/0.5998, allocations: 0 / 454 MB, free: 9.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.85e-06/0.5998, allocations: 0 / 454 MB, free: 9.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001887/0.6, allocations: 0 / 454 MB, free: 9.941 MB / 378.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.01557/0.6156, allocations: 5.629 MB / 459.6 MB, free: 4.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6156, allocations: 8.031 kB / 459.6 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05457/0.6702, allocations: 8.032 MB / 467.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.6816, allocations: 4.271 MB / 471.9 MB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/0.682, allocations: 308 kB / 472.2 MB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.6834, allocations: 419.7 kB / 472.6 MB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/0.7114, allocations: 12.02 MB / 484.6 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002179/0.7116, allocations: 59.44 kB / 484.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008925/0.7126, allocations: 191.8 kB / 484.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004276/0.7168, allocations: 2.089 MB / 487 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2507/0.9676, allocations: 9.987 MB / 497 MB, free: 123.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09686/1.065, allocations: 46.54 MB / 0.5308 GB, free: 90.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/1.079, allocations: 4.26 MB / 0.5349 GB, free: 87.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01896/1.098, allocations: 9.682 MB / 0.5444 GB, free: 81.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/1.098, allocations: 63.77 kB / 0.5444 GB, free: 81.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=190): time 6.063e-06/1.098, allocations: 0 / 0.5444 GB, free: 81.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.06212/1.16, allocations: 19.4 MB / 0.5634 GB, free: 61.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/1.16, allocations: 201.2 kB / 0.5636 GB, free: 61.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00812/1.168, allocations: 5.046 MB / 0.5685 GB, free: 56.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003739/1.169, allocations: 55.27 kB / 0.5686 GB, free: 56.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/1.171, allocations: 3.596 MB / 0.5721 GB, free: 52.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009346/1.172, allocations: 0.8032 MB / 0.5728 GB, free: 51.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/1.173, allocations: 128 kB / 0.573 GB, free: 51.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003599/1.173, allocations: 0.5835 MB / 0.5735 GB, free: 51.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00444/1.177, allocations: 2.308 MB / 0.5758 GB, free: 48.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006421/1.184, allocations: 6.224 MB / 0.5819 GB, free: 40.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006437/1.19, allocations: 3.714 MB / 0.5855 GB, free: 37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.975e-05/1.19, allocations: 40 kB / 0.5855 GB, free: 36.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.01934/1.21, allocations: 8.924 MB / 0.5943 GB, free: 28.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.21, allocations: 64.47 kB / 0.5943 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/1.21, allocations: 136 kB / 0.5944 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/1.214, allocations: 1.085 MB / 0.5955 GB, free: 26.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00603/1.22, allocations: 1.489 MB / 0.597 GB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.232, allocations: 8.191 MB / 0.605 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/1.238, allocations: 360.9 kB / 0.6053 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009012/1.239, allocations: 392 kB / 0.6057 GB, free: 16.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * 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 (784): * Single equations (assignments): 779 * 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.004757/1.244, allocations: 2.565 MB / 0.6082 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008505/1.245, allocations: 426.5 kB / 0.6086 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/1.253, allocations: 3.797 MB / 0.6123 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/1.253, allocations: 27.94 kB / 0.6123 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.868e-05/1.253, allocations: 8 kB / 0.6123 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.774e-05/1.253, allocations: 15.95 kB / 0.6123 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/1.274, allocations: 9.605 MB / 0.6217 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.274, allocations: 0 / 0.6217 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.276, allocations: 339.5 kB / 0.622 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/1.28, allocations: 0.8522 MB / 0.6229 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003738/1.28, allocations: 32 kB / 0.6229 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/1.294, allocations: 7.539 MB / 0.6303 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.807e-06/1.294, allocations: 0 / 0.6303 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/1.309, allocations: 6.547 MB / 0.6367 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/1.312, allocations: 0.7687 MB / 0.6374 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008497/1.313, allocations: 40.7 kB / 0.6375 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/1.315, allocations: 119.8 kB / 0.6376 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005082/1.316, allocations: 126.4 kB / 0.6377 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/1.316, allocations: 55.98 kB / 0.6377 GB, free: 14.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007323/1.323, allocations: 3.226 MB / 0.6409 GB, free: 11.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.359e-06/1.323, allocations: 0 / 0.6409 GB, free: 11.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007475/1.331, allocations: 1.203 MB / 0.6421 GB, free: 10.41 MB / 442.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.0007664/1.332, allocations: 191.1 kB / 0.6423 GB, free: 10.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01337/1.345, allocations: 5.816 MB / 0.6479 GB, free: 4.402 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.345, allocations: 0 / 0.6479 GB, free: 4.402 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004946/1.35, allocations: 2.045 MB / 0.6499 GB, free: 2.336 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/1.353, allocations: 0.5271 MB / 0.6504 GB, free: 1.809 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2521/1.606, allocations: 14.04 MB / 0.6641 GB, free: 143.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008703/1.614, allocations: 4.107 MB / 0.6682 GB, free: 142.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/1.616, allocations: 336.1 kB / 0.6685 GB, free: 142.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.868e-06/1.616, allocations: 0 / 0.6685 GB, free: 142.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1529/1.769, allocations: 112.3 MB / 0.7782 GB, free: 42.81 MB / 442.7 MB