Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.58/1.58, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003434, allocations: 8 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08064/0.08101, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4487, allocations: 86.66 MB / 358.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.4491, allocations: 90.31 kB / 358.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6027/1.052, allocations: 83.73 MB / 442.6 MB, free: 72.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.905e-06/1.052, allocations: 3.469 kB / 442.6 MB, free: 72.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002859/1.052, allocations: 83.44 kB / 442.7 MB, free: 72.22 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02763/1.08, allocations: 4.727 MB / 447.4 MB, free: 70.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.08, allocations: 9.25 kB / 447.4 MB, free: 70.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003524/1.083, allocations: 0.7697 MB / 448.2 MB, free: 70.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/1.101, allocations: 2.214 MB / 450.4 MB, free: 70 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/1.117, allocations: 4.472 MB / 454.9 MB, free: 69.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/1.117, allocations: 326 kB / 455.2 MB, free: 69.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/1.119, allocations: 432.1 kB / 455.6 MB, free: 69.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/1.149, allocations: 10.78 MB / 466.4 MB, free: 66.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/1.15, allocations: 64.34 kB / 466.4 MB, free: 66.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001206/1.151, allocations: 210.7 kB / 466.6 MB, free: 66.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002181/1.153, allocations: 0.9949 MB / 467.6 MB, free: 66.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02736/1.18, allocations: 9 MB / 476.6 MB, free: 65.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06864/1.249, allocations: 48.88 MB / 0.5132 GB, free: 27.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/1.268, allocations: 3.531 MB / 0.5167 GB, free: 24.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009936/1.278, allocations: 4.365 MB / 0.5209 GB, free: 20.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/1.278, allocations: 50.84 kB / 0.521 GB, free: 20.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 5.16e-06/1.278, allocations: 0 / 0.521 GB, free: 20.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.04415/1.322, allocations: 12.23 MB / 0.5329 GB, free: 10.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.322, allocations: 149.5 kB / 0.5331 GB, free: 10.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007709/1.33, allocations: 3.714 MB / 0.5367 GB, free: 6.367 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003813/1.33, allocations: 45.7 kB / 0.5367 GB, free: 6.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/1.332, allocations: 3.105 MB / 0.5398 GB, free: 3.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008793/1.333, allocations: 0.5859 MB / 0.5403 GB, free: 2.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005175/1.334, allocations: 116 kB / 0.5404 GB, free: 2.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003437/1.334, allocations: 0.5587 MB / 0.541 GB, free: 1.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004997/1.339, allocations: 1.975 MB / 0.5429 GB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009303/1.349, allocations: 5.771 MB / 0.5486 GB, free: 8.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008577/1.357, allocations: 3.3 MB / 0.5518 GB, free: 4.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/1.357, allocations: 40 kB / 0.5518 GB, free: 4.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.2735/1.631, allocations: 8.076 MB / 0.5597 GB, free: 74.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.631, allocations: 63.31 kB / 0.5598 GB, free: 74.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003062/1.631, allocations: 138.5 kB / 0.5599 GB, free: 74.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005075/1.636, allocations: 0.9157 MB / 0.5608 GB, free: 74.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009075/1.646, allocations: 1.384 MB / 0.5621 GB, free: 74.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.656, allocations: 4.895 MB / 0.5669 GB, free: 73.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006967/1.663, allocations: 323.4 kB / 0.5672 GB, free: 73.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.665, allocations: 380 kB / 0.5676 GB, free: 73.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 725 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005723/1.67, allocations: 2.092 MB / 0.5696 GB, free: 73.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008529/1.671, allocations: 345.9 kB / 0.57 GB, free: 73.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009049/1.68, allocations: 2.874 MB / 0.5728 GB, free: 72.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/1.68, allocations: 17.97 kB / 0.5728 GB, free: 72.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/1.68, allocations: 13.77 kB / 0.5728 GB, free: 72.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.49e-05/1.68, allocations: 4.359 kB / 0.5728 GB, free: 72.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/1.702, allocations: 7.015 MB / 0.5797 GB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/1.702, allocations: 4.844 kB / 0.5797 GB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/1.704, allocations: 240.7 kB / 0.5799 GB, free: 72.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/1.708, allocations: 0.7 MB / 0.5806 GB, free: 72.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003593/1.708, allocations: 25.73 kB / 0.5806 GB, free: 72.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008339/1.717, allocations: 4.45 MB / 0.5849 GB, free: 71.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.717, allocations: 6.688 kB / 0.5849 GB, free: 71.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.73, allocations: 5.196 MB / 0.59 GB, free: 70.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/1.732, allocations: 0.611 MB / 0.5906 GB, free: 70.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/1.733, allocations: 28.83 kB / 0.5906 GB, free: 70.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/1.736, allocations: 80.64 kB / 0.5907 GB, free: 70.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005464/1.737, allocations: 91.06 kB / 0.5908 GB, free: 70.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.737, allocations: 39.41 kB / 0.5908 GB, free: 70.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006379/1.743, allocations: 2.594 MB / 0.5934 GB, free: 69.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.744, allocations: 0 / 0.5934 GB, free: 69.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006984/1.75, allocations: 0.9599 MB / 0.5943 GB, free: 69.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (114): * Single equations (assignments): 110 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01722/1.768, allocations: 5.996 MB / 0.6002 GB, free: 66.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0148/1.783, allocations: 4.759 MB / 0.6048 GB, free: 65.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.783, allocations: 3.906 kB / 0.6048 GB, free: 65.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00416/1.787, allocations: 1.367 MB / 0.6062 GB, free: 64.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/1.791, allocations: 399.6 kB / 0.6065 GB, free: 64.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3942/2.185, allocations: 127.3 MB / 0.7308 GB, free: 79.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006075/2.191, allocations: 3.318 MB / 0.734 GB, free: 78.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004417/2.196, allocations: 1.883 MB / 0.7359 GB, free: 78.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/2.196, allocations: 0 / 0.7359 GB, free: 78.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.2/6.396, allocations: 97.2 MB / 0.8308 GB, free: 13.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat