Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.297/2.297, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004426, allocations: 12 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3581, allocations: 54.86 MB / 369.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.5306, allocations: 91.05 MB / 460.4 MB, free: 1.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.531, allocations: 87.83 kB / 460.5 MB, free: 1.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08809/0.6191, allocations: 19.95 MB / 480.4 MB, free: 13.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.6191, allocations: 0 / 480.4 MB, free: 13.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.13e-05/0.6192, allocations: 24 kB / 480.5 MB, free: 13.29 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005122/0.6243, allocations: 1.455 MB / 481.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.6244, allocations: 12.03 kB / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006659/0.6251, allocations: 194.2 kB / 482.1 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.6267, allocations: 202.3 kB / 482.3 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.6288, allocations: 0.6972 MB / 483 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.821e-05/0.629, allocations: 82.03 kB / 483.1 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.6293, allocations: 104 kB / 483.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009567/0.6389, allocations: 2.661 MB / 485.9 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/0.639, allocations: 11.84 kB / 485.9 MB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.6392, allocations: 55.92 kB / 485.9 MB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004557/0.6397, allocations: 209.8 kB / 486.1 MB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009785/0.6495, allocations: 2.404 MB / 488.5 MB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.665, allocations: 8.528 MB / 497.1 MB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007286/0.6723, allocations: 0.9991 MB / 498.1 MB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002309/0.6747, allocations: 1.734 MB / 499.8 MB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.6748, allocations: 39.38 kB / 499.8 MB, free: 9.074 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.377e-06/0.6748, allocations: 3.938 kB / 499.8 MB, free: 9.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.02138/0.6962, allocations: 3.017 MB / 0.4911 GB, free: 6.039 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.6963, allocations: 55.97 kB / 0.4911 GB, free: 5.973 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.698, allocations: 0.7886 MB / 0.4919 GB, free: 5.176 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.6981, allocations: 37.7 kB / 0.4919 GB, free: 5.133 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005844/0.6987, allocations: 0.6745 MB / 0.4926 GB, free: 4.449 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.699, allocations: 213 kB / 0.4928 GB, free: 4.238 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-05/0.6991, allocations: 24 kB / 0.4928 GB, free: 4.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.6993, allocations: 366.8 kB / 0.4932 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009061/0.7002, allocations: 358.4 kB / 0.4935 GB, free: 3.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.7017, allocations: 0.9615 MB / 0.4944 GB, free: 2.234 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.7031, allocations: 0.568 MB / 0.495 GB, free: 1.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.7031, allocations: 8 kB / 0.495 GB, free: 1.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0033/0.7064, allocations: 1.322 MB / 0.4963 GB, free: 336 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.7065, allocations: 19.95 kB / 0.4963 GB, free: 316 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/0.7065, allocations: 20.84 kB / 0.4963 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.04e-05/0.7066, allocations: 36 kB / 0.4964 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3698/1.076, allocations: 317.2 kB / 0.4967 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/1.078, allocations: 1.368 MB / 0.498 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.079, allocations: 53.2 kB / 0.4981 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/1.079, allocations: 66.36 kB / 0.4981 GB, free: 116.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001262/1.08, allocations: 497.2 kB / 0.4986 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/1.081, allocations: 86.77 kB / 0.4987 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/1.081, allocations: 113.2 kB / 0.4988 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.081, allocations: 9.438 kB / 0.4988 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.081, allocations: 2.188 kB / 0.4988 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.081, allocations: 3.125 kB / 0.4988 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/1.087, allocations: 2.152 MB / 0.5009 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.087, allocations: 7.312 kB / 0.5009 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009895/1.088, allocations: 120.8 kB / 0.501 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/1.088, allocations: 8.5 kB / 0.501 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/1.088, allocations: 18.25 kB / 0.5011 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009211/1.089, allocations: 1.349 MB / 0.5024 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.089, allocations: 9.656 kB / 0.5024 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/1.091, allocations: 1.127 MB / 0.5035 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/1.091, allocations: 208 kB / 0.5037 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/1.091, allocations: 17.72 kB / 0.5037 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/1.092, allocations: 22.81 kB / 0.5037 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.092, allocations: 52.64 kB / 0.5038 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/1.092, allocations: 25.16 kB / 0.5038 GB, free: 113.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001052/1.093, allocations: 0.5757 MB / 0.5044 GB, free: 113.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.093, allocations: 0 / 0.5044 GB, free: 113.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001441/1.094, allocations: 217.5 kB / 0.5046 GB, free: 113.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001981/1.096, allocations: 3.481 MB / 0.508 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002116/1.099, allocations: 0.8576 MB / 0.5088 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.099, allocations: 0 / 0.5088 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007292/1.099, allocations: 294.1 kB / 0.5091 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/1.1, allocations: 108.9 kB / 0.5092 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.115, allocations: 20.98 MB / 0.5297 GB, free: 92.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.117, allocations: 1.235 MB / 0.5309 GB, free: 91.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.118, allocations: 406.6 kB / 0.5313 GB, free: 91.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.805e-06/1.118, allocations: 0 / 0.5313 GB, free: 91.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.098/4.217, allocations: 21.29 MB / 0.5521 GB, free: 77.24 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat