Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01186/0.01187, allocations: 109.1 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001387/0.001387, allocations: 183.2 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.941/1.941, allocations: 194.6 MB / 211.3 MB, free: 11.21 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2702/0.2702, allocations: 40.04 MB / 296.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 8 kB / 361.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 54.89 MB / 416 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.02628/0.1574, allocations: 14.78 MB / 430.8 MB, free: 3.754 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.1679, allocations: 3.75 MB / 434.5 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.1705, allocations: 63.78 kB / 434.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.1731, allocations: 0.6882 MB / 435.3 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007928/0.181, allocations: 1.921 MB / 437.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.1826, allocations: 243.5 kB / 437.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.184, allocations: 479.2 kB / 437.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.1863, allocations: 1.047 MB / 439 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004861/0.1869, allocations: 243 kB / 439.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.1888, allocations: 490.7 kB / 439.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.1891, allocations: 60 kB / 439.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1901, allocations: 387.4 kB / 440.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006019/0.1907, allocations: 414.9 kB / 440.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.191, allocations: 205.1 kB / 440.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.1932, allocations: 1.333 MB / 442.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1932, allocations: 0 / 442.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.1933, allocations: 0 / 442.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.457e-05/0.1933, allocations: 0 / 442.1 MB, free: 8.426 MB / 378.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.004991/0.1983, allocations: 1.435 MB / 443.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.1984, allocations: 12.02 kB / 443.5 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005086/0.1989, allocations: 182.2 kB / 443.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.2001, allocations: 162.3 kB / 443.8 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.2019, allocations: 0.6113 MB / 444.5 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/0.202, allocations: 57.98 kB / 444.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/0.2023, allocations: 83.88 kB / 444.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009444/0.2118, allocations: 2.703 MB / 447.3 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.762e-05/0.2119, allocations: 11.92 kB / 447.3 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.2121, allocations: 39.97 kB / 447.4 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008603/0.2129, allocations: 373.7 kB / 447.7 MB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009776/0.2227, allocations: 2.404 MB / 450.1 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3088/0.5316, allocations: 8.18 MB / 458.3 MB, free: 56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006691/0.5384, allocations: 0.9844 MB / 459.3 MB, free: 55.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/0.5403, allocations: 1.734 MB / 461 MB, free: 54.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.5404, allocations: 37.03 kB / 461.1 MB, free: 54.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 5.25e-06/0.5404, allocations: 3.344 kB / 461.1 MB, free: 54.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.01941/0.5598, allocations: 2.988 MB / 464 MB, free: 54.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.5599, allocations: 58.66 kB / 464.1 MB, free: 54.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.5613, allocations: 0.8647 MB / 465 MB, free: 53.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/0.5613, allocations: 37.05 kB / 465 MB, free: 53.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/0.5618, allocations: 0.6545 MB / 465.7 MB, free: 53.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.5619, allocations: 212.9 kB / 465.9 MB, free: 52.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.562, allocations: 19.16 kB / 465.9 MB, free: 52.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5622, allocations: 399.9 kB / 466.3 MB, free: 52.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/0.563, allocations: 360.9 kB / 466.6 MB, free: 52.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.5641, allocations: 0.9679 MB / 467.6 MB, free: 51.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.5654, allocations: 0.564 MB / 468.2 MB, free: 51.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.5654, allocations: 6.656 kB / 468.2 MB, free: 51.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002936/0.5684, allocations: 1.369 MB / 469.5 MB, free: 50.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.5685, allocations: 15.47 kB / 469.6 MB, free: 50.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.5685, allocations: 27.12 kB / 469.6 MB, free: 50.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.322e-05/0.5686, allocations: 32.06 kB / 469.6 MB, free: 50.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.5706, allocations: 310.3 kB / 469.9 MB, free: 50.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009922/0.5717, allocations: 1.371 MB / 471.3 MB, free: 49.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.5728, allocations: 46.55 kB / 471.3 MB, free: 49.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.5729, allocations: 68.41 kB / 471.4 MB, free: 49.35 MB / 378.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.0009089/0.5738, allocations: 493.2 kB / 471.9 MB, free: 49.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.574, allocations: 87.56 kB / 472 MB, free: 49.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.5743, allocations: 114.8 kB / 472.1 MB, free: 48.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5743, allocations: 5.844 kB / 472.1 MB, free: 48.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.5743, allocations: 3.953 kB / 472.1 MB, free: 48.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.5743, allocations: 3.375 kB / 472.1 MB, free: 48.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/0.5796, allocations: 2.161 MB / 474.2 MB, free: 47.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.5797, allocations: 6.625 kB / 474.3 MB, free: 47.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009603/0.5807, allocations: 126.1 kB / 474.4 MB, free: 47.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.5807, allocations: 13.27 kB / 474.4 MB, free: 47.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.5808, allocations: 17.69 kB / 474.4 MB, free: 47.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008802/0.5816, allocations: 1.331 MB / 475.7 MB, free: 46.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.5817, allocations: 6.219 kB / 475.7 MB, free: 46.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.5832, allocations: 1.139 MB / 476.9 MB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/0.5837, allocations: 200.9 kB / 477.1 MB, free: 45.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.5839, allocations: 23.38 kB / 477.1 MB, free: 45.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.5845, allocations: 14.05 kB / 477.1 MB, free: 45.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5846, allocations: 61.77 kB / 477.2 MB, free: 45.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.5847, allocations: 22.53 kB / 477.2 MB, free: 45.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.5857, allocations: 0.5769 MB / 477.8 MB, free: 44.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5857, allocations: 0 / 477.8 MB, free: 44.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001553/0.5873, allocations: 214.4 kB / 478 MB, free: 44.96 MB / 378.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.002253/0.5896, allocations: 3.484 MB / 481.5 MB, free: 41.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.5918, allocations: 0.8544 MB / 482.3 MB, free: 41.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.5919, allocations: 2.875 kB / 482.3 MB, free: 41.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007389/0.5926, allocations: 280 kB / 482.6 MB, free: 41.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.5936, allocations: 108.5 kB / 482.7 MB, free: 41.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.6102, allocations: 20.89 MB / 0.4918 GB, free: 22.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.6114, allocations: 1.237 MB / 0.493 GB, free: 22.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001581/0.6131, allocations: 336.9 kB / 0.4933 GB, free: 22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007528/0.6138, allocations: 403.6 kB / 0.4937 GB, free: 21.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6138, allocations: 0 / 0.4937 GB, free: 21.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07605/0.6899, allocations: 16.73 MB / 0.51 GB, free: 17.56 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/0.6902, allocations: 189 kB / 0.5102 GB, free: 17.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/3.768, allocations: 7.75 kB / 0.5102 GB, free: 17.31 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat