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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.226/2.226, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.775e-05, allocations: 0 / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2708, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.423, allocations: 101.3 MB / 459.4 MB, free: 9.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4233, allocations: 75.95 kB / 459.5 MB, free: 9.355 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.572/0.9953, allocations: 97.03 MB / 0.5434 GB, free: 24.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.846e-06/0.9953, allocations: 0 / 0.5434 GB, free: 24.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002294/0.9956, allocations: 99.98 kB / 0.5435 GB, free: 24.6 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: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.01607/1.012, allocations: 5.109 MB / 0.5485 GB, free: 19.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.012, allocations: 12.03 kB / 0.5485 GB, free: 19.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02304/1.035, allocations: 4.611 MB / 0.553 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/1.051, allocations: 6.049 MB / 0.559 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/1.052, allocations: 148 kB / 0.5591 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001912/1.054, allocations: 280.1 kB / 0.5594 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01456/1.068, allocations: 7.425 MB / 0.5666 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/1.094, allocations: 10.84 MB / 0.5772 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/1.094, allocations: 67.41 kB / 0.5773 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001336/1.096, allocations: 32 kB / 0.5773 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002457/1.098, allocations: 1.261 MB / 0.5785 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3726/1.471, allocations: 54.23 MB / 0.6315 GB, free: 71.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006636/1.477, allocations: 4.367 MB / 0.6357 GB, free: 70.72 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004363/1.482, allocations: 2.934 MB / 0.6386 GB, free: 70.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02054/1.502, allocations: 12.18 MB / 0.6505 GB, free: 68.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.502, allocations: 57.39 kB / 0.6506 GB, free: 68.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 6.203e-06/1.502, allocations: 0 / 0.6506 GB, free: 68.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.07894/1.581, allocations: 28.82 MB / 0.6787 GB, free: 61.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/1.582, allocations: 210.1 kB / 0.6789 GB, free: 61.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00582/1.587, allocations: 3.302 MB / 0.6821 GB, free: 60.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005269/1.588, allocations: 25.7 kB / 0.6822 GB, free: 60 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.59, allocations: 3.436 MB / 0.6855 GB, free: 57.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.591, allocations: 0.919 MB / 0.6864 GB, free: 56.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000569/1.592, allocations: 0 / 0.6864 GB, free: 56.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004104/1.592, allocations: 0.6091 MB / 0.687 GB, free: 56.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005204/1.597, allocations: 2.91 MB / 0.6898 GB, free: 55.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007401/1.605, allocations: 6.926 MB / 0.6966 GB, free: 48.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007683/1.613, allocations: 4.417 MB / 0.7009 GB, free: 46.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/1.613, allocations: 44 kB / 0.701 GB, free: 46.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02785/1.641, allocations: 11.52 MB / 0.7122 GB, free: 37.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.641, allocations: 69.56 kB / 0.7123 GB, free: 37.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/1.641, allocations: 150.3 kB / 0.7124 GB, free: 37.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/1.652, allocations: 3.167 MB / 0.7155 GB, free: 34.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/1.659, allocations: 1.603 MB / 0.7171 GB, free: 33.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/1.683, allocations: 13.83 MB / 0.7306 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007288/1.69, allocations: 349.2 kB / 0.7309 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/1.692, allocations: 418.1 kB / 0.7313 GB, free: 21.18 MB / 458.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.002499/1.695, allocations: 466.7 kB / 0.7318 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009676/1.696, allocations: 375.2 kB / 0.7321 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/1.713, allocations: 7.15 MB / 0.7391 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.615e-05/1.713, allocations: 26.47 kB / 0.7391 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-05/1.713, allocations: 13.81 kB / 0.7391 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-05/1.713, allocations: 10.64 kB / 0.7392 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03258/1.746, allocations: 13.91 MB / 0.7527 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/1.746, allocations: 0 / 0.7527 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/1.749, allocations: 387.2 kB / 0.7531 GB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01085/1.759, allocations: 2.842 MB / 0.7559 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005448/1.76, allocations: 7.75 kB / 0.7559 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02632/1.786, allocations: 12.34 MB / 0.7679 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/1.786, allocations: 7.938 kB / 0.768 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02703/1.813, allocations: 11.1 MB / 0.7788 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002895/1.816, allocations: 0.8671 MB / 0.7796 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009966/1.817, allocations: 0 / 0.7796 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.821, allocations: 167.7 kB / 0.7798 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007534/1.821, allocations: 153.7 kB / 0.7799 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003118/1.822, allocations: 64 kB / 0.78 GB, free: 7.336 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005269/1.827, allocations: 2.198 MB / 0.7822 GB, free: 5.125 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.206e-06/1.827, allocations: 0 / 0.7822 GB, free: 5.125 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008151/1.835, allocations: 1.133 MB / 0.7833 GB, free: 3.996 MB / 490.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.0008301/1.836, allocations: 146.9 kB / 0.7834 GB, free: 3.855 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01702/1.853, allocations: 7.449 MB / 0.7907 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.853, allocations: 0 / 0.7907 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00686/1.86, allocations: 2.96 MB / 0.7936 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/1.863, allocations: 371.8 kB / 0.7939 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/1.89, allocations: 10.18 MB / 0.8039 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00859/1.899, allocations: 3.767 MB / 0.8075 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/1.901, allocations: 323.4 kB / 0.8078 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of SimCode: time 4.377e-06/1.901, allocations: 0 / 0.8078 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.3994/2.3, allocations: 85.41 MB / 0.8913 GB, free: 129.4 MB / 0.5105 GB