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.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.615/2.615, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.58e-05, allocations: 4 kB / 309.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4088, allocations: 54.85 MB / 364.6 MB, free: 5.398 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.5989, allocations: 98.91 MB / 463.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.5993, allocations: 79.95 kB / 463.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2336/0.8329, allocations: 54.56 MB / 0.506 GB, free: 6.441 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.833, allocations: 0 / 0.506 GB, free: 6.441 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001781/0.8332, allocations: 59.98 kB / 0.5061 GB, free: 6.383 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.008939/0.8421, allocations: 2.369 MB / 0.5084 GB, free: 3.957 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.8422, allocations: 8.031 kB / 0.5084 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001913/0.8441, allocations: 488.8 kB / 0.5089 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/0.8484, allocations: 471.8 kB / 0.5093 GB, free: 2.996 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005552/0.854, allocations: 1.509 MB / 0.5108 GB, free: 1.438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/0.8544, allocations: 217.7 kB / 0.511 GB, free: 1.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.8559, allocations: 280 kB / 0.5113 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/0.8788, allocations: 5.92 MB / 0.5171 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.8789, allocations: 19.81 kB / 0.5171 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007162/0.8797, allocations: 124 kB / 0.5172 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001466/0.8812, allocations: 480.1 kB / 0.5176 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/0.8999, allocations: 4.489 MB / 0.522 GB, free: 5.598 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3637/1.264, allocations: 19.86 MB / 0.5414 GB, free: 108.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007076/1.271, allocations: 1.227 MB / 0.5426 GB, free: 108.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009822/1.272, allocations: 370.5 kB / 0.543 GB, free: 108.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002558/1.274, allocations: 2.067 MB / 0.545 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/1.274, allocations: 39.59 kB / 0.545 GB, free: 106.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 5.981e-06/1.274, allocations: 5.109 kB / 0.545 GB, free: 106.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.0339/1.308, allocations: 5.398 MB / 0.5503 GB, free: 106 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/1.309, allocations: 88.02 kB / 0.5504 GB, free: 105.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003886/1.312, allocations: 1.577 MB / 0.5519 GB, free: 105.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/1.313, allocations: 47.48 kB / 0.552 GB, free: 105.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/1.314, allocations: 1.643 MB / 0.5536 GB, free: 104.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/1.315, allocations: 412.8 kB / 0.554 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.315, allocations: 58.5 kB / 0.554 GB, free: 104.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/1.315, allocations: 422.4 kB / 0.5544 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/1.317, allocations: 0.762 MB / 0.5552 GB, free: 104.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003134/1.32, allocations: 2.298 MB / 0.5574 GB, free: 102.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/1.324, allocations: 1.318 MB / 0.5587 GB, free: 102.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.136e-05/1.324, allocations: 15.47 kB / 0.5587 GB, free: 102.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.007322/1.331, allocations: 3.006 MB / 0.5617 GB, free: 102.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/1.331, allocations: 27.03 kB / 0.5617 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.397e-05/1.331, allocations: 55.31 kB / 0.5617 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/1.331, allocations: 84.86 kB / 0.5618 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/1.335, allocations: 0.6451 MB / 0.5625 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/1.336, allocations: 110.5 kB / 0.5626 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/1.338, allocations: 118.6 kB / 0.5627 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004899/1.339, allocations: 163.5 kB / 0.5628 GB, free: 102 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (359): * Single equations (assignments): 359 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005722/1.34, allocations: 337.1 kB / 0.5631 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/1.34, allocations: 170.6 kB / 0.5633 GB, free: 101.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/1.343, allocations: 1.238 MB / 0.5645 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/1.343, allocations: 10.19 kB / 0.5645 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/1.343, allocations: 1.062 kB / 0.5645 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.343, allocations: 11.19 kB / 0.5645 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.357, allocations: 6.419 MB / 0.5708 GB, free: 98.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/1.357, allocations: 21.31 kB / 0.5708 GB, free: 98.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.358, allocations: 203.4 kB / 0.571 GB, free: 98.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.444e-05/1.358, allocations: 30.03 kB / 0.5711 GB, free: 98.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/1.358, allocations: 44.44 kB / 0.5711 GB, free: 98.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.088e-05/1.358, allocations: 43.17 kB / 0.5711 GB, free: 98.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-05/1.358, allocations: 36.55 kB / 0.5712 GB, free: 98.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/1.362, allocations: 3.16 MB / 0.5743 GB, free: 94.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/1.362, allocations: 276.8 kB / 0.5745 GB, free: 94.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/1.363, allocations: 47.62 kB / 0.5746 GB, free: 94.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.364, allocations: 39.03 kB / 0.5746 GB, free: 94.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/1.364, allocations: 142.4 kB / 0.5747 GB, free: 94.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.364, allocations: 49.62 kB / 0.5748 GB, free: 94.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003331/1.368, allocations: 1.177 MB / 0.5759 GB, free: 93.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.368, allocations: 0 / 0.5759 GB, free: 93.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005459/1.373, allocations: 0.4917 MB / 0.5764 GB, free: 93.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005963/1.379, allocations: 9.436 MB / 0.5856 GB, free: 84.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005633/1.385, allocations: 1.783 MB / 0.5874 GB, free: 83.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-05/1.385, allocations: 3.625 kB / 0.5874 GB, free: 83.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/1.386, allocations: 488.8 kB / 0.5878 GB, free: 83.69 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/1.389, allocations: 251.1 kB / 0.5881 GB, free: 83.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.41, allocations: 5.329 MB / 0.5933 GB, free: 80.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004778/1.415, allocations: 2.238 MB / 0.5955 GB, free: 79.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00281/1.417, allocations: 1.055 MB / 0.5965 GB, free: 78.95 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/1.418, allocations: 3.609 kB / 0.5965 GB, free: 78.95 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.179/4.597, allocations: 42.87 MB / 0.6384 GB, free: 47.43 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat