Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSP.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.197/2.197, allocations: 209.2 MB / 224.8 MB, free: 1.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004808, allocations: 12 kB / 282.7 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 48.71 MB / 331.4 MB, free: 8.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5607/0.6781, allocations: 92.48 MB / 423.9 MB, free: 8.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.6785, allocations: 79.95 kB / 423.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2611/0.9396, allocations: 54.5 MB / 478.4 MB, free: 1.562 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.9397, allocations: 0 / 478.4 MB, free: 1.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001754/0.9399, allocations: 48 kB / 478.5 MB, free: 1.516 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01014/0.95, allocations: 2.494 MB / 481 MB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.9501, allocations: 8.031 kB / 481 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002159/0.9523, allocations: 476.8 kB / 481.4 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/0.9566, allocations: 487.8 kB / 481.9 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005494/0.9622, allocations: 1.524 MB / 483.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003528/0.9626, allocations: 217.7 kB / 483.7 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/0.964, allocations: 283.9 kB / 483.9 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.9871, allocations: 5.983 MB / 489.9 MB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.9873, allocations: 15.88 kB / 489.9 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000575/0.9879, allocations: 124 kB / 490.1 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001487/0.9894, allocations: 484 kB / 490.5 MB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/1.009, allocations: 4.567 MB / 495.1 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3523/1.361, allocations: 19.86 MB / 0.5029 GB, free: 91.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007534/1.369, allocations: 1.253 MB / 0.5041 GB, free: 91.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002296/1.371, allocations: 2.065 MB / 0.5061 GB, free: 89.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/1.371, allocations: 45.22 kB / 0.5062 GB, free: 89.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 4.328e-06/1.371, allocations: 3.656 kB / 0.5062 GB, free: 89.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.04865/1.42, allocations: 6.621 MB / 0.5126 GB, free: 88.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/1.42, allocations: 93.05 kB / 0.5127 GB, free: 88.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/1.423, allocations: 1.598 MB / 0.5143 GB, free: 88.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/1.423, allocations: 41.98 kB / 0.5143 GB, free: 88.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.425, allocations: 1.639 MB / 0.5159 GB, free: 87.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004702/1.425, allocations: 410.1 kB / 0.5163 GB, free: 87.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.425, allocations: 58.22 kB / 0.5164 GB, free: 87.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/1.426, allocations: 428.7 kB / 0.5168 GB, free: 87.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/1.428, allocations: 0.7849 MB / 0.5176 GB, free: 86.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/1.43, allocations: 2.324 MB / 0.5198 GB, free: 84.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/1.433, allocations: 1.318 MB / 0.5211 GB, free: 84.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.8e-05/1.433, allocations: 16.06 kB / 0.5211 GB, free: 84.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.007485/1.441, allocations: 3.056 MB / 0.5241 GB, free: 83.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/1.441, allocations: 27.25 kB / 0.5241 GB, free: 83.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.02e-05/1.441, allocations: 56.09 kB / 0.5242 GB, free: 83.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.936e-05/1.441, allocations: 80.89 kB / 0.5243 GB, free: 83.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003757/1.445, allocations: 0.6501 MB / 0.5249 GB, free: 82.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.984e-05/1.445, allocations: 116.6 kB / 0.525 GB, free: 82.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/1.448, allocations: 116.4 kB / 0.5251 GB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/1.448, allocations: 160.2 kB / 0.5253 GB, free: 82.85 MB / 410.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 () * Number of clocked 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.002854/1.451, allocations: 1.194 MB / 0.5264 GB, free: 82.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/1.451, allocations: 164.5 kB / 0.5266 GB, free: 82.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/1.455, allocations: 1.258 MB / 0.5278 GB, free: 81.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.455, allocations: 15.66 kB / 0.5278 GB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.455, allocations: 1.469 kB / 0.5278 GB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/1.455, allocations: 11.27 kB / 0.5279 GB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/1.469, allocations: 6.438 MB / 0.5341 GB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/1.469, allocations: 17.94 kB / 0.5342 GB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.47, allocations: 212.8 kB / 0.5344 GB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.334e-05/1.47, allocations: 27.84 kB / 0.5344 GB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/1.47, allocations: 42.66 kB / 0.5344 GB, free: 78.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.423e-05/1.47, allocations: 40.25 kB / 0.5345 GB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.313e-05/1.47, allocations: 30.16 kB / 0.5345 GB, free: 78.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/1.474, allocations: 3.196 MB / 0.5376 GB, free: 74.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/1.475, allocations: 277.8 kB / 0.5379 GB, free: 74.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/1.475, allocations: 44.8 kB / 0.5379 GB, free: 74.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.476, allocations: 40.06 kB / 0.538 GB, free: 74.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/1.476, allocations: 131 kB / 0.5381 GB, free: 74.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/1.476, allocations: 56.66 kB / 0.5381 GB, free: 74.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002345/1.479, allocations: 1.194 MB / 0.5393 GB, free: 73.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.479, allocations: 0 / 0.5393 GB, free: 73.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003887/1.483, allocations: 0.4966 MB / 0.5398 GB, free: 73.82 MB / 410.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 () * Number of clocked 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.004802/1.487, allocations: 9.454 MB / 0.549 GB, free: 64.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004398/1.492, allocations: 1.819 MB / 0.5508 GB, free: 63.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-05/1.492, allocations: 5.688 kB / 0.5508 GB, free: 63.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.493, allocations: 491.4 kB / 0.5513 GB, free: 63.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/1.495, allocations: 248 kB / 0.5515 GB, free: 63.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/1.521, allocations: 46.89 MB / 0.5973 GB, free: 18.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003062/1.524, allocations: 2.24 MB / 0.5995 GB, free: 17.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/1.526, allocations: 1.048 MB / 0.6005 GB, free: 16.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/1.526, allocations: 0 / 0.6005 GB, free: 16.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.571/5.098, allocations: 42.28 MB / 0.6418 GB, free: 103.6 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat