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.Beveal1d.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.Beveal1d,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.000448, allocations: 15.94 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3887, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.5988, allocations: 95.26 MB / 426.6 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/0.5993, allocations: 83.95 kB / 426.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7556/1.355, allocations: 106.1 MB / 0.5203 GB, free: 76.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.717e-06/1.355, allocations: 0 / 0.5203 GB, free: 76.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003895/1.355, allocations: 104 kB / 0.5204 GB, free: 76.19 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: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.02381/1.379, allocations: 5.736 MB / 0.526 GB, free: 70.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.379, allocations: 8.031 kB / 0.526 GB, free: 70.37 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00441/1.384, allocations: 0.9239 MB / 0.5269 GB, free: 69.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05057/1.434, allocations: 6.892 MB / 0.5337 GB, free: 62.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02413/1.459, allocations: 6.903 MB / 0.5404 GB, free: 55.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004962/1.459, allocations: 402.6 kB / 0.5408 GB, free: 55.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00294/1.462, allocations: 0.5309 MB / 0.5413 GB, free: 54.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03721/1.499, allocations: 12.4 MB / 0.5534 GB, free: 41.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003916/1.5, allocations: 67.31 kB / 0.5535 GB, free: 41.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002283/1.502, allocations: 259.9 kB / 0.5537 GB, free: 40.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002337/1.504, allocations: 1.125 MB / 0.5548 GB, free: 39.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02955/1.534, allocations: 9.979 MB / 0.5646 GB, free: 29.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09018/1.624, allocations: 56.56 MB / 0.6198 GB, free: 3.199 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3187/1.943, allocations: 4.162 MB / 0.6239 GB, free: 101 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02553/1.969, allocations: 9.494 MB / 0.6331 GB, free: 99.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.9e-05/1.969, allocations: 60.95 kB / 0.6332 GB, free: 99.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 6.482e-06/1.969, allocations: 0 / 0.6332 GB, free: 99.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.0834/2.052, allocations: 18.33 MB / 0.6511 GB, free: 96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/2.052, allocations: 211.5 kB / 0.6513 GB, free: 95.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/2.063, allocations: 4.228 MB / 0.6554 GB, free: 94.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005526/2.064, allocations: 56.08 kB / 0.6555 GB, free: 94.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00341/2.067, allocations: 3.623 MB / 0.659 GB, free: 92.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001438/2.068, allocations: 0.8005 MB / 0.6598 GB, free: 91.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008284/2.069, allocations: 130.5 kB / 0.6599 GB, free: 91.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004477/2.07, allocations: 0.5881 MB / 0.6605 GB, free: 90.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005926/2.076, allocations: 2.232 MB / 0.6627 GB, free: 90.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008718/2.085, allocations: 6.142 MB / 0.6687 GB, free: 84.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008605/2.093, allocations: 3.641 MB / 0.6722 GB, free: 82.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001603/2.093, allocations: 38.62 kB / 0.6723 GB, free: 82.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.02503/2.118, allocations: 8.699 MB / 0.6808 GB, free: 80 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/2.119, allocations: 64.91 kB / 0.6808 GB, free: 80 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002527/2.119, allocations: 142.4 kB / 0.681 GB, free: 80 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004618/2.124, allocations: 0.9273 MB / 0.6819 GB, free: 79.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009401/2.133, allocations: 1.492 MB / 0.6833 GB, free: 79.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/2.147, allocations: 7.418 MB / 0.6906 GB, free: 74.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007506/2.154, allocations: 352.6 kB / 0.6909 GB, free: 74.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/2.156, allocations: 394 kB / 0.6913 GB, free: 74.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (788): * Single equations (assignments): 783 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007059/2.163, allocations: 2.57 MB / 0.6938 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/2.164, allocations: 426.5 kB / 0.6942 GB, free: 71.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/2.176, allocations: 3.529 MB / 0.6976 GB, free: 68.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-05/2.176, allocations: 24 kB / 0.6977 GB, free: 68.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/2.176, allocations: 11.75 kB / 0.6977 GB, free: 68.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-05/2.176, allocations: 6.984 kB / 0.6977 GB, free: 68.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02581/2.202, allocations: 9.142 MB / 0.7066 GB, free: 60.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/2.202, allocations: 0 / 0.7066 GB, free: 60.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003322/2.205, allocations: 332.7 kB / 0.7069 GB, free: 60.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003889/2.209, allocations: 0.695 MB / 0.7076 GB, free: 60.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004935/2.209, allocations: 35.05 kB / 0.7076 GB, free: 60.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/2.222, allocations: 6.739 MB / 0.7142 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.222, allocations: 0 / 0.7142 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/2.237, allocations: 6.241 MB / 0.7203 GB, free: 48.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002619/2.24, allocations: 0.7436 MB / 0.721 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/2.241, allocations: 32 kB / 0.7211 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003549/2.245, allocations: 115.7 kB / 0.7212 GB, free: 47.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007566/2.245, allocations: 119.4 kB / 0.7213 GB, free: 47.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/2.246, allocations: 59.19 kB / 0.7213 GB, free: 47.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007833/2.253, allocations: 2.999 MB / 0.7243 GB, free: 45 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.11e-07/2.253, allocations: 0 / 0.7243 GB, free: 45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007963/2.261, allocations: 1.177 MB / 0.7254 GB, free: 43.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (163): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01622/2.278, allocations: 7.063 MB / 0.7323 GB, free: 37.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01394/2.292, allocations: 5.668 MB / 0.7379 GB, free: 32.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/2.292, allocations: 7.75 kB / 0.7379 GB, free: 32.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005235/2.297, allocations: 1.959 MB / 0.7398 GB, free: 30.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004697/2.302, allocations: 0.5218 MB / 0.7403 GB, free: 30.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4466/2.748, allocations: 137.8 MB / 0.8749 GB, free: 31.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/2.759, allocations: 4.106 MB / 0.8789 GB, free: 30.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006343/2.765, allocations: 2.509 MB / 0.8814 GB, free: 30.49 MB / 442.7 MB Notification: Performance of SimCode: time 2.124e-06/2.765, allocations: 0 / 0.8814 GB, free: 30.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.08/7.845, allocations: 144 MB / 1.022 GB, free: 96.88 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat