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_1.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_1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 234.9 MB / 250.4 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.000428, allocations: 20 kB / 314.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3654, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1): time 0.1172/0.4828, allocations: 77.54 MB / 446.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05089/0.5337, allocations: 17.84 MB / 464.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01564/0.5494, allocations: 402.9 kB / 465.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01368/0.5631, allocations: 3.993 MB / 469 MB, free: 8.715 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04294/0.6061, allocations: 11.27 MB / 480.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007402/0.6136, allocations: 1.276 MB / 481.6 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4553/1.069, allocations: 34.79 MB / 0.5043 GB, free: 28.26 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0138/1.083, allocations: 7.777 MB / 0.5119 GB, free: 27.56 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/1.088, allocations: 2.103 MB / 0.5139 GB, free: 27.56 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005276/1.093, allocations: 2.707 MB / 0.5166 GB, free: 27.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001441/1.094, allocations: 241.6 kB / 0.5168 GB, free: 27.54 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/1.099, allocations: 1.393 MB / 0.5182 GB, free: 27.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005235/1.104, allocations: 3.091 MB / 0.5212 GB, free: 27.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003096/1.107, allocations: 1.468 MB / 0.5226 GB, free: 27.51 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/1.121, allocations: 9.825 MB / 0.5322 GB, free: 24.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.121, allocations: 3.406 kB / 0.5322 GB, free: 24.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.121, allocations: 4 kB / 0.5322 GB, free: 24.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004249/1.122, allocations: 0 / 0.5322 GB, free: 24.31 MB / 426.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.04196/1.164, allocations: 9.003 MB / 0.541 GB, free: 19.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.164, allocations: 8.594 kB / 0.541 GB, free: 19.24 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00412/1.168, allocations: 1.082 MB / 0.5421 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1865/1.354, allocations: 19.4 MB / 0.561 GB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03019/1.385, allocations: 8.011 MB / 0.5688 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005072/1.385, allocations: 376.2 kB / 0.5692 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004213/1.389, allocations: 0.6874 MB / 0.5699 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05403/1.444, allocations: 16.73 MB / 0.5862 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000364/1.444, allocations: 80.48 kB / 0.5863 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/1.446, allocations: 247 kB / 0.5865 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006827/1.453, allocations: 2.655 MB / 0.5891 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05036/1.503, allocations: 13.96 MB / 0.6027 GB, free: 1.246 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1315/1.635, allocations: 66.39 MB / 0.6676 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04871/1.683, allocations: 8.747 MB / 0.6761 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002592/1.686, allocations: 1.047 MB / 0.6771 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.975e-05/1.686, allocations: 65.56 kB / 0.6772 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=268): time 7.283e-06/1.686, allocations: 0 / 0.6772 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of matching and sorting (n=345): time 0.6474/2.333, allocations: 49.86 MB / 0.7259 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002664/2.336, allocations: 3.262 MB / 0.7291 GB, free: 201.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01651/2.353, allocations: 8.2 MB / 0.7371 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001243/2.354, allocations: 77.7 kB / 0.7372 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004205/2.358, allocations: 4.816 MB / 0.7419 GB, free: 191 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00254/2.361, allocations: 1.312 MB / 0.7431 GB, free: 189.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/2.362, allocations: 187.5 kB / 0.7433 GB, free: 189.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005614/2.363, allocations: 0.7117 MB / 0.744 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01102/2.374, allocations: 4.641 MB / 0.7485 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01462/2.388, allocations: 9.89 MB / 0.7582 GB, free: 172 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/2.403, allocations: 6.605 MB / 0.7647 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/2.404, allocations: 52 kB / 0.7647 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.1249/2.529, allocations: 31.51 MB / 0.7955 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/2.529, allocations: 84 kB / 0.7956 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09139/2.62, allocations: 20.86 MB / 0.8159 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0969/2.717, allocations: 16.88 MB / 0.8324 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01874/2.736, allocations: 2.175 MB / 0.8345 GB, free: 93.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1019/2.838, allocations: 37.03 MB / 0.8707 GB, free: 56.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01386/2.852, allocations: 0.7697 MB / 0.8715 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002194/2.854, allocations: 0.5633 MB / 0.872 GB, free: 54.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 830 * 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 (1070): * Single equations (assignments): 1053 * Array equations: 11 * 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.01027/2.864, allocations: 3.404 MB / 0.8753 GB, free: 51.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002325/2.867, allocations: 0.6749 MB / 0.876 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0363/2.903, allocations: 10.39 MB / 0.8861 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03087/2.934, allocations: 9.095 MB / 0.895 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.407e-05/2.934, allocations: 20 kB / 0.895 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-05/2.934, allocations: 19.94 kB / 0.8951 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4912/3.425, allocations: 24.02 MB / 0.9185 GB, free: 193 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-05/3.425, allocations: 3.531 kB / 0.9185 GB, free: 193 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006973/3.432, allocations: 0.6727 MB / 0.9192 GB, free: 192.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02435/3.457, allocations: 4.124 MB / 0.9232 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/3.458, allocations: 93.95 kB / 0.9233 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04902/3.507, allocations: 24.37 MB / 0.9471 GB, free: 179 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002654/3.51, allocations: 3.025 MB / 0.95 GB, free: 176.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04535/3.555, allocations: 15.54 MB / 0.9652 GB, free: 165 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005951/3.561, allocations: 1.439 MB / 0.9666 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002928/3.564, allocations: 76.56 kB / 0.9667 GB, free: 164 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00834/3.573, allocations: 356.5 kB / 0.967 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001894/3.574, allocations: 245.6 kB / 0.9673 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004965/3.575, allocations: 99.42 kB / 0.9674 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01352/3.589, allocations: 5.337 MB / 0.9726 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.51e-07/3.589, allocations: 0 / 0.9726 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01413/3.603, allocations: 2.165 MB / 0.9747 GB, free: 156.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (241): * Single equations (assignments): 231 * 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.04787/3.651, allocations: 16.28 MB / 0.9906 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.029/3.68, allocations: 12.08 MB / 1.002 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/3.68, allocations: 3.156 kB / 1.002 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01279/3.693, allocations: 5.156 MB / 1.007 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/3.703, allocations: 0.9437 MB / 1.008 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09873/3.802, allocations: 41.08 MB / 1.048 GB, free: 75.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06205/3.864, allocations: 5.497 MB / 1.054 GB, free: 70.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009846/3.874, allocations: 3.768 MB / 1.058 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/3.874, allocations: 4 kB / 1.058 GB, free: 66.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.324/11.2, allocations: 343.2 MB / 1.393 GB, free: 126.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat