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.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.192e-05/5.212e-05, allocations: 4 kB / 309.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4698, allocations: 54.86 MB / 364.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.6608, allocations: 102.3 MB / 466.9 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.6612, allocations: 75.95 kB / 467 MB, free: 10.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.298/0.9592, allocations: 72.11 MB / 0.5264 GB, free: 1.488 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.9593, allocations: 0 / 0.5264 GB, free: 1.488 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002671/0.9596, allocations: 76 kB / 0.5265 GB, free: 1.414 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.3339/1.293, allocations: 3.88 MB / 0.5303 GB, free: 108.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.294, allocations: 9.438 kB / 0.5303 GB, free: 108.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00358/1.297, allocations: 0.702 MB / 0.531 GB, free: 108.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007365/1.305, allocations: 0.7142 MB / 0.5317 GB, free: 107.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/1.315, allocations: 2.576 MB / 0.5342 GB, free: 107.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005045/1.315, allocations: 322 kB / 0.5345 GB, free: 107.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/1.318, allocations: 424.5 kB / 0.5349 GB, free: 107.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/1.352, allocations: 9.065 MB / 0.5438 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/1.352, allocations: 17.5 kB / 0.5438 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009526/1.353, allocations: 184.3 kB / 0.544 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002624/1.356, allocations: 0.8053 MB / 0.5448 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02572/1.382, allocations: 7.175 MB / 0.5518 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0589/1.441, allocations: 29.67 MB / 0.5807 GB, free: 88.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/1.451, allocations: 2.12 MB / 0.5828 GB, free: 87.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/1.453, allocations: 0.9329 MB / 0.5837 GB, free: 87.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/1.466, allocations: 6.737 MB / 0.5903 GB, free: 82.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.466, allocations: 46.59 kB / 0.5903 GB, free: 82.28 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 4.979e-06/1.466, allocations: 3.188 kB / 0.5903 GB, free: 82.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.02759/1.493, allocations: 6.901 MB / 0.5971 GB, free: 78.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/1.494, allocations: 162.5 kB / 0.5972 GB, free: 78.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/1.498, allocations: 2.361 MB / 0.5995 GB, free: 77.74 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002478/1.498, allocations: 41.2 kB / 0.5996 GB, free: 77.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/1.5, allocations: 2.504 MB / 0.602 GB, free: 75.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/1.501, allocations: 394.2 kB / 0.6024 GB, free: 75.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/1.501, allocations: 81.28 kB / 0.6025 GB, free: 75.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002333/1.501, allocations: 470.8 kB / 0.6029 GB, free: 75.03 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002498/1.504, allocations: 1.053 MB / 0.604 GB, free: 74.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003557/1.507, allocations: 3.372 MB / 0.6073 GB, free: 71.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/1.512, allocations: 1.836 MB / 0.609 GB, free: 70.46 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-05/1.512, allocations: 25.16 kB / 0.6091 GB, free: 70.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01022/1.522, allocations: 4.261 MB / 0.6132 GB, free: 67.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.838e-05/1.522, allocations: 45.75 kB / 0.6133 GB, free: 67.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.816e-05/1.522, allocations: 84 kB / 0.6134 GB, free: 67.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/1.522, allocations: 124 kB / 0.6135 GB, free: 67.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005248/1.528, allocations: 0.9375 MB / 0.6144 GB, free: 66.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/1.528, allocations: 166.2 kB / 0.6145 GB, free: 66.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.531, allocations: 211.1 kB / 0.6147 GB, free: 65.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003787/1.532, allocations: 235.8 kB / 0.615 GB, free: 65.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (501): * Single equations (assignments): 500 * Array equations: 1 * 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.0006161/1.532, allocations: 426.2 kB / 0.6154 GB, free: 65.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/1.533, allocations: 236.9 kB / 0.6156 GB, free: 65.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/1.535, allocations: 1.163 MB / 0.6167 GB, free: 64.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.535, allocations: 12 kB / 0.6168 GB, free: 64.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.535, allocations: 0 / 0.6168 GB, free: 64.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.535, allocations: 7.844 kB / 0.6168 GB, free: 64.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/1.549, allocations: 6.791 MB / 0.6234 GB, free: 57.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-05/1.549, allocations: 27.94 kB / 0.6234 GB, free: 57.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/1.551, allocations: 291.2 kB / 0.6237 GB, free: 57.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.914e-05/1.551, allocations: 32 kB / 0.6237 GB, free: 57.58 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.551, allocations: 55.38 kB / 0.6238 GB, free: 57.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.239e-05/1.551, allocations: 43 kB / 0.6238 GB, free: 57.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.299e-05/1.551, allocations: 39.81 kB / 0.6239 GB, free: 57.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003903/1.555, allocations: 4.56 MB / 0.6283 GB, free: 52.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007757/1.556, allocations: 361.7 kB / 0.6287 GB, free: 52.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/1.556, allocations: 50.25 kB / 0.6287 GB, free: 52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/1.558, allocations: 66.22 kB / 0.6288 GB, free: 51.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/1.558, allocations: 167.9 kB / 0.6289 GB, free: 51.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.558, allocations: 70.72 kB / 0.629 GB, free: 51.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00342/1.562, allocations: 1.737 MB / 0.6307 GB, free: 50.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.562, allocations: 0 / 0.6307 GB, free: 50.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00451/1.566, allocations: 0.7104 MB / 0.6314 GB, free: 49.49 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.005555/1.572, allocations: 10.98 MB / 0.6421 GB, free: 37.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00547/1.577, allocations: 2.564 MB / 0.6446 GB, free: 35.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/1.577, allocations: 4 kB / 0.6446 GB, free: 35.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/1.579, allocations: 0.7032 MB / 0.6453 GB, free: 35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.581, allocations: 337.3 kB / 0.6456 GB, free: 34.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/1.602, allocations: 7.873 MB / 0.6533 GB, free: 27.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00424/1.606, allocations: 3.043 MB / 0.6563 GB, free: 25.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002987/1.609, allocations: 1.624 MB / 0.6579 GB, free: 23.64 MB / 458.7 MB Notification: Performance of SimCode: time 2.013e-06/1.609, allocations: 0 / 0.6579 GB, free: 23.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.784/5.393, allocations: 63.47 MB / 0.7199 GB, free: 117.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat