Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002801/0.002806, allocations: 361.9 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.801/3.801, allocations: 388.9 MB / 405.6 MB, free: 9.555 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.003539/0.00354, allocations: 228.5 kB / 451 MB, free: 145 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.5758/0.5758, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004763, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.09997, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/0.5999, allocations: 108.8 MB / 0.7864 GB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/0.6003, allocations: 85.39 kB / 0.7865 GB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9274/1.528, allocations: 141.2 MB / 0.9243 GB, free: 96.24 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.528, allocations: 0 / 0.9243 GB, free: 96.24 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005276/1.528, allocations: 129.5 kB / 0.9244 GB, free: 96.24 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2163 * Number of variables: 2163 Notification: Performance of Generate backend data structure: time 0.03026/1.559, allocations: 7.138 MB / 0.9314 GB, free: 93.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.559, allocations: 10.77 kB / 0.9314 GB, free: 93.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05253/1.611, allocations: 6.862 MB / 0.9381 GB, free: 93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03618/1.647, allocations: 7.802 MB / 0.9457 GB, free: 92.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000912/1.648, allocations: 482.8 kB / 0.9462 GB, free: 92.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00468/1.653, allocations: 0.6343 MB / 0.9468 GB, free: 92.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06827/1.721, allocations: 15.47 MB / 0.9619 GB, free: 87.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005382/1.722, allocations: 82.3 kB / 0.962 GB, free: 87.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003275/1.725, allocations: 297.4 kB / 0.9623 GB, free: 87.51 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003171/1.729, allocations: 1.383 MB / 0.9636 GB, free: 87.26 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04062/1.769, allocations: 12.67 MB / 0.976 GB, free: 83.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/1.869, allocations: 64.21 MB / 1.039 GB, free: 25.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02866/1.898, allocations: 6.209 MB / 1.045 GB, free: 19.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006436/1.905, allocations: 3.148 MB / 1.048 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02617/1.931, allocations: 11.06 MB / 1.059 GB, free: 4.504 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/1.931, allocations: 60.5 kB / 1.059 GB, free: 4.438 MB / 474.7 MB Notification: Performance of pre-optimization done (n=245): time 6.442e-06/1.931, allocations: 3.938 kB / 1.059 GB, free: 4.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=337): time 0.5757/2.507, allocations: 36.8 MB / 1.095 GB, free: 100.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/2.507, allocations: 240.1 kB / 1.095 GB, free: 100.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01367/2.521, allocations: 5.612 MB / 1.1 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009764/2.522, allocations: 74.8 kB / 1.1 GB, free: 100 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004364/2.526, allocations: 4.46 MB / 1.105 GB, free: 97.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002066/2.528, allocations: 1.231 MB / 1.106 GB, free: 97.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/2.529, allocations: 167.9 kB / 1.106 GB, free: 97.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004852/2.53, allocations: 0.6455 MB / 1.107 GB, free: 96.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008741/2.538, allocations: 3.606 MB / 1.11 GB, free: 96.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01275/2.551, allocations: 8.156 MB / 1.118 GB, free: 91.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/2.563, allocations: 5.312 MB / 1.123 GB, free: 90.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/2.564, allocations: 48.19 kB / 1.124 GB, free: 90.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.0487/2.612, allocations: 14.65 MB / 1.138 GB, free: 86.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/2.612, allocations: 72.31 kB / 1.138 GB, free: 86.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002535/2.613, allocations: 158.5 kB / 1.138 GB, free: 86.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02092/2.634, allocations: 3.526 MB / 1.141 GB, free: 85.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/2.645, allocations: 1.792 MB / 1.143 GB, free: 85.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04261/2.688, allocations: 17.99 MB / 1.161 GB, free: 77.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/2.698, allocations: 476.6 kB / 1.161 GB, free: 76.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/2.7, allocations: 467.7 kB / 1.162 GB, free: 76.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (969): * Single equations (assignments): 965 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008458/2.708, allocations: 3.12 MB / 1.165 GB, free: 75.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/2.71, allocations: 0.53 MB / 1.165 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03384/2.744, allocations: 8.825 MB / 1.174 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.865e-05/2.744, allocations: 35.97 kB / 1.174 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.014e-05/2.744, allocations: 15.06 kB / 1.174 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.059e-05/2.744, allocations: 18.34 kB / 1.174 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06404/2.808, allocations: 18.58 MB / 1.192 GB, free: 59.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.814e-05/2.809, allocations: 7.75 kB / 1.192 GB, free: 59.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004559/2.813, allocations: 490.4 kB / 1.193 GB, free: 59.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02021/2.833, allocations: 3.048 MB / 1.196 GB, free: 57.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009566/2.834, allocations: 67.52 kB / 1.196 GB, free: 57.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04477/2.879, allocations: 15.62 MB / 1.211 GB, free: 43.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/2.879, allocations: 11.94 kB / 1.211 GB, free: 43.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04202/2.921, allocations: 13.16 MB / 1.224 GB, free: 31.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004235/2.926, allocations: 1.095 MB / 1.225 GB, free: 30.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/2.928, allocations: 60 kB / 1.225 GB, free: 29.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005925/2.934, allocations: 195.7 kB / 1.225 GB, free: 29.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001396/2.935, allocations: 223.5 kB / 1.225 GB, free: 29.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000704/2.936, allocations: 91.98 kB / 1.225 GB, free: 29.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009374/2.945, allocations: 3.526 MB / 1.229 GB, free: 25.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.82e-07/2.945, allocations: 0 / 1.229 GB, free: 25.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01179/2.957, allocations: 1.672 MB / 1.23 GB, free: 24.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * 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 (253): * Single equations (assignments): 249 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/2.959, allocations: 251.1 kB / 1.231 GB, free: 24.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02408/2.983, allocations: 8.897 MB / 1.239 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/2.983, allocations: 0 / 1.239 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008534/2.991, allocations: 3.488 MB / 1.243 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008879/3, allocations: 0.7368 MB / 1.243 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3972/3.398, allocations: 17.95 MB / 1.261 GB, free: 107.8 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01377/3.411, allocations: 4.951 MB / 1.266 GB, free: 106.9 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01476/3.426, allocations: 2.597 MB / 1.268 GB, free: 106.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/3.429, allocations: 346.2 kB / 1.269 GB, free: 106.9 MB / 0.4949 GB Notification: Performance of SimCode: time 2.475e-06/3.429, allocations: 0 / 1.269 GB, free: 106.9 MB / 0.4949 GB Notification: Performance of Templates: time 0.2349/3.664, allocations: 68.73 MB / 1.336 GB, free: 95.4 MB / 0.4949 GB