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.GyroscopicEffects.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.GyroscopicEffects,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 8 kB / 264.1 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3044, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.4739, allocations: 92.59 MB / 401.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/0.4743, allocations: 91.89 kB / 401.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8603/1.335, allocations: 147 MB / 0.5354 GB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.335, allocations: 0 / 0.5354 GB, free: 8.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007075/1.335, allocations: 151.9 kB / 0.5355 GB, free: 8.043 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: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.06427/1.4, allocations: 9.469 MB / 0.5448 GB, free: 14.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.4, allocations: 12.03 kB / 0.5448 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006468/1.406, allocations: 1.161 MB / 0.5459 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6971/2.103, allocations: 16.66 MB / 0.5622 GB, free: 51.82 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04891/2.152, allocations: 13.19 MB / 0.5751 GB, free: 51.55 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006795/2.153, allocations: 498.1 kB / 0.5755 GB, free: 51.54 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003929/2.157, allocations: 0.6712 MB / 0.5762 GB, free: 51.54 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05646/2.214, allocations: 16.88 MB / 0.5927 GB, free: 47.46 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007195/2.214, allocations: 108.2 kB / 0.5928 GB, free: 47.46 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00359/2.218, allocations: 323.5 kB / 0.5931 GB, free: 47.46 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003831/2.222, allocations: 1.466 MB / 0.5945 GB, free: 47.44 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04796/2.27, allocations: 13.67 MB / 0.6079 GB, free: 47.36 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/2.398, allocations: 76.77 MB / 0.6828 GB, free: 7.102 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04945/2.447, allocations: 8.563 MB / 0.6912 GB, free: 276 kB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003371/2.451, allocations: 1.345 MB / 0.6925 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/2.451, allocations: 67.88 kB / 0.6926 GB, free: 14.75 MB / 426.8 MB Notification: Performance of pre-optimization done (n=268): time 7.575e-06/2.451, allocations: 0 / 0.6926 GB, free: 14.75 MB / 426.8 MB Notification: Performance of matching and sorting (n=354): time 0.6526/3.104, allocations: 53.15 MB / 0.7445 GB, free: 91.27 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002799/3.106, allocations: 3.251 MB / 0.7476 GB, free: 88.21 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01835/3.125, allocations: 6.553 MB / 0.754 GB, free: 87.72 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001192/3.126, allocations: 78.73 kB / 0.7541 GB, free: 87.69 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006147/3.132, allocations: 5.2 MB / 0.7592 GB, free: 85.39 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00257/3.135, allocations: 1.346 MB / 0.7605 GB, free: 84.61 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002042/3.137, allocations: 190.4 kB / 0.7607 GB, free: 84.61 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001128/3.138, allocations: 0.7084 MB / 0.7614 GB, free: 84.29 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01183/3.15, allocations: 4.578 MB / 0.7659 GB, free: 84.26 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01579/3.166, allocations: 9.859 MB / 0.7755 GB, free: 77.53 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/3.181, allocations: 6.56 MB / 0.7819 GB, free: 77.48 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002662/3.182, allocations: 52.91 kB / 0.7819 GB, free: 77.48 MB / 442.8 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1299/3.312, allocations: 31.63 MB / 0.8128 GB, free: 72 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/3.312, allocations: 84.59 kB / 0.8129 GB, free: 72 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09123/3.403, allocations: 20.69 MB / 0.8331 GB, free: 64.86 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08968/3.493, allocations: 16.61 MB / 0.8493 GB, free: 50.73 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/3.507, allocations: 2.121 MB / 0.8514 GB, free: 48.61 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.407/3.914, allocations: 35.36 MB / 0.8859 GB, free: 81.27 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01373/3.928, allocations: 0.7704 MB / 0.8867 GB, free: 81.27 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002773/3.931, allocations: 0.5578 MB / 0.8872 GB, free: 81.27 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1078 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01096/3.942, allocations: 3.432 MB / 0.8906 GB, free: 81.15 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002203/3.944, allocations: 0.6763 MB / 0.8913 GB, free: 81.15 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03619/3.98, allocations: 10.21 MB / 0.9012 GB, free: 80.82 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03042/4.011, allocations: 8.909 MB / 0.9099 GB, free: 80.5 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.383e-05/4.011, allocations: 20.31 kB / 0.9099 GB, free: 80.5 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/4.011, allocations: 25.5 kB / 0.91 GB, free: 80.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07439/4.085, allocations: 23.66 MB / 0.9331 GB, free: 76.97 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-05/4.085, allocations: 0 / 0.9331 GB, free: 76.97 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005869/4.091, allocations: 0.5682 MB / 0.9336 GB, free: 76.96 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02141/4.113, allocations: 3.627 MB / 0.9372 GB, free: 76.29 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/4.114, allocations: 99.89 kB / 0.9373 GB, free: 76.24 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04523/4.159, allocations: 22.75 MB / 0.9595 GB, free: 63.72 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002419/4.162, allocations: 2.993 MB / 0.9624 GB, free: 60.84 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04228/4.204, allocations: 15.8 MB / 0.9778 GB, free: 54.61 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005504/4.21, allocations: 1.386 MB / 0.9792 GB, free: 54.04 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002639/4.212, allocations: 82.52 kB / 0.9793 GB, free: 53.99 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007757/4.22, allocations: 332.5 kB / 0.9796 GB, free: 53.82 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001648/4.222, allocations: 247.4 kB / 0.9798 GB, free: 53.68 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007407/4.222, allocations: 94.8 kB / 0.9799 GB, free: 53.59 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01253/4.235, allocations: 4.698 MB / 0.9845 GB, free: 49.78 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.695e-06/4.235, allocations: 0 / 0.9845 GB, free: 49.78 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01353/4.249, allocations: 2.133 MB / 0.9866 GB, free: 47.67 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.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 (248): * Single equations (assignments): 238 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 34} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04339/4.292, allocations: 16.92 MB / 1.003 GB, free: 33.11 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02783/4.32, allocations: 12.02 MB / 1.015 GB, free: 23.14 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/4.32, allocations: 0 / 1.015 GB, free: 23.14 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01231/4.332, allocations: 5.145 MB / 1.02 GB, free: 18.61 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008424/4.341, allocations: 0.9427 MB / 1.021 GB, free: 17.84 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6325/4.973, allocations: 219.4 MB / 1.235 GB, free: 16.65 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/4.986, allocations: 5.508 MB / 1.24 GB, free: 15.75 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01491/5.001, allocations: 3.178 MB / 1.243 GB, free: 15.5 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009341/5.011, allocations: 3.681 MB / 1.247 GB, free: 15.49 MB / 0.5262 GB Notification: Performance of SimCode: time 1.032e-06/5.011, allocations: 0 / 1.247 GB, free: 15.49 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7754/5.786, allocations: 176.9 MB / 1.42 GB, free: 101.3 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/5.786, allocations: 234.1 kB / 1.42 GB, free: 101.1 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.287/15.07, allocations: 0 / 1.42 GB, free: 101.1 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat