Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004357/0.004364, allocations: 349.2 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.641/3.641, allocations: 341.5 MB / 358.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003635/0.003635, allocations: 226.1 kB / 397.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4797/0.4797, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006721/0.0006723, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.09165, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4095/0.5012, allocations: 95.27 MB / 0.6998 GB, free: 17.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.5015, allocations: 75.97 kB / 0.6998 GB, free: 17.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6891/1.191, allocations: 98.03 MB / 0.7956 GB, free: 88.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.191, allocations: 0 / 0.7956 GB, free: 88.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003035/1.191, allocations: 95.81 kB / 0.7957 GB, free: 88.32 MB / 410.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.02206/1.213, allocations: 5.249 MB / 0.8008 GB, free: 86.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.213, allocations: 9.375 kB / 0.8008 GB, free: 86.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02865/1.242, allocations: 3.757 MB / 0.8045 GB, free: 85.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/1.257, allocations: 4.856 MB / 0.8092 GB, free: 85.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004548/1.258, allocations: 349.8 kB / 0.8095 GB, free: 85.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/1.26, allocations: 461 kB / 0.81 GB, free: 85.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03752/1.298, allocations: 12.57 MB / 0.8223 GB, free: 79.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002883/1.298, allocations: 69.56 kB / 0.8223 GB, free: 79.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/1.3, allocations: 219 kB / 0.8225 GB, free: 79.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002707/1.303, allocations: 1.26 MB / 0.8238 GB, free: 78.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03305/1.336, allocations: 10.77 MB / 0.8343 GB, free: 74.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08455/1.42, allocations: 55.63 MB / 0.8886 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02495/1.446, allocations: 5.863 MB / 0.8943 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006271/1.452, allocations: 3.058 MB / 0.8973 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02931/1.481, allocations: 12.98 MB / 0.91 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.554e-05/1.481, allocations: 59.86 kB / 0.9101 GB, free: 11.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 5.851e-06/1.481, allocations: 0 / 0.9101 GB, free: 11.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.502/1.983, allocations: 35.89 MB / 0.9451 GB, free: 93.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/1.983, allocations: 208.2 kB / 0.9453 GB, free: 93.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.994, allocations: 4.367 MB / 0.9496 GB, free: 92.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007564/1.995, allocations: 61.97 kB / 0.9496 GB, free: 92.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002979/1.998, allocations: 3.434 MB / 0.953 GB, free: 90.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.999, allocations: 0.9436 MB / 0.9539 GB, free: 90.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008827/2, allocations: 136.3 kB / 0.954 GB, free: 90.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000462/2.001, allocations: 0.5924 MB / 0.9546 GB, free: 89.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007797/2.009, allocations: 3.078 MB / 0.9576 GB, free: 88.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/2.02, allocations: 6.993 MB / 0.9644 GB, free: 82.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/2.03, allocations: 4.512 MB / 0.9689 GB, free: 80.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/2.03, allocations: 38.72 kB / 0.9689 GB, free: 80.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03969/2.07, allocations: 12.54 MB / 0.9811 GB, free: 76.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/2.07, allocations: 63.03 kB / 0.9812 GB, free: 76.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/2.07, allocations: 142.4 kB / 0.9813 GB, free: 76.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01602/2.086, allocations: 3.202 MB / 0.9845 GB, free: 76.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009867/2.096, allocations: 1.55 MB / 0.986 GB, free: 75.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03478/2.131, allocations: 14.98 MB / 1.001 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/2.142, allocations: 471.2 kB / 1.001 GB, free: 67.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/2.144, allocations: 406 kB / 1.001 GB, free: 66.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * 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 (806): * Single equations (assignments): 802 * 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.00891/2.153, allocations: 2.347 MB / 1.004 GB, free: 64.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/2.155, allocations: 402.8 kB / 1.004 GB, free: 64.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03469/2.19, allocations: 7.394 MB / 1.011 GB, free: 58.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-05/2.19, allocations: 28 kB / 1.011 GB, free: 58.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.305e-05/2.19, allocations: 12 kB / 1.011 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.509e-05/2.19, allocations: 10.27 kB / 1.011 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05208/2.242, allocations: 14.99 MB / 1.026 GB, free: 46.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/2.242, allocations: 0 / 1.026 GB, free: 46.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003729/2.246, allocations: 383.5 kB / 1.026 GB, free: 45.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01545/2.261, allocations: 2.864 MB / 1.029 GB, free: 42.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007317/2.262, allocations: 43.98 kB / 1.029 GB, free: 42.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03201/2.294, allocations: 13.3 MB / 1.042 GB, free: 29.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/2.294, allocations: 3.125 kB / 1.042 GB, free: 29.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0319/2.326, allocations: 11.29 MB / 1.053 GB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003317/2.329, allocations: 0.9135 MB / 1.054 GB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/2.331, allocations: 36.7 kB / 1.054 GB, free: 17.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004552/2.335, allocations: 205 kB / 1.054 GB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/2.337, allocations: 149.7 kB / 1.055 GB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003734/2.337, allocations: 60 kB / 1.055 GB, free: 16.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007413/2.344, allocations: 2.735 MB / 1.057 GB, free: 13.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.344, allocations: 4 kB / 1.057 GB, free: 13.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008754/2.353, allocations: 1.307 MB / 1.059 GB, free: 12.68 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 () * 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.00104/2.354, allocations: 187.9 kB / 1.059 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01945/2.374, allocations: 7.766 MB / 1.066 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/2.374, allocations: 0 / 1.066 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00792/2.382, allocations: 3.071 MB / 1.069 GB, free: 1.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00586/2.388, allocations: 499.6 kB / 1.07 GB, free: 1.199 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3362/2.724, allocations: 13.57 MB / 1.083 GB, free: 100.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0103/2.734, allocations: 3.769 MB / 1.087 GB, free: 99.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01135/2.746, allocations: 2.173 MB / 1.089 GB, free: 99.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002133/2.748, allocations: 278.9 kB / 1.089 GB, free: 99.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/2.748, allocations: 3.938 kB / 1.089 GB, free: 99.31 MB / 442.7 MB Notification: Performance of Templates: time 0.1478/2.896, allocations: 53.79 MB / 1.142 GB, free: 90 MB / 442.7 MB