Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 11.98 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1008, allocations: 44.5 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5526, allocations: 93.08 MB / 401.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.553, allocations: 96.62 kB / 401.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4124/0.9654, allocations: 96.93 MB / 498.6 MB, free: 5.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.9655, allocations: 7.938 kB / 498.6 MB, free: 5.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003574/0.9658, allocations: 104 kB / 498.7 MB, free: 5.082 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03468/1.001, allocations: 5.75 MB / 0.4927 GB, free: 15.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/1.001, allocations: 16.02 kB / 0.4927 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005009/1.006, allocations: 0.9272 MB / 0.4936 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/1.025, allocations: 2.317 MB / 0.4959 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01984/1.044, allocations: 4.933 MB / 0.5007 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006457/1.045, allocations: 402.2 kB / 0.5011 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003377/1.049, allocations: 0.5192 MB / 0.5016 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04485/1.093, allocations: 13.01 MB / 0.5143 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002837/1.094, allocations: 67.28 kB / 0.5143 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001465/1.095, allocations: 251.9 kB / 0.5146 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002934/1.098, allocations: 1.196 MB / 0.5157 GB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3262/1.424, allocations: 11.22 MB / 0.5267 GB, free: 79.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09295/1.517, allocations: 57.09 MB / 0.5825 GB, free: 47.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02633/1.544, allocations: 5.189 MB / 0.5875 GB, free: 47.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/1.546, allocations: 0.6825 MB / 0.5882 GB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/1.546, allocations: 60.72 kB / 0.5882 GB, free: 46.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 6.232e-06/1.546, allocations: 0 / 0.5882 GB, free: 46.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1092/1.655, allocations: 25.65 MB / 0.6133 GB, free: 37.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/1.655, allocations: 165.6 kB / 0.6134 GB, free: 37.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008193/1.663, allocations: 4.086 MB / 0.6174 GB, free: 35.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007673/1.664, allocations: 63.59 kB / 0.6175 GB, free: 35.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002685/1.667, allocations: 3.474 MB / 0.6209 GB, free: 33.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.669, allocations: 0.9529 MB / 0.6218 GB, free: 32.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000725/1.669, allocations: 134.9 kB / 0.6219 GB, free: 32.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004064/1.67, allocations: 0.6065 MB / 0.6225 GB, free: 31.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007199/1.677, allocations: 3.047 MB / 0.6255 GB, free: 30.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/1.687, allocations: 7.077 MB / 0.6324 GB, free: 24.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.698, allocations: 4.542 MB / 0.6369 GB, free: 22.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001465/1.698, allocations: 46.41 kB / 0.6369 GB, free: 22.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03072/1.729, allocations: 10.83 MB / 0.6475 GB, free: 13.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.729, allocations: 71.97 kB / 0.6476 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002084/1.729, allocations: 144 kB / 0.6477 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004813/1.734, allocations: 1.138 MB / 0.6488 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01134/1.745, allocations: 1.732 MB / 0.6505 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.757, allocations: 6.041 MB / 0.6564 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009193/1.766, allocations: 422.1 kB / 0.6568 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001947/1.768, allocations: 434.4 kB / 0.6572 GB, free: 4.988 MB / 410.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.007467/1.775, allocations: 2.44 MB / 0.6596 GB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/1.777, allocations: 410.7 kB / 0.66 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02709/1.804, allocations: 6.163 MB / 0.666 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.742e-05/1.804, allocations: 35.61 kB / 0.666 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/1.804, allocations: 4 kB / 0.666 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.62e-05/1.804, allocations: 10.17 kB / 0.666 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03905/1.843, allocations: 12.22 MB / 0.678 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.119e-05/1.843, allocations: 8.031 kB / 0.678 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005438/1.849, allocations: 0.5029 MB / 0.6785 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/1.854, allocations: 0.9383 MB / 0.6794 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000744/1.854, allocations: 48 kB / 0.6794 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3313/2.186, allocations: 5.746 MB / 0.6851 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/2.186, allocations: 7.156 kB / 0.6851 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02614/2.212, allocations: 9.857 MB / 0.6947 GB, free: 88.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003416/2.215, allocations: 0.9072 MB / 0.6956 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/2.217, allocations: 42.34 kB / 0.6956 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004759/2.222, allocations: 178.8 kB / 0.6958 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.223, allocations: 156.4 kB / 0.6959 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003475/2.223, allocations: 70.12 kB / 0.696 GB, free: 88.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009096/2.232, allocations: 2.868 MB / 0.6988 GB, free: 87.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.232, allocations: 0 / 0.6988 GB, free: 87.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01259/2.245, allocations: 1.255 MB / 0.7 GB, free: 87.87 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.06798/2.313, allocations: 11.2 MB / 0.711 GB, free: 85.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02227/2.335, allocations: 7.296 MB / 0.7181 GB, free: 85.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/2.335, allocations: 3.969 kB / 0.7181 GB, free: 85.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007299/2.343, allocations: 2.737 MB / 0.7208 GB, free: 85.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004517/2.347, allocations: 459.5 kB / 0.7212 GB, free: 85.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1436/2.491, allocations: 143.3 MB / 0.8612 GB, free: 6.945 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2949/2.786, allocations: 3.896 MB / 0.865 GB, free: 139.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006915/2.793, allocations: 2.388 MB / 0.8673 GB, free: 139.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.233e-06/2.793, allocations: 0 / 0.8673 GB, free: 139.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.761/7.554, allocations: 121.7 MB / 0.9861 GB, free: 73.34 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat