Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.626/1.626, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8 kB / 233.4 MB, free: 176 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08482, allocations: 38.78 MB / 272.1 MB, free: 9.316 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4627, allocations: 87.35 MB / 359.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.4631, allocations: 91.94 kB / 359.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6602/1.123, allocations: 96.92 MB / 456.5 MB, free: 78.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.517e-06/1.123, allocations: 0 / 456.5 MB, free: 78.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003393/1.124, allocations: 100.8 kB / 456.6 MB, free: 78.63 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.03329/1.157, allocations: 5.778 MB / 462.4 MB, free: 76.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.157, allocations: 10.48 kB / 462.4 MB, free: 76.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004828/1.162, allocations: 0.9287 MB / 463.3 MB, free: 75.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01826/1.18, allocations: 2.324 MB / 465.6 MB, free: 75.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/1.2, allocations: 4.933 MB / 470.6 MB, free: 73.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005962/1.201, allocations: 388.9 kB / 471 MB, free: 73.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003668/1.204, allocations: 0.5212 MB / 471.5 MB, free: 73.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04279/1.247, allocations: 13.01 MB / 484.5 MB, free: 64.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003989/1.248, allocations: 67.41 kB / 484.6 MB, free: 64.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003153/1.251, allocations: 248.1 kB / 484.8 MB, free: 64.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002917/1.254, allocations: 1.202 MB / 486 MB, free: 62.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03662/1.29, allocations: 11.22 MB / 497.2 MB, free: 51.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4052/1.696, allocations: 57.05 MB / 0.5413 GB, free: 34.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02845/1.724, allocations: 5.204 MB / 0.5464 GB, free: 34.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/1.726, allocations: 0.68 MB / 0.547 GB, free: 33.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.12e-05/1.726, allocations: 57.59 kB / 0.5471 GB, free: 33.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 7.204e-06/1.726, allocations: 0 / 0.5471 GB, free: 33.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.1237/1.85, allocations: 25.65 MB / 0.5721 GB, free: 29.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/1.85, allocations: 160.1 kB / 0.5723 GB, free: 29.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/1.862, allocations: 4.096 MB / 0.5763 GB, free: 29.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008582/1.863, allocations: 62.36 kB / 0.5763 GB, free: 29.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0037/1.867, allocations: 3.573 MB / 0.5798 GB, free: 26.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001849/1.869, allocations: 0.952 MB / 0.5808 GB, free: 25.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/1.87, allocations: 142.8 kB / 0.5809 GB, free: 25.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0008595/1.871, allocations: 0.5937 MB / 0.5815 GB, free: 25.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00854/1.88, allocations: 3.051 MB / 0.5845 GB, free: 24.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/1.892, allocations: 7.087 MB / 0.5914 GB, free: 17.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.903, allocations: 4.545 MB / 0.5958 GB, free: 16.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002433/1.904, allocations: 42.94 kB / 0.5959 GB, free: 16.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03371/1.938, allocations: 10.98 MB / 0.6066 GB, free: 12.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/1.938, allocations: 68.78 kB / 0.6066 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002743/1.938, allocations: 140.8 kB / 0.6068 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005263/1.943, allocations: 1.144 MB / 0.6079 GB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/1.955, allocations: 1.733 MB / 0.6096 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.967, allocations: 6.039 MB / 0.6155 GB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009283/1.977, allocations: 424.8 kB / 0.6159 GB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002061/1.979, allocations: 442.6 kB / 0.6163 GB, free: 4.445 MB / 346.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.007729/1.986, allocations: 2.437 MB / 0.6187 GB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/1.988, allocations: 414.6 kB / 0.6191 GB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02207/2.01, allocations: 5.71 MB / 0.6247 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.592e-05/2.01, allocations: 28 kB / 0.6247 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/2.01, allocations: 7.953 kB / 0.6247 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.626e-05/2.01, allocations: 15.53 kB / 0.6247 GB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0427/2.053, allocations: 12.21 MB / 0.6366 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/2.053, allocations: 4 kB / 0.6366 GB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005659/2.059, allocations: 0.4993 MB / 0.6371 GB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005037/2.064, allocations: 0.9419 MB / 0.638 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008539/2.065, allocations: 46.58 kB / 0.6381 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/2.078, allocations: 5.761 MB / 0.6437 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.078, allocations: 4 kB / 0.6437 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02808/2.106, allocations: 9.848 MB / 0.6533 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004059/2.11, allocations: 0.9169 MB / 0.6542 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002/2.113, allocations: 40 kB / 0.6543 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005158/2.118, allocations: 175.8 kB / 0.6544 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/2.119, allocations: 157.7 kB / 0.6546 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007964/2.12, allocations: 71.98 kB / 0.6547 GB, free: 15.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01042/2.13, allocations: 2.872 MB / 0.6575 GB, free: 12.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.995e-06/2.13, allocations: 0 / 0.6575 GB, free: 12.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009866/2.14, allocations: 1.267 MB / 0.6587 GB, free: 11.59 MB / 394.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.0303/2.171, allocations: 11.21 MB / 0.6696 GB, free: 236 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02144/2.192, allocations: 7.289 MB / 0.6768 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/2.192, allocations: 4.188 kB / 0.6768 GB, free: 8.953 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008396/2.201, allocations: 2.748 MB / 0.6794 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/2.205, allocations: 462.1 kB / 0.6799 GB, free: 5.758 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.412/2.617, allocations: 142.8 MB / 0.8193 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/2.628, allocations: 3.899 MB / 0.8231 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01204/2.64, allocations: 2.323 MB / 0.8254 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007231/2.647, allocations: 2.332 MB / 0.8277 GB, free: 8.641 MB / 410.7 MB Notification: Performance of SimCode: time 2.194e-06/2.647, allocations: 0 / 0.8277 GB, free: 8.641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5081/3.155, allocations: 96.53 MB / 0.9219 GB, free: 96.08 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/3.156, allocations: 232.2 kB / 0.9222 GB, free: 95.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.353/9.509, allocations: 1.094 kB / 0.9222 GB, free: 95.84 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat