Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004036/0.004036, allocations: 359.2 kB / 15.95 MB, free: 6.207 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.085/4.085, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003516/0.003515, allocations: 224 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.5263/0.5263, allocations: 80.02 MB / 0.5627 GB, free: 19.87 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004629, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 54.86 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4953/0.5979, allocations: 98.63 MB / 0.7764 GB, free: 3.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004704/0.5984, allocations: 89.02 kB / 0.7765 GB, free: 2.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5236/1.122, allocations: 108.7 MB / 0.8826 GB, free: 13.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.122, allocations: 0 / 0.8826 GB, free: 13.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006226/1.123, allocations: 108 kB / 0.8827 GB, free: 13.86 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: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.03135/1.154, allocations: 6.592 MB / 0.8892 GB, free: 7.184 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/1.154, allocations: 8.031 kB / 0.8892 GB, free: 7.176 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3775/1.532, allocations: 6.831 MB / 0.8958 GB, free: 94.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0293/1.561, allocations: 8.421 MB / 0.9041 GB, free: 94.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005664/1.562, allocations: 366.3 kB / 0.9044 GB, free: 94.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/1.564, allocations: 469.7 kB / 0.9049 GB, free: 94.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0402/1.604, allocations: 10.54 MB / 0.9152 GB, free: 92.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004717/1.605, allocations: 62.89 kB / 0.9152 GB, free: 92.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001952/1.607, allocations: 201.4 kB / 0.9154 GB, free: 92.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002349/1.609, allocations: 0.9933 MB / 0.9164 GB, free: 92.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03125/1.641, allocations: 8.836 MB / 0.925 GB, free: 92.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08079/1.721, allocations: 43.84 MB / 0.9678 GB, free: 68.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03734/1.759, allocations: 7.632 MB / 0.9753 GB, free: 66.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009266/1.768, allocations: 4.972 MB / 0.9801 GB, free: 64.76 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/1.77, allocations: 1.122 MB / 0.9812 GB, free: 63.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.952e-05/1.77, allocations: 73.3 kB / 0.9813 GB, free: 63.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 6.132e-06/1.77, allocations: 0 / 0.9813 GB, free: 63.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=415): time 0.4411/2.211, allocations: 79.14 MB / 1.059 GB, free: 3.961 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0281/2.239, allocations: 10.92 MB / 1.069 GB, free: 8.875 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/2.251, allocations: 4.233 MB / 1.073 GB, free: 4.637 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001338/2.252, allocations: 93.7 kB / 1.073 GB, free: 4.539 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003978/2.256, allocations: 2.999 MB / 1.076 GB, free: 1.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002963/2.259, allocations: 1.435 MB / 1.078 GB, free: 112 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000964/2.26, allocations: 113.1 kB / 1.078 GB, free: 0 / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.3632/2.623, allocations: 0.5316 MB / 1.078 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01167/2.635, allocations: 4.482 MB / 1.083 GB, free: 102.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/2.649, allocations: 6.531 MB / 1.089 GB, free: 99.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/2.664, allocations: 5.443 MB / 1.094 GB, free: 99.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/2.664, allocations: 19.72 kB / 1.095 GB, free: 99.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06891/2.733, allocations: 18.48 MB / 1.113 GB, free: 99.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/2.733, allocations: 36.22 kB / 1.113 GB, free: 99.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/2.733, allocations: 66.72 kB / 1.113 GB, free: 99.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04204/2.775, allocations: 8.552 MB / 1.121 GB, free: 98.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007823/2.783, allocations: 1.024 MB / 1.122 GB, free: 98.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1135/2.897, allocations: 48.58 MB / 1.169 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00971/2.906, allocations: 479.7 kB / 1.17 GB, free: 78.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/2.908, allocations: 282.1 kB / 1.17 GB, free: 78.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 523 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.007465/2.916, allocations: 2.287 MB / 1.172 GB, free: 76.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002078/2.918, allocations: 486 kB / 1.173 GB, free: 76.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06268/2.981, allocations: 17.52 MB / 1.19 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05732/3.038, allocations: 16.03 MB / 1.206 GB, free: 50.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.156e-05/3.038, allocations: 28 kB / 1.206 GB, free: 50.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001289/3.038, allocations: 21.98 kB / 1.206 GB, free: 50.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1003/3.139, allocations: 34.77 MB / 1.24 GB, free: 16.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.094e-05/3.139, allocations: 6.953 kB / 1.24 GB, free: 16.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004272/3.143, allocations: 447.3 kB / 1.24 GB, free: 16.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04129/3.184, allocations: 8.086 MB / 1.248 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00132/3.186, allocations: 75.98 kB / 1.248 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5772/3.763, allocations: 47.28 MB / 1.294 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03451/3.798, allocations: 9.702 MB / 1.304 GB, free: 103.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1036/3.901, allocations: 23.26 MB / 1.326 GB, free: 95.15 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005162/3.906, allocations: 1.416 MB / 1.328 GB, free: 94.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00237/3.909, allocations: 76.09 kB / 1.328 GB, free: 94.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007214/3.916, allocations: 354 kB / 1.328 GB, free: 94.58 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002312/3.918, allocations: 344.3 kB / 1.329 GB, free: 94.53 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001012/3.919, allocations: 103 kB / 1.329 GB, free: 94.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007162/3.927, allocations: 2.77 MB / 1.331 GB, free: 93.57 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.012e-06/3.927, allocations: 3.469 kB / 1.331 GB, free: 93.57 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01105/3.938, allocations: 1.972 MB / 1.333 GB, free: 93.38 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (226): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001549/3.939, allocations: 206.8 kB / 1.333 GB, free: 93.24 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03306/3.972, allocations: 12.39 MB / 1.346 GB, free: 88.54 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/3.972, allocations: 5.781 kB / 1.346 GB, free: 88.54 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02139/3.994, allocations: 7.086 MB / 1.352 GB, free: 85.61 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009803/4.004, allocations: 0.8102 MB / 1.353 GB, free: 85.29 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04335/4.047, allocations: 18 MB / 1.371 GB, free: 69.79 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/4.057, allocations: 4.295 MB / 1.375 GB, free: 66.62 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008753/4.066, allocations: 1.679 MB / 1.377 GB, free: 65.56 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/4.069, allocations: 301.3 kB / 1.377 GB, free: 65.3 MB / 0.4949 GB Notification: Performance of SimCode: time 8.62e-07/4.069, allocations: 3 kB / 1.377 GB, free: 65.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.7218/4.791, allocations: 109 MB / 1.483 GB, free: 98.42 MB / 0.4949 GB