Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.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.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_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002846/0.002851, allocations: 364 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 3.944/3.944, allocations: 388.9 MB / 405.6 MB, free: 10.31 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.003597/0.003597, allocations: 232.7 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.588/0.588, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004457, allocations: 12 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.5793, allocations: 102.1 MB / 0.7798 GB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5796, allocations: 81.95 kB / 0.7799 GB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4291/1.009, allocations: 98.14 MB / 0.8757 GB, free: 4.754 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.867e-06/1.009, allocations: 0 / 0.8757 GB, free: 4.754 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004439/1.009, allocations: 88 kB / 0.8758 GB, free: 4.668 MB / 458.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.03217/1.041, allocations: 5.263 MB / 0.8809 GB, free: 15.33 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/1.042, allocations: 12.02 kB / 0.8809 GB, free: 15.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04349/1.085, allocations: 3.757 MB / 0.8846 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02366/1.109, allocations: 4.852 MB / 0.8894 GB, free: 6.633 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007322/1.11, allocations: 349 kB / 0.8897 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003648/1.113, allocations: 463.8 kB / 0.8901 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5027/1.616, allocations: 12.58 MB / 0.9024 GB, free: 98.08 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006411/1.617, allocations: 69.89 kB / 0.9025 GB, free: 98.08 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003368/1.62, allocations: 225 kB / 0.9027 GB, free: 98.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004815/1.625, allocations: 1.26 MB / 0.9039 GB, free: 98.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05456/1.68, allocations: 10.78 MB / 0.9144 GB, free: 98.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/1.802, allocations: 55.66 MB / 0.9688 GB, free: 62.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03658/1.839, allocations: 5.869 MB / 0.9745 GB, free: 60.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008686/1.847, allocations: 3.05 MB / 0.9775 GB, free: 59.55 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04257/1.89, allocations: 12.98 MB / 0.9902 GB, free: 52.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.869e-05/1.89, allocations: 59.34 kB / 0.9902 GB, free: 52.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 7.224e-06/1.89, allocations: 0 / 0.9902 GB, free: 52.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.2603/2.15, allocations: 35.9 MB / 1.025 GB, free: 33.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/2.151, allocations: 213.6 kB / 1.026 GB, free: 33.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0163/2.167, allocations: 4.363 MB / 1.03 GB, free: 30.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009884/2.168, allocations: 61.7 kB / 1.03 GB, free: 30.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004668/2.173, allocations: 3.441 MB / 1.033 GB, free: 26.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00234/2.175, allocations: 0.9468 MB / 1.034 GB, free: 26.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/2.177, allocations: 132 kB / 1.034 GB, free: 26.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001018/2.178, allocations: 0.5873 MB / 1.035 GB, free: 25.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01252/2.191, allocations: 3.077 MB / 1.038 GB, free: 22.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01582/2.206, allocations: 6.993 MB / 1.045 GB, free: 14.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01537/2.222, allocations: 4.516 MB / 1.049 GB, free: 10.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/2.222, allocations: 40 kB / 1.049 GB, free: 9.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.06016/2.282, allocations: 12.53 MB / 1.061 GB, free: 13.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/2.283, allocations: 64 kB / 1.061 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003472/2.283, allocations: 136 kB / 1.062 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01975/2.303, allocations: 3.202 MB / 1.065 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/2.314, allocations: 1.552 MB / 1.066 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4061/2.72, allocations: 14.97 MB / 1.081 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/2.731, allocations: 468.3 kB / 1.081 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/2.733, allocations: 407.2 kB / 1.082 GB, free: 101.6 MB / 490.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.007341/2.74, allocations: 2.35 MB / 1.084 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.742, allocations: 403.8 kB / 1.084 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02937/2.771, allocations: 7.394 MB / 1.092 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.647e-05/2.771, allocations: 27.22 kB / 1.092 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.694e-05/2.771, allocations: 13.69 kB / 1.092 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-05/2.771, allocations: 12.28 kB / 1.092 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04815/2.819, allocations: 15 MB / 1.106 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-05/2.82, allocations: 2 kB / 1.106 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003855/2.823, allocations: 385.1 kB / 1.107 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01545/2.839, allocations: 2.858 MB / 1.109 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007033/2.84, allocations: 41 kB / 1.109 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03398/2.874, allocations: 13.3 MB / 1.122 GB, free: 94.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/2.874, allocations: 6.469 kB / 1.122 GB, free: 94.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03285/2.907, allocations: 11.29 MB / 1.133 GB, free: 90.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003194/2.91, allocations: 0.9144 MB / 1.134 GB, free: 90.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001607/2.911, allocations: 43.64 kB / 1.134 GB, free: 90.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004658/2.916, allocations: 205.2 kB / 1.135 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/2.917, allocations: 143.5 kB / 1.135 GB, free: 90.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004347/2.918, allocations: 63.42 kB / 1.135 GB, free: 90.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007523/2.925, allocations: 2.735 MB / 1.137 GB, free: 89.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.72e-07/2.925, allocations: 3.25 kB / 1.137 GB, free: 89.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009/2.934, allocations: 1.31 MB / 1.139 GB, free: 89.15 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 () * 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.001109/2.936, allocations: 175.3 kB / 1.139 GB, free: 89.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0194/2.955, allocations: 7.772 MB / 1.146 GB, free: 86.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/2.955, allocations: 0 / 1.146 GB, free: 86.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008019/2.963, allocations: 3.062 MB / 1.149 GB, free: 85.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005992/2.969, allocations: 0.4967 MB / 1.15 GB, free: 85.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03449/3.004, allocations: 13.6 MB / 1.163 GB, free: 78.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01304/3.017, allocations: 3.769 MB / 1.167 GB, free: 76.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01479/3.032, allocations: 2.174 MB / 1.169 GB, free: 75.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002505/3.034, allocations: 279.6 kB / 1.169 GB, free: 75.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/3.034, allocations: 0 / 1.169 GB, free: 75.21 MB / 490.7 MB Notification: Performance of Templates: time 0.1858/3.22, allocations: 53.78 MB / 1.222 GB, free: 28.14 MB / 490.7 MB