Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 234.9 MB / 251.1 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004352, allocations: 12 kB / 314.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.369, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.5527, allocations: 99.53 MB / 469.3 MB, free: 9.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5531, allocations: 87.89 kB / 469.4 MB, free: 9.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6295/1.183, allocations: 80.97 MB / 0.5375 GB, free: 97.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.183, allocations: 0 / 0.5375 GB, free: 97.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002557/1.183, allocations: 79.94 kB / 0.5376 GB, free: 96.93 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01553/1.198, allocations: 4.011 MB / 0.5415 GB, free: 92.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.199, allocations: 8.031 kB / 0.5415 GB, free: 92.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03026/1.229, allocations: 4.284 MB / 0.5457 GB, free: 88.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/1.245, allocations: 4.527 MB / 0.5501 GB, free: 84.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/1.246, allocations: 289.6 kB / 0.5504 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/1.248, allocations: 376.7 kB / 0.5507 GB, free: 83.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/1.273, allocations: 9.651 MB / 0.5601 GB, free: 72.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/1.274, allocations: 71.39 kB / 0.5602 GB, free: 72.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/1.275, allocations: 183.6 kB / 0.5604 GB, free: 72.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001855/1.277, allocations: 0.943 MB / 0.5613 GB, free: 71.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02237/1.299, allocations: 8.124 MB / 0.5692 GB, free: 63.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05871/1.358, allocations: 43.69 MB / 0.6119 GB, free: 18.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/1.371, allocations: 3.677 MB / 0.6155 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/1.371, allocations: 332.3 kB / 0.6158 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/1.371, allocations: 51.5 kB / 0.6159 GB, free: 14.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=156): time 2.773e-05/1.371, allocations: 0 / 0.6159 GB, free: 14.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=177): time 0.066/1.437, allocations: 15.63 MB / 0.6311 GB, free: 14.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/1.438, allocations: 175.2 kB / 0.6313 GB, free: 14.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009415/1.447, allocations: 3.604 MB / 0.6348 GB, free: 10.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005074/1.448, allocations: 57.7 kB / 0.6349 GB, free: 10.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003093/1.451, allocations: 2.756 MB / 0.6376 GB, free: 7.863 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001331/1.452, allocations: 0.6826 MB / 0.6382 GB, free: 7.172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007793/1.453, allocations: 112 kB / 0.6383 GB, free: 7.062 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000525/1.453, allocations: 0.5383 MB / 0.6389 GB, free: 6.516 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005868/1.459, allocations: 2.127 MB / 0.6409 GB, free: 4.379 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008826/1.468, allocations: 5.453 MB / 0.6463 GB, free: 13.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008329/1.477, allocations: 3.348 MB / 0.6495 GB, free: 9.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001239/1.477, allocations: 36 kB / 0.6496 GB, free: 9.875 MB / 458.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02413/1.501, allocations: 7.99 MB / 0.6574 GB, free: 1.871 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.501, allocations: 56 kB / 0.6574 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/1.501, allocations: 120 kB / 0.6575 GB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003879/1.505, allocations: 0.9146 MB / 0.6584 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00814/1.513, allocations: 1.283 MB / 0.6597 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/1.527, allocations: 6.268 MB / 0.6658 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005865/1.533, allocations: 311.5 kB / 0.6661 GB, free: 8.785 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008043/1.534, allocations: 344 kB / 0.6664 GB, free: 8.449 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 535 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 666 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004776/1.539, allocations: 1.957 MB / 0.6683 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008753/1.54, allocations: 323.8 kB / 0.6686 GB, free: 6.156 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.55, allocations: 3.438 MB / 0.672 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.766e-05/1.55, allocations: 20 kB / 0.672 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.55, allocations: 4 kB / 0.672 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/1.55, allocations: 11.95 kB / 0.672 GB, free: 2.668 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3571/1.907, allocations: 8.458 MB / 0.6803 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.855e-05/1.907, allocations: 0 / 0.6803 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.91, allocations: 286.1 kB / 0.6806 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003183/1.913, allocations: 0.7313 MB / 0.6813 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004282/1.914, allocations: 36.5 kB / 0.6813 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01655/1.93, allocations: 5.794 MB / 0.687 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.93, allocations: 3.25 kB / 0.687 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/1.951, allocations: 6.178 MB / 0.693 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/1.954, allocations: 0.6654 MB / 0.6937 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/1.956, allocations: 30.12 kB / 0.6937 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005026/1.961, allocations: 99.28 kB / 0.6938 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000948/1.962, allocations: 98.84 kB / 0.6939 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003661/1.962, allocations: 47.3 kB / 0.6939 GB, free: 125.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008452/1.971, allocations: 2.249 MB / 0.6961 GB, free: 124.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.971, allocations: 0 / 0.6961 GB, free: 124.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006866/1.978, allocations: 0.9348 MB / 0.697 GB, free: 124.6 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 (137): * Single equations (assignments): 133 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006876/1.978, allocations: 169 kB / 0.6972 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01184/1.99, allocations: 5.154 MB / 0.7022 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.99, allocations: 2.312 kB / 0.7022 GB, free: 122.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005158/1.996, allocations: 1.885 MB / 0.7041 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.999, allocations: 373.7 kB / 0.7044 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02469/2.023, allocations: 10.74 MB / 0.7149 GB, free: 116.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007039/2.031, allocations: 3.14 MB / 0.718 GB, free: 115.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002433/2.033, allocations: 270.4 kB / 0.7183 GB, free: 115.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.412e-06/2.033, allocations: 4 kB / 0.7183 GB, free: 115.3 MB / 474.7 MB Notification: Performance of Templates: time 0.1939/2.227, allocations: 69.02 MB / 0.7857 GB, free: 55.75 MB / 474.7 MB