Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.07/2.07, allocations: 209.2 MB / 224.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006749/0.0006751, allocations: 15.94 kB / 282.7 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3723, allocations: 48.71 MB / 331.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.5445, allocations: 95.79 MB / 427.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.5448, allocations: 83.95 kB / 427.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.996/1.541, allocations: 147.4 MB / 0.5612 GB, free: 35.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.777e-06/1.541, allocations: 0 / 0.5612 GB, free: 35.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006755/1.542, allocations: 147.9 kB / 0.5614 GB, free: 35.16 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: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.07957/1.621, allocations: 9.485 MB / 0.5706 GB, free: 25.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.621, allocations: 12.03 kB / 0.5706 GB, free: 25.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005831/1.627, allocations: 1.153 MB / 0.5718 GB, free: 24.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1213/1.748, allocations: 16.67 MB / 0.588 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0477/1.796, allocations: 13.37 MB / 0.6011 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007754/1.797, allocations: 497.1 kB / 0.6016 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00399/1.801, allocations: 0.6675 MB / 0.6022 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06081/1.862, allocations: 16.89 MB / 0.6187 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006731/1.863, allocations: 103 kB / 0.6188 GB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003402/1.866, allocations: 319.8 kB / 0.6191 GB, free: 6.277 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003988/1.87, allocations: 1.471 MB / 0.6206 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7584/2.628, allocations: 13.66 MB / 0.6339 GB, free: 70.02 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1324/2.761, allocations: 76.73 MB / 0.7088 GB, free: 23.09 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04567/2.807, allocations: 8.59 MB / 0.7172 GB, free: 20.65 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002687/2.809, allocations: 1.35 MB / 0.7185 GB, free: 19.47 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.294e-05/2.81, allocations: 62.69 kB / 0.7186 GB, free: 19.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=268): time 7.294e-06/2.81, allocations: 0 / 0.7186 GB, free: 19.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=352): time 0.2878/3.097, allocations: 51.52 MB / 0.7689 GB, free: 6.988 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003843/3.101, allocations: 3.261 MB / 0.7721 GB, free: 3.504 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02245/3.124, allocations: 6.627 MB / 0.7786 GB, free: 14.22 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00139/3.125, allocations: 77.7 kB / 0.7786 GB, free: 14.14 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006814/3.132, allocations: 4.866 MB / 0.7834 GB, free: 9.715 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003147/3.135, allocations: 1.343 MB / 0.7847 GB, free: 8.527 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/3.137, allocations: 190.8 kB / 0.7849 GB, free: 8.344 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009825/3.138, allocations: 0.713 MB / 0.7856 GB, free: 7.734 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01357/3.152, allocations: 4.547 MB / 0.79 GB, free: 3.406 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3528/3.505, allocations: 9.831 MB / 0.7996 GB, free: 94.03 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/3.522, allocations: 6.526 MB / 0.806 GB, free: 93.98 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003152/3.522, allocations: 59.95 kB / 0.8061 GB, free: 93.98 MB / 458.8 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.128/3.65, allocations: 31.24 MB / 0.8366 GB, free: 93.16 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/3.65, allocations: 88.39 kB / 0.8366 GB, free: 93.16 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08772/3.738, allocations: 20.63 MB / 0.8568 GB, free: 92.87 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08614/3.824, allocations: 16.61 MB / 0.873 GB, free: 88.68 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01357/3.838, allocations: 2.113 MB / 0.8751 GB, free: 87.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.102/3.94, allocations: 35.36 MB / 0.9096 GB, free: 51.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/3.954, allocations: 0.7696 MB / 0.9104 GB, free: 50.85 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002629/3.956, allocations: 0.5546 MB / 0.9109 GB, free: 50.3 MB / 458.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 (1089): * Single equations (assignments): 1076 * 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.01056/3.967, allocations: 3.44 MB / 0.9143 GB, free: 46.97 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/3.969, allocations: 0.6745 MB / 0.9149 GB, free: 46.66 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03323/4.002, allocations: 10.14 MB / 0.9248 GB, free: 36.47 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03026/4.033, allocations: 8.825 MB / 0.9334 GB, free: 27.59 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-05/4.033, allocations: 16 kB / 0.9335 GB, free: 27.57 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000107/4.033, allocations: 19.94 kB / 0.9335 GB, free: 27.55 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07307/4.106, allocations: 23.44 MB / 0.9564 GB, free: 4.141 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.169e-05/4.106, allocations: 3.984 kB / 0.9564 GB, free: 4.137 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005937/4.112, allocations: 0.5688 MB / 0.9569 GB, free: 3.57 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4215/4.533, allocations: 3.622 MB / 0.9605 GB, free: 87.63 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001159/4.535, allocations: 101.7 kB / 0.9606 GB, free: 87.63 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04902/4.584, allocations: 22.73 MB / 0.9827 GB, free: 81.18 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00253/4.586, allocations: 3.023 MB / 0.9857 GB, free: 78.45 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05942/4.646, allocations: 15.59 MB / 1.001 GB, free: 77.21 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007895/4.654, allocations: 1.387 MB / 1.002 GB, free: 77.11 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004278/4.658, allocations: 77.8 kB / 1.002 GB, free: 77.11 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01204/4.67, allocations: 369 kB / 1.003 GB, free: 77.11 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002809/4.673, allocations: 246.1 kB / 1.003 GB, free: 77.09 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001464/4.675, allocations: 94.88 kB / 1.003 GB, free: 77.07 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01962/4.694, allocations: 4.709 MB / 1.008 GB, free: 75.57 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.172e-06/4.694, allocations: 3 kB / 1.008 GB, free: 75.57 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.02294/4.717, allocations: 2.124 MB / 1.01 GB, free: 75.36 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * 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 (246): * Single equations (assignments): 236 * 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 {(5,100.0%) 34,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06104/4.778, allocations: 16.63 MB / 1.026 GB, free: 68.29 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.03953/4.818, allocations: 11.96 MB / 1.038 GB, free: 64.07 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/4.818, allocations: 3 kB / 1.038 GB, free: 64.07 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01807/4.836, allocations: 5.091 MB / 1.043 GB, free: 61.67 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/4.85, allocations: 0.9444 MB / 1.044 GB, free: 61.3 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6764/5.526, allocations: 220 MB / 1.258 GB, free: 34.78 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01452/5.541, allocations: 5.506 MB / 1.264 GB, free: 33.89 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01071/5.552, allocations: 3.739 MB / 1.267 GB, free: 33.75 MB / 490.8 MB Notification: Performance of SimCode: time 1.623e-06/5.552, allocations: 2.188 kB / 1.267 GB, free: 33.75 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.665/13.22, allocations: 346.1 MB / 1.605 GB, free: 84.59 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat