Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.14/2.14, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.000438, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.276, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.05241/0.3284, allocations: 35.59 MB / 404.8 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02341/0.3519, allocations: 9.212 MB / 414 MB, free: 13.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006611/0.3586, allocations: 175.6 kB / 414.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005575/0.3642, allocations: 1.761 MB / 415.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0172/0.3814, allocations: 5.232 MB / 421.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.3848, allocations: 0.8503 MB / 422 MB, free: 5.742 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02162/0.4065, allocations: 10.19 MB / 432.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007563/0.4141, allocations: 4.096 MB / 436.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.4164, allocations: 1.234 MB / 437.5 MB, free: 6.145 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/0.4195, allocations: 1.698 MB / 439.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007296/0.4203, allocations: 168 kB / 439.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.4231, allocations: 1.112 MB / 440.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.426, allocations: 1.824 MB / 442.3 MB, free: 1.336 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.4276, allocations: 0.9323 MB / 443.3 MB, free: 404 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009918/0.4375, allocations: 6.345 MB / 449.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.385e-06/0.4376, allocations: 0 / 449.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.769e-06/0.4376, allocations: 0 / 449.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001731/0.4378, allocations: 0 / 449.6 MB, free: 10.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.01574/0.4535, allocations: 5.27 MB / 454.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4536, allocations: 8.031 kB / 454.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1157/0.5693, allocations: 8.471 MB / 463.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.5821, allocations: 3.608 MB / 467 MB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.5824, allocations: 254.4 kB / 467.2 MB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.5836, allocations: 351.6 kB / 467.5 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3183/0.9019, allocations: 12.53 MB / 480.1 MB, free: 87.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.9022, allocations: 55.02 kB / 480.1 MB, free: 87.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007523/0.9029, allocations: 163.1 kB / 480.3 MB, free: 87.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004042/0.907, allocations: 2.263 MB / 482.6 MB, free: 86.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02768/0.9347, allocations: 10.87 MB / 493.4 MB, free: 82.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06087/0.9956, allocations: 48.86 MB / 0.5296 GB, free: 32.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01863/1.014, allocations: 5.943 MB / 0.5354 GB, free: 26.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02158/1.036, allocations: 13.15 MB / 0.5482 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.036, allocations: 54.59 kB / 0.5483 GB, free: 13.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=193): time 6.41e-06/1.036, allocations: 0 / 0.5483 GB, free: 13.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=254): time 0.1521/1.188, allocations: 39.65 MB / 0.587 GB, free: 5.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/1.188, allocations: 205.9 kB / 0.5872 GB, free: 5.133 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009456/1.198, allocations: 4.595 MB / 0.5917 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005891/1.198, allocations: 61.7 kB / 0.5917 GB, free: 460 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003812/1.202, allocations: 3.336 MB / 0.595 GB, free: 13.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001591/1.204, allocations: 0.9464 MB / 0.5959 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005736/1.204, allocations: 132 kB / 0.596 GB, free: 12.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005696/1.205, allocations: 0.5959 MB / 0.5966 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007002/1.212, allocations: 3.086 MB / 0.5996 GB, free: 8.406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/1.223, allocations: 6.996 MB / 0.6065 GB, free: 15.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009608/1.233, allocations: 4.525 MB / 0.6109 GB, free: 10.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/1.233, allocations: 40 kB / 0.6109 GB, free: 10.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.03399/1.267, allocations: 12.44 MB / 0.6231 GB, free: 14.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.267, allocations: 64 kB / 0.6231 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001957/1.267, allocations: 136 kB / 0.6233 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01271/1.28, allocations: 3.268 MB / 0.6265 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006947/1.287, allocations: 1.532 MB / 0.6279 GB, free: 9.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2963/1.583, allocations: 16.07 MB / 0.6436 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00654/1.59, allocations: 426.3 kB / 0.644 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/1.591, allocations: 403.4 kB / 0.6444 GB, free: 145.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 623 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (805): * Single equations (assignments): 801 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00534/1.597, allocations: 2.354 MB / 0.6467 GB, free: 144.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009664/1.598, allocations: 400.6 kB / 0.6471 GB, free: 144.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01979/1.617, allocations: 7.51 MB / 0.6544 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.356e-05/1.617, allocations: 27.39 kB / 0.6545 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.359e-05/1.617, allocations: 11.39 kB / 0.6545 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-05/1.618, allocations: 15.03 kB / 0.6545 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03499/1.653, allocations: 15.21 MB / 0.6693 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/1.653, allocations: 3.812 kB / 0.6694 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/1.655, allocations: 380.6 kB / 0.6697 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01191/1.667, allocations: 2.935 MB / 0.6726 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005177/1.668, allocations: 40 kB / 0.6726 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02443/1.692, allocations: 14.3 MB / 0.6866 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.877e-06/1.692, allocations: 3 kB / 0.6866 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02329/1.715, allocations: 11.46 MB / 0.6978 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/1.718, allocations: 0.932 MB / 0.6987 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.719, allocations: 37.17 kB / 0.6987 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/1.722, allocations: 199.6 kB / 0.6989 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008059/1.723, allocations: 145.8 kB / 0.6991 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002924/1.723, allocations: 61.16 kB / 0.6991 GB, free: 108.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005454/1.729, allocations: 2.918 MB / 0.702 GB, free: 105.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.741e-06/1.729, allocations: 0 / 0.702 GB, free: 105.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006982/1.736, allocations: 1.33 MB / 0.7033 GB, free: 103.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008444/1.737, allocations: 200.2 kB / 0.7035 GB, free: 103.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01439/1.751, allocations: 7.773 MB / 0.711 GB, free: 95.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.392e-06/1.751, allocations: 0 / 0.711 GB, free: 95.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00618/1.757, allocations: 3.118 MB / 0.7141 GB, free: 92.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/1.76, allocations: 470.4 kB / 0.7145 GB, free: 92.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02414/1.784, allocations: 14.16 MB / 0.7284 GB, free: 78.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006039/1.79, allocations: 3.759 MB / 0.732 GB, free: 74.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.792, allocations: 331.4 kB / 0.7324 GB, free: 74.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.711e-06/1.792, allocations: 4 kB / 0.7324 GB, free: 74.21 MB / 474.7 MB Notification: Performance of Templates: time 0.3923/2.185, allocations: 88.61 MB / 0.8189 GB, free: 158.1 MB / 490.7 MB