Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003964, allocations: 12 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2986, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.4684, allocations: 93.09 MB / 401.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/0.4689, allocations: 87.95 kB / 401.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6327/1.102, allocations: 96.93 MB / 498.7 MB, free: 25.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.387e-06/1.102, allocations: 0 / 498.7 MB, free: 25.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003377/1.102, allocations: 107.9 kB / 498.8 MB, free: 25.73 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03246/1.135, allocations: 5.754 MB / 0.4927 GB, free: 19.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.135, allocations: 12.02 kB / 0.4927 GB, free: 19.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004613/1.139, allocations: 0.9233 MB / 0.4936 GB, free: 18.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/1.157, allocations: 2.321 MB / 0.4959 GB, free: 16.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01894/1.176, allocations: 4.948 MB / 0.5007 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005355/1.177, allocations: 390.3 kB / 0.5011 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003359/1.18, allocations: 0.5153 MB / 0.5016 GB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04308/1.223, allocations: 13.01 MB / 0.5143 GB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004042/1.224, allocations: 75.33 kB / 0.5144 GB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003557/1.227, allocations: 247.9 kB / 0.5146 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004729/1.232, allocations: 1.2 MB / 0.5158 GB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05374/1.286, allocations: 11.21 MB / 0.5267 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4221/1.708, allocations: 57.09 MB / 0.5825 GB, free: 43.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03714/1.745, allocations: 5.198 MB / 0.5876 GB, free: 43.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/1.748, allocations: 0.6816 MB / 0.5882 GB, free: 42.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.542e-05/1.748, allocations: 61.38 kB / 0.5883 GB, free: 42.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=221): time 9.638e-06/1.748, allocations: 3.094 kB / 0.5883 GB, free: 42.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.1587/1.907, allocations: 25.64 MB / 0.6133 GB, free: 38.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.907, allocations: 159.1 kB / 0.6135 GB, free: 38.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01434/1.921, allocations: 4.085 MB / 0.6175 GB, free: 38.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007896/1.922, allocations: 59.14 kB / 0.6175 GB, free: 38.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003375/1.926, allocations: 3.577 MB / 0.621 GB, free: 36.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001687/1.927, allocations: 0.9478 MB / 0.6219 GB, free: 35.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/1.929, allocations: 145.2 kB / 0.6221 GB, free: 35.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006798/1.929, allocations: 0.5944 MB / 0.6227 GB, free: 35.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008213/1.938, allocations: 3.053 MB / 0.6256 GB, free: 34.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/1.949, allocations: 7.085 MB / 0.6326 GB, free: 27.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.96, allocations: 4.543 MB / 0.637 GB, free: 26.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002135/1.961, allocations: 43.98 kB / 0.637 GB, free: 26.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03187/1.992, allocations: 10.97 MB / 0.6478 GB, free: 21.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.993, allocations: 71.95 kB / 0.6478 GB, free: 21.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002265/1.993, allocations: 140 kB / 0.648 GB, free: 21.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/1.998, allocations: 1.144 MB / 0.6491 GB, free: 20.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/2.01, allocations: 1.735 MB / 0.6508 GB, free: 18.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/2.031, allocations: 6.033 MB / 0.6567 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/2.046, allocations: 445.2 kB / 0.6571 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003768/2.05, allocations: 434.1 kB / 0.6575 GB, free: 12.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (870): * Single equations (assignments): 866 * 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.01228/2.062, allocations: 2.438 MB / 0.6599 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002466/2.065, allocations: 410.7 kB / 0.6603 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/2.081, allocations: 5.595 MB / 0.6657 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.325e-05/2.081, allocations: 28 kB / 0.6658 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/2.081, allocations: 4 kB / 0.6658 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/2.081, allocations: 14.92 kB / 0.6658 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03808/2.119, allocations: 12.23 MB / 0.6777 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-05/2.119, allocations: 0 / 0.6777 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005381/2.124, allocations: 0.5022 MB / 0.6782 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004727/2.129, allocations: 0.941 MB / 0.6791 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000709/2.13, allocations: 44 kB / 0.6792 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/2.142, allocations: 5.753 MB / 0.6848 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/2.142, allocations: 4 kB / 0.6848 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02631/2.169, allocations: 9.85 MB / 0.6944 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003718/2.173, allocations: 0.9055 MB / 0.6953 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/2.174, allocations: 44 kB / 0.6953 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004118/2.178, allocations: 179.8 kB / 0.6955 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000784/2.179, allocations: 160 kB / 0.6957 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003308/2.179, allocations: 64 kB / 0.6957 GB, free: 10.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007574/2.187, allocations: 2.864 MB / 0.6985 GB, free: 7.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.51e-07/2.187, allocations: 3.719 kB / 0.6985 GB, free: 7.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008542/2.195, allocations: 1.265 MB / 0.6998 GB, free: 6.281 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.02736/2.223, allocations: 11.2 MB / 0.7107 GB, free: 10.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01984/2.243, allocations: 7.297 MB / 0.7178 GB, free: 3.652 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/2.243, allocations: 0 / 0.7178 GB, free: 3.652 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007857/2.251, allocations: 2.747 MB / 0.7205 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/2.255, allocations: 461.9 kB / 0.7209 GB, free: 468 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4275/2.683, allocations: 142.7 MB / 0.8603 GB, free: 7.539 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008651/2.691, allocations: 3.895 MB / 0.8641 GB, free: 6.703 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01058/2.702, allocations: 2.324 MB / 0.8664 GB, free: 6.531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006079/2.708, allocations: 2.335 MB / 0.8687 GB, free: 5.199 MB / 442.7 MB Notification: Performance of SimCode: time 1.843e-06/2.708, allocations: 0 / 0.8687 GB, free: 5.199 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5817/3.29, allocations: 96.57 MB / 0.963 GB, free: 89.34 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/3.29, allocations: 240.8 kB / 0.9632 GB, free: 89.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.365/9.655, allocations: 0 / 0.9632 GB, free: 89.09 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat