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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.476/2.476, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.295e-05, allocations: 4 kB / 303.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3536, allocations: 54.86 MB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.5248, allocations: 90.3 MB / 448.4 MB, free: 5.199 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5251, allocations: 75.95 kB / 448.5 MB, free: 5.125 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08961/0.6147, allocations: 19.53 MB / 468 MB, free: 1.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6148, allocations: 0 / 468 MB, free: 1.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.708e-05/0.6149, allocations: 20 kB / 468.1 MB, free: 1.418 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005193/0.6201, allocations: 1.381 MB / 469.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.6202, allocations: 8.031 kB / 469.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.622, allocations: 206.2 kB / 469.6 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.6245, allocations: 0.6841 MB / 470.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/0.6246, allocations: 32 kB / 470.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/0.625, allocations: 63.91 kB / 470.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004666/0.6297, allocations: 1.688 MB / 472.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00678/0.6365, allocations: 1.94 MB / 474 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.819e-05/0.6367, allocations: 7.938 kB / 474.1 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.6369, allocations: 11.95 kB / 474.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000645/0.6375, allocations: 201.8 kB / 474.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01792/0.6555, allocations: 7.454 MB / 481.7 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.657, allocations: 411.4 kB / 482.1 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/0.6578, allocations: 232.8 kB / 482.3 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003233/0.6611, allocations: 1.73 MB / 484.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.6612, allocations: 38.59 kB / 484.1 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 5.159e-06/0.6612, allocations: 0 / 484.1 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.3222/0.9835, allocations: 2.003 MB / 486.1 MB, free: 107.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.9836, allocations: 58.02 kB / 486.2 MB, free: 107 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.9851, allocations: 0.6468 MB / 486.8 MB, free: 106.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.9852, allocations: 26.73 kB / 486.8 MB, free: 106.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005924/0.9858, allocations: 0.7095 MB / 487.6 MB, free: 106.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.9862, allocations: 205.7 kB / 487.8 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.9863, allocations: 0 / 487.8 MB, free: 106.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.9864, allocations: 361.9 kB / 488.1 MB, free: 106 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008759/0.9873, allocations: 334 kB / 488.4 MB, free: 106 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.9885, allocations: 0.9453 MB / 489.4 MB, free: 105.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.99, allocations: 0.5417 MB / 489.9 MB, free: 105.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/0.99, allocations: 7.25 kB / 489.9 MB, free: 105.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003027/0.9931, allocations: 1.176 MB / 491.1 MB, free: 105.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.9931, allocations: 15.92 kB / 491.1 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.9932, allocations: 21.69 kB / 491.1 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.639e-05/0.9932, allocations: 38.62 kB / 491.2 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/0.9955, allocations: 322.4 kB / 491.5 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.9966, allocations: 1.32 MB / 492.8 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.998, allocations: 28.47 kB / 492.8 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.9982, allocations: 66.53 kB / 492.9 MB, free: 103.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0003384/0.9985, allocations: 176.3 kB / 493.1 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001266/0.9998, allocations: 0.5673 MB / 493.7 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.9999, allocations: 80.83 kB / 493.7 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/1, allocations: 99.83 kB / 493.8 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1, allocations: 10.55 kB / 493.8 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1, allocations: 0.875 kB / 493.8 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1, allocations: 3.328 kB / 493.8 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/1.005, allocations: 1.827 MB / 495.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.005, allocations: 3.875 kB / 495.7 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.006, allocations: 131.3 kB / 495.8 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/1.006, allocations: 15.5 kB / 495.8 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/1.006, allocations: 7.75 kB / 495.8 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008582/1.007, allocations: 1.282 MB / 497.1 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.007, allocations: 7.719 kB / 497.1 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/1.008, allocations: 1.08 MB / 498.2 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/1.009, allocations: 186.7 kB / 498.4 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/1.009, allocations: 17.25 kB / 498.4 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/1.009, allocations: 7.406 kB / 498.4 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.009, allocations: 55.98 kB / 498.5 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/1.01, allocations: 22.66 kB / 498.5 MB, free: 100.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007497/1.01, allocations: 456.9 kB / 498.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.01, allocations: 0 / 498.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001575/1.012, allocations: 177.8 kB / 499.1 MB, free: 100.7 MB / 410.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 () * 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.001842/1.014, allocations: 3.412 MB / 0.4907 GB, free: 97.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002015/1.016, allocations: 0.7876 MB / 0.4915 GB, free: 97.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.016, allocations: 0 / 0.4915 GB, free: 97.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006828/1.017, allocations: 265.7 kB / 0.4918 GB, free: 97.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008805/1.017, allocations: 83.14 kB / 0.4918 GB, free: 97.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/1.023, allocations: 1.969 MB / 0.4938 GB, free: 96.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.024, allocations: 1.242 MB / 0.495 GB, free: 95.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/1.025, allocations: 393 kB / 0.4953 GB, free: 95.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/1.025, allocations: 0 / 0.4953 GB, free: 95.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.038/4.063, allocations: 20.5 MB / 0.5154 GB, free: 81.04 MB / 410.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