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: translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointSSP.frame_b.r_0.1.|jointSSP.frame_b.r_0.2.|jointSSP.frame_b.r_0.3.|jointSSP.frame_b.f.1.|jointSSP.frame_b.f.2.|jointSSP.frame_b.f.3.|jointSSP.frame_b.t.1.|jointSSP.frame_b.t.2.|jointSSP.frame_b.t.3.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.3.|jointSSP.frame_im.f.3.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.3.|jointSSP.frame_im.t.3.|jointSSP.prismatic.frame_b.r_0.1.|jointSSP.prismatic.frame_b.r_0.2.|jointSSP.prismatic.frame_b.r_0.3.|jointSSP.prismatic.frame_b.f.1.|jointSSP.prismatic.frame_b.f.2.|jointSSP.prismatic.frame_b.f.3.|jointSSP.prismatic.frame_b.t.1.|jointSSP.prismatic.frame_b.t.2.|jointSSP.prismatic.frame_b.t.3.|jointSSP.rod1.frame_b.r_0.1.|jointSSP.rod1.frame_b.r_0.2.|jointSSP.rod1.frame_b.r_0.3.|jointSSP.rod1.frame_b.f.1.|jointSSP.rod1.frame_b.f.2.|jointSSP.rod1.frame_b.f.3.|jointSSP.rod1.frame_b.t.1.|jointSSP.rod1.frame_b.t.2.|jointSSP.rod1.frame_b.t.3.|jointSSP.rod2.frame_b.r_0.1.|jointSSP.rod2.frame_b.r_0.2.|jointSSP.rod2.frame_b.r_0.3.|jointSSP.rod2.frame_b.f.1.|jointSSP.rod2.frame_b.f.2.|jointSSP.rod2.frame_b.f.3.|jointSSP.rod2.frame_b.t.1.|jointSSP.rod2.frame_b.t.2.|jointSSP.rod2.frame_b.t.3.|jointSSP.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.frame_b.f.1.|jointSSP.relativePosition.frame_b.f.2.|jointSSP.relativePosition.frame_b.f.3.|jointSSP.relativePosition.frame_b.t.1.|jointSSP.relativePosition.frame_b.t.2.|jointSSP.relativePosition.frame_b.t.3.|jointSSP.relativePosition.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.relativePosition.frame_b.f.1.|jointSSP.relativePosition.relativePosition.frame_b.f.2.|jointSSP.relativePosition.relativePosition.frame_b.f.3.|jointSSP.relativePosition.relativePosition.frame_b.t.1.|jointSSP.relativePosition.relativePosition.frame_b.t.2.|jointSSP.relativePosition.relativePosition.frame_b.t.3.|jointSSP.position_b.1..y|jointSSP.position_b.2..y|jointSSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadModel(ModelicaTest): time 2.106/2.106, allocations: 209.2 MB / 225.4 MB, free: 0.5586 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006189/0.0006191, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3614, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.531, allocations: 92.49 MB / 424.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.5314, allocations: 83.95 kB / 424.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4994/1.031, allocations: 54.64 MB / 479 MB, free: 96 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.031, allocations: 3.125 kB / 479 MB, free: 96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001951/1.031, allocations: 52.03 kB / 479.1 MB, free: 96 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.009402/1.041, allocations: 2.485 MB / 481.5 MB, free: 94.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.041, allocations: 8.844 kB / 481.6 MB, free: 94.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/1.045, allocations: 479.9 kB / 482 MB, free: 94.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005439/1.051, allocations: 1.516 MB / 483.5 MB, free: 94.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/1.051, allocations: 218.8 kB / 483.8 MB, free: 94.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/1.052, allocations: 285.6 kB / 484 MB, free: 94.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/1.074, allocations: 6.009 MB / 490 MB, free: 93.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/1.074, allocations: 16.16 kB / 490.1 MB, free: 93.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007008/1.075, allocations: 124.5 kB / 490.2 MB, free: 93.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001344/1.076, allocations: 483.8 kB / 490.7 MB, free: 93.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/1.094, allocations: 4.576 MB / 495.2 MB, free: 93.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03523/1.129, allocations: 19.87 MB / 0.503 GB, free: 80.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006878/1.136, allocations: 1.258 MB / 0.5043 GB, free: 79.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/1.138, allocations: 2.061 MB / 0.5063 GB, free: 77.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.139, allocations: 46.48 kB / 0.5063 GB, free: 77.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.366e-06/1.139, allocations: 3.938 kB / 0.5063 GB, free: 77.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=110): time 0.04013/1.179, allocations: 5.963 MB / 0.5121 GB, free: 76.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.179, allocations: 89.73 kB / 0.5122 GB, free: 75.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/1.182, allocations: 1.785 MB / 0.514 GB, free: 75.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002113/1.183, allocations: 45.64 kB / 0.514 GB, free: 75.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/1.184, allocations: 1.646 MB / 0.5156 GB, free: 73.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004766/1.184, allocations: 408 kB / 0.516 GB, free: 73.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/1.184, allocations: 55.38 kB / 0.5161 GB, free: 73.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/1.185, allocations: 427.2 kB / 0.5165 GB, free: 73.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/1.186, allocations: 0.7884 MB / 0.5172 GB, free: 72.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/1.189, allocations: 2.329 MB / 0.5195 GB, free: 70.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/1.192, allocations: 1.322 MB / 0.5208 GB, free: 69.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.253e-05/1.193, allocations: 19 kB / 0.5208 GB, free: 69.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.007696/1.2, allocations: 3.046 MB / 0.5238 GB, free: 68.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/1.2, allocations: 32.95 kB / 0.5238 GB, free: 68.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.757e-05/1.2, allocations: 62.84 kB / 0.5239 GB, free: 68.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.362e-05/1.201, allocations: 84 kB / 0.524 GB, free: 67.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003861/1.204, allocations: 0.6408 MB / 0.5246 GB, free: 67.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001146/1.205, allocations: 106.1 kB / 0.5247 GB, free: 67.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/1.207, allocations: 123.8 kB / 0.5248 GB, free: 67.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004694/1.208, allocations: 163.7 kB / 0.525 GB, free: 67.02 MB / 394.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.002833/1.211, allocations: 1.195 MB / 0.5261 GB, free: 65.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/1.211, allocations: 165.8 kB / 0.5263 GB, free: 65.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/1.214, allocations: 1.268 MB / 0.5275 GB, free: 64.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.214, allocations: 12 kB / 0.5275 GB, free: 64.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.214, allocations: 0 / 0.5275 GB, free: 64.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/1.214, allocations: 6.844 kB / 0.5276 GB, free: 64.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/1.228, allocations: 6.441 MB / 0.5338 GB, free: 58.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/1.229, allocations: 20 kB / 0.5339 GB, free: 58.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.23, allocations: 208.6 kB / 0.5341 GB, free: 58.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.249e-05/1.23, allocations: 31.95 kB / 0.5341 GB, free: 58.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.014e-05/1.23, allocations: 44 kB / 0.5341 GB, free: 58.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.991e-05/1.23, allocations: 35.81 kB / 0.5342 GB, free: 58.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-05/1.23, allocations: 32.25 kB / 0.5342 GB, free: 58.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/1.233, allocations: 1.674 MB / 0.5358 GB, free: 56.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006296/1.233, allocations: 276.4 kB / 0.5361 GB, free: 56.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/1.234, allocations: 43.7 kB / 0.5361 GB, free: 56.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.235, allocations: 43.38 kB / 0.5362 GB, free: 56.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/1.235, allocations: 131.5 kB / 0.5363 GB, free: 56.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.207e-05/1.235, allocations: 52 kB / 0.5364 GB, free: 56.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002519/1.238, allocations: 1.194 MB / 0.5375 GB, free: 55.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.011e-06/1.238, allocations: 4 kB / 0.5375 GB, free: 55.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003623/1.241, allocations: 0.496 MB / 0.538 GB, free: 54.62 MB / 394.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.0004702/1.242, allocations: 206 kB / 0.5382 GB, free: 54.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004212/1.246, allocations: 1.815 MB / 0.54 GB, free: 52.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/1.246, allocations: 4 kB / 0.54 GB, free: 52.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/1.247, allocations: 492.8 kB / 0.5404 GB, free: 52.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/1.249, allocations: 242.7 kB / 0.5407 GB, free: 52.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.263, allocations: 6.549 MB / 0.5471 GB, free: 45.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003817/1.267, allocations: 2.242 MB / 0.5493 GB, free: 43.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000713/1.268, allocations: 147.4 kB / 0.5494 GB, free: 42.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/1.268, allocations: 0 / 0.5494 GB, free: 42.9 MB / 394.7 MB Notification: Performance of Templates: time 0.05896/1.327, allocations: 28.55 MB / 0.5773 GB, free: 14.68 MB / 394.7 MB