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.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.304e-05/5.329e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4231, allocations: 54.85 MB / 364.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.6114, allocations: 99.97 MB / 464.6 MB, free: 12.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.6118, allocations: 76.62 kB / 464.7 MB, free: 12.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2393/0.8511, allocations: 56.31 MB / 0.5088 GB, free: 3.703 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.8512, allocations: 0 / 0.5088 GB, free: 3.703 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001619/0.8513, allocations: 56 kB / 0.5088 GB, free: 3.648 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01072/0.8621, allocations: 2.576 MB / 0.5113 GB, free: 1.016 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.8622, allocations: 11.97 kB / 0.5113 GB, free: 1.004 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001886/0.8641, allocations: 489.1 kB / 0.5118 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004254/0.8683, allocations: 479.8 kB / 0.5123 GB, free: 44 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006093/0.8745, allocations: 1.54 MB / 0.5138 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.8749, allocations: 213.6 kB / 0.514 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.8763, allocations: 283.9 kB / 0.5142 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02621/0.9025, allocations: 6.638 MB / 0.5207 GB, free: 7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.9027, allocations: 19.81 kB / 0.5208 GB, free: 6.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008603/0.9036, allocations: 124 kB / 0.5209 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001613/0.9052, allocations: 0.5162 MB / 0.5214 GB, free: 6.336 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02316/0.9284, allocations: 5.451 MB / 0.5267 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4621/1.391, allocations: 21.29 MB / 0.5475 GB, free: 109.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/1.404, allocations: 1.789 MB / 0.5492 GB, free: 109 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/1.405, allocations: 0.6534 MB / 0.5499 GB, free: 109 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/1.416, allocations: 4.892 MB / 0.5546 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.416, allocations: 46.2 kB / 0.5547 GB, free: 106.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 3.827e-06/1.416, allocations: 3.75 kB / 0.5547 GB, free: 106.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.05165/1.467, allocations: 7.478 MB / 0.562 GB, free: 104.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/1.468, allocations: 92.48 kB / 0.5621 GB, free: 104.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/1.471, allocations: 1.708 MB / 0.5638 GB, free: 104 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002999/1.471, allocations: 41.48 kB / 0.5638 GB, free: 104 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/1.473, allocations: 1.657 MB / 0.5654 GB, free: 102.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006268/1.474, allocations: 411.2 kB / 0.5658 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/1.474, allocations: 61.84 kB / 0.5659 GB, free: 102.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000211/1.474, allocations: 432.4 kB / 0.5663 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/1.477, allocations: 1 MB / 0.5673 GB, free: 101.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/1.48, allocations: 2.59 MB / 0.5698 GB, free: 99.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/1.483, allocations: 1.563 MB / 0.5713 GB, free: 98.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.979e-05/1.483, allocations: 16.94 kB / 0.5713 GB, free: 98.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.008005/1.491, allocations: 3.529 MB / 0.5748 GB, free: 97.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/1.492, allocations: 32.34 kB / 0.5748 GB, free: 97.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.585e-05/1.492, allocations: 54.53 kB / 0.5749 GB, free: 97.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/1.492, allocations: 88.34 kB / 0.5749 GB, free: 97.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/1.497, allocations: 0.7186 MB / 0.5756 GB, free: 97.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001074/1.497, allocations: 115.3 kB / 0.5757 GB, free: 97.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/1.5, allocations: 157.8 kB / 0.5759 GB, free: 97.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005745/1.501, allocations: 166.1 kB / 0.5761 GB, free: 97.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (371): * Single equations (assignments): 371 * 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.0006276/1.501, allocations: 341.2 kB / 0.5764 GB, free: 96.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004353/1.502, allocations: 178.8 kB / 0.5766 GB, free: 96.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/1.506, allocations: 1.692 MB / 0.5782 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/1.506, allocations: 11.06 kB / 0.5782 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.506, allocations: 0 / 0.5782 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/1.506, allocations: 10.5 kB / 0.5782 GB, free: 96.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.519, allocations: 5.884 MB / 0.584 GB, free: 93.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.52, allocations: 14.06 kB / 0.584 GB, free: 93.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/1.521, allocations: 247.3 kB / 0.5842 GB, free: 93.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.823e-05/1.521, allocations: 17.38 kB / 0.5842 GB, free: 93.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.376e-05/1.522, allocations: 40.52 kB / 0.5843 GB, free: 93.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.131e-05/1.522, allocations: 25.14 kB / 0.5843 GB, free: 93.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/1.522, allocations: 24.05 kB / 0.5843 GB, free: 93.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/1.525, allocations: 2.61 MB / 0.5869 GB, free: 90.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006575/1.526, allocations: 262.7 kB / 0.5871 GB, free: 90.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/1.526, allocations: 42.27 kB / 0.5872 GB, free: 90.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.527, allocations: 61.16 kB / 0.5872 GB, free: 90.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/1.528, allocations: 106.1 kB / 0.5873 GB, free: 90.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.232e-05/1.528, allocations: 37.84 kB / 0.5874 GB, free: 90.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002518/1.53, allocations: 1.241 MB / 0.5886 GB, free: 90.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.53, allocations: 0 / 0.5886 GB, free: 90.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003418/1.534, allocations: 0.5432 MB / 0.5891 GB, free: 89.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.004276/1.538, allocations: 6.508 MB / 0.5955 GB, free: 83.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005058/1.543, allocations: 2.213 MB / 0.5976 GB, free: 83.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/1.543, allocations: 3.562 kB / 0.5976 GB, free: 83.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/1.544, allocations: 0.6005 MB / 0.5982 GB, free: 82.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/1.546, allocations: 229.5 kB / 0.5984 GB, free: 82.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.562, allocations: 5.28 MB / 0.6036 GB, free: 79.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/1.565, allocations: 2.225 MB / 0.6058 GB, free: 77.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/1.568, allocations: 1.06 MB / 0.6068 GB, free: 76.92 MB / 458.7 MB Notification: Performance of SimCode: time 2.204e-06/1.568, allocations: 0 / 0.6068 GB, free: 76.92 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.388/4.956, allocations: 45.61 MB / 0.6513 GB, free: 35.22 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat