Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004576/0.00458, allocations: 360 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.592/4.592, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003591/0.003591, allocations: 228.3 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5159/0.5159, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006313/0.0006315, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1082, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.508/0.6162, allocations: 99.54 MB / 0.7773 GB, free: 2.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.6166, allocations: 87.94 kB / 0.7774 GB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3847/1.001, allocations: 80.03 MB / 0.8555 GB, free: 9.566 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.596e-06/1.001, allocations: 0 / 0.8555 GB, free: 9.566 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002851/1.002, allocations: 68 kB / 0.8556 GB, free: 9.5 MB / 442.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.01963/1.021, allocations: 3.912 MB / 0.8594 GB, free: 5.523 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.021, allocations: 8.031 kB / 0.8594 GB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02931/1.051, allocations: 3.458 MB / 0.8628 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/1.063, allocations: 3.406 MB / 0.8661 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/1.063, allocations: 287.8 kB / 0.8664 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/1.066, allocations: 391.8 kB / 0.8668 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03068/1.096, allocations: 9.564 MB / 0.8761 GB, free: 3.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002914/1.097, allocations: 59.47 kB / 0.8762 GB, free: 3.371 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00195/1.099, allocations: 183.9 kB / 0.8763 GB, free: 3.191 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/1.101, allocations: 0.9472 MB / 0.8773 GB, free: 2.242 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02554/1.127, allocations: 8.046 MB / 0.8851 GB, free: 10.17 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4145/1.541, allocations: 43.65 MB / 0.9278 GB, free: 79.01 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/1.555, allocations: 3.6 MB / 0.9313 GB, free: 78.35 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004136/1.559, allocations: 1.966 MB / 0.9332 GB, free: 78.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/1.56, allocations: 341.4 kB / 0.9335 GB, free: 78.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.56, allocations: 49.94 kB / 0.9336 GB, free: 78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=156): time 6.462e-06/1.56, allocations: 0 / 0.9336 GB, free: 78 MB / 474.7 MB Notification: Performance of matching and sorting (n=177): time 0.06559/1.625, allocations: 15.03 MB / 0.9482 GB, free: 75.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.821e-05/1.626, allocations: 169.6 kB / 0.9484 GB, free: 75.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008593/1.634, allocations: 3.606 MB / 0.9519 GB, free: 74.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000545/1.635, allocations: 49.73 kB / 0.952 GB, free: 74.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002842/1.638, allocations: 2.825 MB / 0.9547 GB, free: 73.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001205/1.639, allocations: 0.6709 MB / 0.9554 GB, free: 73.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007795/1.64, allocations: 110.5 kB / 0.9555 GB, free: 73.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004356/1.64, allocations: 0.5411 MB / 0.956 GB, free: 72.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005505/1.646, allocations: 2.123 MB / 0.9581 GB, free: 72.53 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00786/1.654, allocations: 5.459 MB / 0.9634 GB, free: 67.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00766/1.661, allocations: 3.344 MB / 0.9667 GB, free: 66.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.662, allocations: 32.69 kB / 0.9667 GB, free: 66.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0223/1.684, allocations: 8.1 MB / 0.9746 GB, free: 63.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.684, allocations: 56.06 kB / 0.9747 GB, free: 63.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.684, allocations: 117.7 kB / 0.9748 GB, free: 63.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004644/1.689, allocations: 0.9092 MB / 0.9757 GB, free: 63.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008119/1.697, allocations: 1.276 MB / 0.9769 GB, free: 63.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.709, allocations: 6.112 MB / 0.9829 GB, free: 59.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006351/1.715, allocations: 320.4 kB / 0.9832 GB, free: 59.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.716, allocations: 341.1 kB / 0.9835 GB, free: 59.59 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.005837/1.722, allocations: 1.961 MB / 0.9854 GB, free: 58.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.723, allocations: 313.9 kB / 0.9857 GB, free: 58.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.734, allocations: 3.432 MB / 0.9891 GB, free: 57.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.21e-05/1.734, allocations: 27.02 kB / 0.9891 GB, free: 57.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/1.734, allocations: 3.875 kB / 0.9891 GB, free: 57.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.41e-05/1.734, allocations: 10.98 kB / 0.9891 GB, free: 57.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03432/1.769, allocations: 8.472 MB / 0.9974 GB, free: 53.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-05/1.769, allocations: 0 / 0.9974 GB, free: 53.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004598/1.773, allocations: 287.6 kB / 0.9977 GB, free: 53.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005412/1.779, allocations: 0.7316 MB / 0.9984 GB, free: 53.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006538/1.779, allocations: 33.11 kB / 0.9984 GB, free: 53.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/1.798, allocations: 5.634 MB / 1.004 GB, free: 50.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.798, allocations: 4 kB / 1.004 GB, free: 50.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02318/1.821, allocations: 6.185 MB / 1.01 GB, free: 44.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003239/1.824, allocations: 0.6538 MB / 1.011 GB, free: 44.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001548/1.826, allocations: 31.95 kB / 1.011 GB, free: 44.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00464/1.831, allocations: 104 kB / 1.011 GB, free: 44.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007581/1.831, allocations: 94.66 kB / 1.011 GB, free: 43.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003397/1.832, allocations: 48.14 kB / 1.011 GB, free: 43.92 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008071/1.84, allocations: 2.246 MB / 1.013 GB, free: 42.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.283e-06/1.84, allocations: 0 / 1.013 GB, free: 42.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01042/1.85, allocations: 0.9334 MB / 1.014 GB, free: 41.15 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.0009081/1.851, allocations: 167.1 kB / 1.014 GB, free: 40.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01645/1.868, allocations: 5.162 MB / 1.019 GB, free: 36.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.868, allocations: 0 / 1.019 GB, free: 36.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004574/1.872, allocations: 1.899 MB / 1.021 GB, free: 34.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.876, allocations: 385.5 kB / 1.021 GB, free: 34.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/1.897, allocations: 10.29 MB / 1.031 GB, free: 25.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005548/1.903, allocations: 3.136 MB / 1.035 GB, free: 22.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007598/1.911, allocations: 1.807 MB / 1.036 GB, free: 21.47 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.912, allocations: 237.1 kB / 1.037 GB, free: 21.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/1.912, allocations: 0 / 1.037 GB, free: 21.25 MB / 474.7 MB Notification: Performance of Templates: time 0.1012/2.013, allocations: 34.54 MB / 1.07 GB, free: 5.188 MB / 490.7 MB