Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.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.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003877/0.003876, allocations: 348.1 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.893/3.893, 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.003505/0.003505, allocations: 226.1 kB / 397.9 MB, free: 4.887 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.5281/0.5281, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007449/0.0007452, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1337, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5087/0.6425, allocations: 91.82 MB / 0.6964 GB, free: 20.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.6428, allocations: 85.55 kB / 0.6965 GB, free: 20.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7577/1.401, allocations: 108.5 MB / 0.8025 GB, free: 83.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.401, allocations: 0 / 0.8025 GB, free: 83.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005904/1.401, allocations: 107.1 kB / 0.8026 GB, free: 83.69 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: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.03084/1.432, allocations: 6.59 MB / 0.809 GB, free: 81.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.432, allocations: 10.81 kB / 0.809 GB, free: 81.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0541/1.486, allocations: 6.844 MB / 0.8157 GB, free: 80.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02754/1.514, allocations: 8.42 MB / 0.8239 GB, free: 78.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006084/1.515, allocations: 363.7 kB / 0.8243 GB, free: 78.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002829/1.517, allocations: 472.8 kB / 0.8247 GB, free: 78.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03823/1.556, allocations: 10.53 MB / 0.835 GB, free: 72.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004545/1.556, allocations: 59.95 kB / 0.8351 GB, free: 72.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002257/1.558, allocations: 208.2 kB / 0.8353 GB, free: 72.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002404/1.561, allocations: 0.993 MB / 0.8362 GB, free: 71.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03232/1.593, allocations: 8.816 MB / 0.8448 GB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08071/1.674, allocations: 43.81 MB / 0.8876 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03736/1.711, allocations: 7.647 MB / 0.8951 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009046/1.721, allocations: 4.976 MB / 0.9 GB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001744/1.722, allocations: 1.122 MB / 0.901 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/1.722, allocations: 64.81 kB / 0.9011 GB, free: 4.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 5.961e-06/1.722, allocations: 3.938 kB / 0.9011 GB, free: 4.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=415): time 0.7683/2.491, allocations: 79.13 MB / 0.9784 GB, free: 86.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02606/2.517, allocations: 10.93 MB / 0.9891 GB, free: 81.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/2.527, allocations: 4.234 MB / 0.9932 GB, free: 77.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001345/2.529, allocations: 93.7 kB / 0.9933 GB, free: 77.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003349/2.532, allocations: 2.996 MB / 0.9962 GB, free: 75.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002726/2.535, allocations: 1.435 MB / 0.9976 GB, free: 73.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/2.536, allocations: 115.1 kB / 0.9977 GB, free: 73.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004223/2.537, allocations: 0.5318 MB / 0.9982 GB, free: 73.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01115/2.548, allocations: 4.484 MB / 1.003 GB, free: 69.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01257/2.56, allocations: 6.527 MB / 1.009 GB, free: 62.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/2.573, allocations: 5.444 MB / 1.014 GB, free: 57.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.226e-05/2.573, allocations: 18.91 kB / 1.014 GB, free: 57.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06664/2.64, allocations: 18.49 MB / 1.032 GB, free: 39.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/2.64, allocations: 32 kB / 1.032 GB, free: 39.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/2.64, allocations: 64.84 kB / 1.032 GB, free: 39.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04207/2.682, allocations: 8.551 MB / 1.041 GB, free: 31.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007637/2.69, allocations: 1.033 MB / 1.042 GB, free: 30.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4409/3.131, allocations: 48.58 MB / 1.089 GB, free: 92.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009868/3.141, allocations: 482.3 kB / 1.09 GB, free: 92.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002167/3.143, allocations: 276.1 kB / 1.09 GB, free: 92.92 MB / 442.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.008071/3.151, allocations: 2.284 MB / 1.092 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001965/3.153, allocations: 486.5 kB / 1.093 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06561/3.219, allocations: 17.52 MB / 1.11 GB, free: 92.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05865/3.278, allocations: 16.03 MB / 1.125 GB, free: 87.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.687e-05/3.278, allocations: 26 kB / 1.125 GB, free: 87.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001106/3.278, allocations: 20.11 kB / 1.126 GB, free: 87.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1059/3.384, allocations: 34.78 MB / 1.159 GB, free: 74.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.694e-05/3.384, allocations: 7.594 kB / 1.159 GB, free: 74.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004302/3.388, allocations: 443.6 kB / 1.16 GB, free: 74.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0402/3.428, allocations: 8.088 MB / 1.168 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001194/3.43, allocations: 79.61 kB / 1.168 GB, free: 70.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1073/3.537, allocations: 47.28 MB / 1.214 GB, free: 25.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0232/3.56, allocations: 9.703 MB / 1.224 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4315/3.992, allocations: 23.25 MB / 1.246 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005838/3.998, allocations: 1.416 MB / 1.248 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00275/4, allocations: 76.83 kB / 1.248 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007864/4.008, allocations: 352.4 kB / 1.248 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002676/4.011, allocations: 338.7 kB / 1.248 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001182/4.012, allocations: 105.7 kB / 1.248 GB, free: 103.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009664/4.022, allocations: 2.778 MB / 1.251 GB, free: 103.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.92e-07/4.022, allocations: 0.9375 kB / 1.251 GB, free: 103.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0116/4.034, allocations: 1.975 MB / 1.253 GB, free: 103.4 MB / 458.7 MB 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.001553/4.035, allocations: 203.6 kB / 1.253 GB, free: 103.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03471/4.07, allocations: 12.39 MB / 1.265 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/4.07, allocations: 1.312 kB / 1.265 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02242/4.093, allocations: 7.09 MB / 1.272 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009347/4.102, allocations: 0.8093 MB / 1.273 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04177/4.144, allocations: 18 MB / 1.291 GB, free: 95.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01132/4.155, allocations: 4.3 MB / 1.295 GB, free: 94.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009071/4.164, allocations: 1.679 MB / 1.297 GB, free: 94.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002794/4.167, allocations: 298.6 kB / 1.297 GB, free: 94.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.756e-06/4.167, allocations: 0 / 1.297 GB, free: 94.5 MB / 458.7 MB Notification: Performance of Templates: time 0.2488/4.416, allocations: 109 MB / 1.403 GB, free: 15.94 MB / 458.7 MB