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.ActuatedDrive.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.ActuatedDrive,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 194.9 MB / 211.1 MB, free: 7.602 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 15.98 kB / 264.1 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2952, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.4602, allocations: 92.39 MB / 401 MB, free: 140 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/0.4606, allocations: 95.94 kB / 401.1 MB, free: 44 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5807/1.041, allocations: 83.75 MB / 484.8 MB, free: 39.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.041, allocations: 8 kB / 484.8 MB, free: 39.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002329/1.042, allocations: 76 kB / 484.9 MB, free: 39.8 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02519/1.067, allocations: 4.722 MB / 489.6 MB, free: 35.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.067, allocations: 12.03 kB / 489.6 MB, free: 35 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00381/1.071, allocations: 0.7706 MB / 490.4 MB, free: 34.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/1.088, allocations: 2.213 MB / 492.6 MB, free: 32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/1.105, allocations: 4.461 MB / 497.1 MB, free: 27.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004232/1.105, allocations: 332.4 kB / 497.4 MB, free: 27.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002464/1.108, allocations: 423.8 kB / 497.8 MB, free: 26.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/1.138, allocations: 10.79 MB / 0.4967 GB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002454/1.138, allocations: 59.41 kB / 0.4967 GB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/1.14, allocations: 211.9 kB / 0.4969 GB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002117/1.142, allocations: 0.9906 MB / 0.4979 GB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02606/1.168, allocations: 9.007 MB / 0.5067 GB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08241/1.251, allocations: 48.89 MB / 0.5544 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3025/1.553, allocations: 3.517 MB / 0.5579 GB, free: 92.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/1.564, allocations: 4.355 MB / 0.5621 GB, free: 91.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/1.564, allocations: 47.16 kB / 0.5622 GB, free: 91.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 4.959e-06/1.564, allocations: 4.031 kB / 0.5622 GB, free: 91.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.04536/1.61, allocations: 12.23 MB / 0.5741 GB, free: 88.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/1.61, allocations: 146.2 kB / 0.5743 GB, free: 88.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008362/1.618, allocations: 3.706 MB / 0.5779 GB, free: 87.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003976/1.619, allocations: 44.77 kB / 0.5779 GB, free: 87.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002882/1.622, allocations: 3.185 MB / 0.581 GB, free: 86.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009684/1.623, allocations: 0.5842 MB / 0.5816 GB, free: 85.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006397/1.623, allocations: 115.5 kB / 0.5817 GB, free: 85.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003655/1.624, allocations: 0.5588 MB / 0.5823 GB, free: 85.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004964/1.629, allocations: 1.98 MB / 0.5842 GB, free: 85.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007494/1.636, allocations: 5.77 MB / 0.5898 GB, free: 80.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/1.644, allocations: 3.308 MB / 0.5931 GB, free: 80.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001662/1.644, allocations: 38.97 kB / 0.5931 GB, free: 80.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02362/1.668, allocations: 8.203 MB / 0.6011 GB, free: 77.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.668, allocations: 63.34 kB / 0.6012 GB, free: 77.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/1.668, allocations: 135.8 kB / 0.6013 GB, free: 77.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004143/1.672, allocations: 0.9151 MB / 0.6022 GB, free: 77.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008286/1.681, allocations: 1.385 MB / 0.6035 GB, free: 77.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009441/1.69, allocations: 4.89 MB / 0.6083 GB, free: 74.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006598/1.697, allocations: 325.9 kB / 0.6086 GB, free: 74.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.698, allocations: 378.9 kB / 0.609 GB, free: 74.38 MB / 394.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.005359/1.704, allocations: 2.088 MB / 0.611 GB, free: 73.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008594/1.705, allocations: 357.9 kB / 0.6114 GB, free: 73.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008664/1.713, allocations: 2.869 MB / 0.6142 GB, free: 72.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.616e-05/1.713, allocations: 15.31 kB / 0.6142 GB, free: 72.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.713, allocations: 3.812 kB / 0.6142 GB, free: 72.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/1.714, allocations: 10.19 kB / 0.6142 GB, free: 72.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/1.733, allocations: 7.022 MB / 0.6211 GB, free: 66.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.733, allocations: 4 kB / 0.6211 GB, free: 66.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/1.735, allocations: 242.2 kB / 0.6213 GB, free: 66.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003497/1.739, allocations: 0.7033 MB / 0.622 GB, free: 66.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/1.739, allocations: 25.56 kB / 0.622 GB, free: 66.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007881/1.747, allocations: 4.456 MB / 0.6263 GB, free: 62.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.747, allocations: 0 / 0.6263 GB, free: 62.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.759, allocations: 5.186 MB / 0.6314 GB, free: 57.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.761, allocations: 0.6127 MB / 0.632 GB, free: 57.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000675/1.762, allocations: 33.12 kB / 0.632 GB, free: 57.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.764, allocations: 86.94 kB / 0.6321 GB, free: 57.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/1.764, allocations: 81.95 kB / 0.6322 GB, free: 57.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.764, allocations: 40.58 kB / 0.6322 GB, free: 57.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005445/1.77, allocations: 2.585 MB / 0.6348 GB, free: 54.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.77, allocations: 0 / 0.6348 GB, free: 54.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006413/1.776, allocations: 0.9621 MB / 0.6357 GB, free: 53.93 MB / 394.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.01286/1.789, allocations: 6.001 MB / 0.6416 GB, free: 48.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01134/1.8, allocations: 4.762 MB / 0.6462 GB, free: 44.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/1.801, allocations: 0 / 0.6462 GB, free: 44.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003219/1.804, allocations: 1.367 MB / 0.6476 GB, free: 43.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/1.807, allocations: 399.2 kB / 0.6479 GB, free: 42.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3802/2.188, allocations: 126.8 MB / 0.7717 GB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00485/2.192, allocations: 3.314 MB / 0.775 GB, free: 43.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007639/2.2, allocations: 1.868 MB / 0.7768 GB, free: 43.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003977/2.204, allocations: 1.839 MB / 0.7786 GB, free: 43.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/2.204, allocations: 3.812 kB / 0.7786 GB, free: 43.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.165/2.369, allocations: 74.07 MB / 0.8509 GB, free: 8.145 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003855/2.37, allocations: 225.7 kB / 0.8511 GB, free: 7.902 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.459/7.829, allocations: 0 / 0.8511 GB, free: 7.902 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat