Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006977/0.000698, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3642, allocations: 54.85 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2055/0.5698, allocations: 102.8 MB / 472.1 MB, free: 3.816 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000432/0.5703, allocations: 87.95 kB / 472.2 MB, free: 3.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7639/1.334, allocations: 97.16 MB / 0.556 GB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.885e-06/1.334, allocations: 4 kB / 0.556 GB, free: 15.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002857/1.335, allocations: 99.98 kB / 0.5561 GB, free: 15.62 MB / 394.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.03137/1.366, allocations: 5.773 MB / 0.5617 GB, free: 9.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.366, allocations: 12.03 kB / 0.5618 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00445/1.371, allocations: 0.9233 MB / 0.5627 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01848/1.389, allocations: 2.321 MB / 0.5649 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01802/1.407, allocations: 4.98 MB / 0.5698 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004707/1.408, allocations: 398.3 kB / 0.5702 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003072/1.411, allocations: 0.5153 MB / 0.5707 GB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0461/1.457, allocations: 12.98 MB / 0.5834 GB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003995/1.457, allocations: 67.45 kB / 0.5834 GB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003138/1.461, allocations: 251.9 kB / 0.5837 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003432/1.464, allocations: 1.212 MB / 0.5848 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03993/1.504, allocations: 11.28 MB / 0.5959 GB, free: 5.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4612/1.965, allocations: 55.76 MB / 0.6503 GB, free: 96.01 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02762/1.993, allocations: 5.332 MB / 0.6555 GB, free: 95.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002302/1.995, allocations: 1.014 MB / 0.6565 GB, free: 94.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.545e-05/1.995, allocations: 54.5 kB / 0.6566 GB, free: 94.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 6.572e-06/1.995, allocations: 0 / 0.6566 GB, free: 94.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=255): time 0.1184/2.114, allocations: 26.16 MB / 0.6821 GB, free: 90.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/2.114, allocations: 161.6 kB / 0.6823 GB, free: 90.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/2.124, allocations: 4.005 MB / 0.6862 GB, free: 90.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000842/2.125, allocations: 66.09 kB / 0.6862 GB, free: 90.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003281/2.128, allocations: 3.428 MB / 0.6896 GB, free: 88.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001857/2.13, allocations: 0.9536 MB / 0.6905 GB, free: 88.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/2.132, allocations: 136.2 kB / 0.6906 GB, free: 88.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006806/2.132, allocations: 0.6004 MB / 0.6912 GB, free: 87.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008173/2.141, allocations: 3.049 MB / 0.6942 GB, free: 87.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/2.152, allocations: 6.962 MB / 0.701 GB, free: 82.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/2.163, allocations: 4.495 MB / 0.7054 GB, free: 81.22 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/2.163, allocations: 39.03 kB / 0.7054 GB, free: 81.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.0303/2.193, allocations: 10.74 MB / 0.7159 GB, free: 78.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/2.193, allocations: 67.22 kB / 0.716 GB, free: 78.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/2.194, allocations: 135.6 kB / 0.7161 GB, free: 78.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00484/2.198, allocations: 1.13 MB / 0.7172 GB, free: 77.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/2.21, allocations: 1.705 MB / 0.7189 GB, free: 77.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/2.221, allocations: 6.034 MB / 0.7248 GB, free: 74.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008725/2.23, allocations: 426 kB / 0.7252 GB, free: 74.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/2.232, allocations: 432.9 kB / 0.7256 GB, free: 74.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * 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 (852): * Single equations (assignments): 848 * 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.007278/2.239, allocations: 2.419 MB / 0.728 GB, free: 72.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/2.241, allocations: 409.6 kB / 0.7283 GB, free: 71.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/2.259, allocations: 5.672 MB / 0.7339 GB, free: 67.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.411e-05/2.259, allocations: 28 kB / 0.7339 GB, free: 67.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/2.259, allocations: 7.953 kB / 0.7339 GB, free: 67.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.481e-05/2.259, allocations: 9.422 kB / 0.7339 GB, free: 67.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03656/2.296, allocations: 12.37 MB / 0.746 GB, free: 57.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/2.296, allocations: 0 / 0.746 GB, free: 57.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005267/2.301, allocations: 0.5132 MB / 0.7465 GB, free: 56.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004458/2.306, allocations: 0.9435 MB / 0.7474 GB, free: 56.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008393/2.306, allocations: 50.34 kB / 0.7475 GB, free: 56.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/2.318, allocations: 5.761 MB / 0.7531 GB, free: 51.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/2.318, allocations: 4 kB / 0.7531 GB, free: 51.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/2.342, allocations: 9.99 MB / 0.7629 GB, free: 42.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003404/2.346, allocations: 0.9095 MB / 0.7638 GB, free: 41.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001565/2.348, allocations: 49.91 kB / 0.7638 GB, free: 41.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00475/2.352, allocations: 187.3 kB / 0.764 GB, free: 41.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/2.354, allocations: 153.8 kB / 0.7641 GB, free: 41.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003475/2.354, allocations: 72.7 kB / 0.7642 GB, free: 41.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007023/2.361, allocations: 2.816 MB / 0.7669 GB, free: 38.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.361, allocations: 3.938 kB / 0.7669 GB, free: 38.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008805/2.37, allocations: 1.259 MB / 0.7682 GB, free: 37.5 MB / 474.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,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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.0249/2.395, allocations: 11.34 MB / 0.7793 GB, free: 27.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01749/2.412, allocations: 7.299 MB / 0.7864 GB, free: 20.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/2.412, allocations: 4 kB / 0.7864 GB, free: 20.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006965/2.419, allocations: 2.779 MB / 0.7891 GB, free: 17.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/2.424, allocations: 458.7 kB / 0.7895 GB, free: 17.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.495/2.919, allocations: 139.9 MB / 0.9261 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008402/2.927, allocations: 3.904 MB / 0.9299 GB, free: 53.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006692/2.934, allocations: 2.372 MB / 0.9322 GB, free: 53.28 MB / 0.4948 GB Notification: Performance of SimCode: time 1.483e-06/2.934, allocations: 0 / 0.9322 GB, free: 53.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.18/8.114, allocations: 121.2 MB / 1.051 GB, free: 127.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat