Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,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.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.2 MB / 224.8 MB, free: 1.125 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004385, allocations: 16 kB / 282.5 MB, free: 9.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08677, allocations: 48.72 MB / 331.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2376/0.3244, allocations: 21.8 MB / 353 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.3368, allocations: 5.046 MB / 358 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004881/0.3417, allocations: 97 kB / 358.1 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003525/0.3453, allocations: 1.038 MB / 359.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.3558, allocations: 2.866 MB / 362 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.3576, allocations: 344.8 kB / 362.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.3598, allocations: 0.7711 MB / 363.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003344/0.3631, allocations: 1.684 MB / 364.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007908/0.364, allocations: 402.9 kB / 365.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.365, allocations: 0.5607 MB / 365.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.3653, allocations: 63.5 kB / 365.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3664, allocations: 425.1 kB / 366.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009227/0.3673, allocations: 0.6723 MB / 366.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.3678, allocations: 364.1 kB / 367.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.3712, allocations: 2.128 MB / 369.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.22e-06/0.3712, allocations: 0 / 369.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.439e-06/0.3712, allocations: 0 / 369.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.023e-05/0.3713, allocations: 0 / 369.4 MB, free: 11.52 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.005667/0.377, allocations: 2.127 MB / 371.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3771, allocations: 14.17 kB / 371.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.3788, allocations: 283.2 kB / 371.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.381, allocations: 0.8585 MB / 372.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.3811, allocations: 111.3 kB / 372.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.3815, allocations: 144.9 kB / 372.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.3935, allocations: 4.979 MB / 377.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.122e-05/0.3936, allocations: 15.88 kB / 377.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.3938, allocations: 63.94 kB / 378 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002219/0.396, allocations: 1.003 MB / 379 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.408, allocations: 3.892 MB / 382.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02815/0.4362, allocations: 16.34 MB / 399.2 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006117/0.4423, allocations: 1.286 MB / 400.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007608/0.45, allocations: 4.085 MB / 404.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.4501, allocations: 42.5 kB / 404.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 3.62e-06/0.4501, allocations: 0 / 404.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.009071/0.4592, allocations: 1.771 MB / 406.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.4593, allocations: 106.8 kB / 406.5 MB, free: 8.438 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.4621, allocations: 1.571 MB / 408.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.744e-05/0.4623, allocations: 33.7 kB / 408.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.4636, allocations: 1.409 MB / 409.5 MB, free: 5.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.4638, allocations: 186.2 kB / 409.7 MB, free: 5.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.4639, allocations: 44 kB / 409.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002948/0.4643, allocations: 403.4 kB / 410.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.4653, allocations: 0.5002 MB / 410.7 MB, free: 4.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.4678, allocations: 2.028 MB / 412.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.4696, allocations: 0.952 MB / 413.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-05/0.4697, allocations: 16 kB / 413.7 MB, free: 488 kB / 330.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.005279/0.475, allocations: 2.376 MB / 416 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.4751, allocations: 28.62 kB / 416.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.235e-05/0.4752, allocations: 56 kB / 416.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.4753, allocations: 80.78 kB / 416.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.4774, allocations: 0.5419 MB / 416.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001295/0.4776, allocations: 107.6 kB / 416.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.4799, allocations: 332.5 kB / 417.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.4803, allocations: 140 kB / 417.3 MB, free: 12.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (292): * Single equations (assignments): 292 * 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.001882/0.4822, allocations: 0.8544 MB / 418.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.4825, allocations: 140.7 kB / 418.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.4829, allocations: 153.3 kB / 418.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.4829, allocations: 4 kB / 418.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.093e-06/0.4829, allocations: 0 / 418.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.501e-06/0.4829, allocations: 3.984 kB / 418.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006401/0.4893, allocations: 3.267 MB / 421.7 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/0.4894, allocations: 12 kB / 421.7 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.4899, allocations: 103.8 kB / 421.8 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.763e-05/0.4899, allocations: 19.95 kB / 421.8 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.49, allocations: 24 kB / 421.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.487e-05/0.49, allocations: 23.92 kB / 421.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.754e-05/0.49, allocations: 20.34 kB / 421.9 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.4914, allocations: 0.8892 MB / 422.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.4919, allocations: 223.3 kB / 423 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.4921, allocations: 35.94 kB / 423.1 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.4928, allocations: 23.98 kB / 423.1 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4929, allocations: 67.73 kB / 423.1 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.493, allocations: 28 kB / 423.2 MB, free: 6.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001865/0.4949, allocations: 0.9664 MB / 424.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.95e-07/0.4949, allocations: 3.938 kB / 424.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002563/0.4975, allocations: 489.9 kB / 424.6 MB, free: 5.051 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.0002229/0.4977, allocations: 138.9 kB / 424.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.5004, allocations: 1.249 MB / 426 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.461e-06/0.5004, allocations: 0.5 kB / 426 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.5009, allocations: 238.5 kB / 426.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.502, allocations: 178.4 kB / 426.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00839/0.5104, allocations: 4.502 MB / 430.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/0.5127, allocations: 1.737 MB / 432.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.5131, allocations: 119.4 kB / 432.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.751e-06/0.5131, allocations: 0 / 432.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.03742/0.5506, allocations: 19.89 MB / 452.7 MB, free: 8.781 MB / 378.7 MB