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.JointUPS2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.23e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2637, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.4086, allocations: 94.52 MB / 414.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4089, allocations: 71.97 kB / 414.6 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5563/0.9652, allocations: 96.91 MB / 0.4995 GB, free: 61.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.9653, allocations: 0 / 0.4995 GB, free: 61.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001981/0.9655, allocations: 91.94 kB / 0.4996 GB, free: 61.36 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.01466/0.9802, allocations: 5.124 MB / 0.5046 GB, free: 56.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9802, allocations: 8.031 kB / 0.5046 GB, free: 56.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02272/1.003, allocations: 4.608 MB / 0.5091 GB, free: 51.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/1.019, allocations: 6.05 MB / 0.515 GB, free: 45.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/1.02, allocations: 148 kB / 0.5152 GB, free: 45.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/1.021, allocations: 279.8 kB / 0.5154 GB, free: 45.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01713/1.038, allocations: 7.409 MB / 0.5227 GB, free: 37.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.037/1.075, allocations: 10.84 MB / 0.5333 GB, free: 25.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003827/1.076, allocations: 63.41 kB / 0.5333 GB, free: 25.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001572/1.077, allocations: 39.98 kB / 0.5334 GB, free: 25.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003708/1.081, allocations: 1.257 MB / 0.5346 GB, free: 24.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09224/1.173, allocations: 54.21 MB / 0.5875 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2418/1.415, allocations: 4.363 MB / 0.5918 GB, free: 93.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004346/1.42, allocations: 2.937 MB / 0.5947 GB, free: 93.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02008/1.44, allocations: 12.16 MB / 0.6065 GB, free: 90.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.44, allocations: 66.89 kB / 0.6066 GB, free: 90.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 6.401e-06/1.44, allocations: 0 / 0.6066 GB, free: 90.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.07748/1.517, allocations: 28.82 MB / 0.6347 GB, free: 81.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/1.518, allocations: 206.4 kB / 0.6349 GB, free: 81.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005336/1.523, allocations: 3.301 MB / 0.6382 GB, free: 80.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004969/1.523, allocations: 25.7 kB / 0.6382 GB, free: 80.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/1.525, allocations: 3.426 MB / 0.6415 GB, free: 77.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009812/1.526, allocations: 0.928 MB / 0.6424 GB, free: 77.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/1.527, allocations: 0 / 0.6424 GB, free: 77.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003909/1.527, allocations: 0.6069 MB / 0.643 GB, free: 76.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004775/1.532, allocations: 2.908 MB / 0.6459 GB, free: 75.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006638/1.539, allocations: 6.936 MB / 0.6526 GB, free: 67.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007327/1.546, allocations: 4.412 MB / 0.657 GB, free: 64.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/1.546, allocations: 40 kB / 0.657 GB, free: 64.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02737/1.573, allocations: 11.53 MB / 0.6683 GB, free: 55.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-05/1.574, allocations: 65.72 kB / 0.6683 GB, free: 54.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/1.574, allocations: 144.8 kB / 0.6685 GB, free: 54.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01125/1.585, allocations: 3.172 MB / 0.6716 GB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006263/1.591, allocations: 1.602 MB / 0.6731 GB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02384/1.615, allocations: 13.82 MB / 0.6866 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006778/1.622, allocations: 353.5 kB / 0.6869 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009785/1.623, allocations: 421.1 kB / 0.6873 GB, free: 38.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (836): * Single equations (assignments): 832 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001141/1.624, allocations: 470.4 kB / 0.6878 GB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007566/1.625, allocations: 371.2 kB / 0.6882 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/1.642, allocations: 7.153 MB / 0.6951 GB, free: 32.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.855e-05/1.642, allocations: 31.94 kB / 0.6952 GB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/1.642, allocations: 8 kB / 0.6952 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.48e-05/1.642, allocations: 11.39 kB / 0.6952 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03095/1.673, allocations: 13.91 MB / 0.7088 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.673, allocations: 0 / 0.7088 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002382/1.675, allocations: 379.5 kB / 0.7091 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01101/1.686, allocations: 2.845 MB / 0.7119 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005352/1.687, allocations: 11.98 kB / 0.7119 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/1.709, allocations: 12.34 MB / 0.724 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.711e-06/1.709, allocations: 4 kB / 0.724 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02577/1.735, allocations: 11.1 MB / 0.7348 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002886/1.738, allocations: 0.8671 MB / 0.7357 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.739, allocations: 3.875 kB / 0.7357 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/1.742, allocations: 167.7 kB / 0.7358 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000835/1.743, allocations: 145.8 kB / 0.736 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00031/1.743, allocations: 60 kB / 0.736 GB, free: 6.434 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005079/1.748, allocations: 2.206 MB / 0.7382 GB, free: 4.215 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.327e-06/1.748, allocations: 0 / 0.7382 GB, free: 4.215 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00817/1.757, allocations: 1.135 MB / 0.7393 GB, free: 3.082 MB / 426.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 () * 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.0007393/1.757, allocations: 148.5 kB / 0.7394 GB, free: 2.938 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2534/2.011, allocations: 7.449 MB / 0.7467 GB, free: 120.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.805e-06/2.011, allocations: 0 / 0.7467 GB, free: 120.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005864/2.017, allocations: 2.96 MB / 0.7496 GB, free: 120.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/2.019, allocations: 370.2 kB / 0.75 GB, free: 120.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/2.041, allocations: 10.17 MB / 0.7599 GB, free: 118.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006502/2.048, allocations: 3.768 MB / 0.7636 GB, free: 117.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/2.049, allocations: 318.2 kB / 0.7639 GB, free: 117.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.98e-06/2.049, allocations: 0 / 0.7639 GB, free: 117.8 MB / 442.7 MB Notification: Performance of Templates: time 0.1142/2.163, allocations: 85.36 MB / 0.8472 GB, free: 61.5 MB / 442.7 MB