Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007858/0.007857, allocations: 362.5 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 4.478/4.478, allocations: 388.9 MB / 405.6 MB, free: 9.633 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.003517/0.003517, allocations: 224 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.7648/0.7648, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 19.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1101, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5492/0.6593, allocations: 99.05 MB / 0.7768 GB, free: 2.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.6598, allocations: 78.19 kB / 0.7769 GB, free: 2.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5425/1.202, allocations: 90.09 MB / 0.8649 GB, free: 15.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.939e-06/1.202, allocations: 0 / 0.8649 GB, free: 15.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003325/1.203, allocations: 83.92 kB / 0.865 GB, free: 15.76 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: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.02309/1.226, allocations: 4.062 MB / 0.8689 GB, free: 11.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.226, allocations: 8.031 kB / 0.8689 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04011/1.266, allocations: 3.511 MB / 0.8724 GB, free: 8.094 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/1.283, allocations: 3.332 MB / 0.8756 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007956/1.283, allocations: 324.5 kB / 0.8759 GB, free: 4.395 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004547/1.288, allocations: 431.8 kB / 0.8763 GB, free: 3.973 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05253/1.341, allocations: 10.87 MB / 0.8869 GB, free: 8.625 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004807/1.341, allocations: 27.81 kB / 0.887 GB, free: 8.598 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003682/1.345, allocations: 191.9 kB / 0.8872 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004666/1.35, allocations: 1.255 MB / 0.8884 GB, free: 7.148 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4532/1.803, allocations: 10.37 MB / 0.8985 GB, free: 108.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08643/1.889, allocations: 37.67 MB / 0.9353 GB, free: 94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/1.904, allocations: 4.576 MB / 0.9398 GB, free: 92.56 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005188/1.909, allocations: 2.403 MB / 0.9421 GB, free: 91.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/1.911, allocations: 1.322 MB / 0.9434 GB, free: 90.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.911, allocations: 50.56 kB / 0.9434 GB, free: 90.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 6.432e-06/1.911, allocations: 6.281 kB / 0.9435 GB, free: 90.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.0698/1.981, allocations: 17.62 MB / 0.9607 GB, free: 85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/1.981, allocations: 75.28 kB / 0.9607 GB, free: 84.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00557/1.987, allocations: 2.769 MB / 0.9634 GB, free: 83.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005665/1.987, allocations: 61.81 kB / 0.9635 GB, free: 83.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/1.99, allocations: 2.84 MB / 0.9663 GB, free: 81.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001497/1.991, allocations: 0.9121 MB / 0.9672 GB, free: 81.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006814/1.992, allocations: 106.7 kB / 0.9673 GB, free: 81.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004225/1.993, allocations: 0.5403 MB / 0.9678 GB, free: 80.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005478/1.998, allocations: 2.288 MB / 0.97 GB, free: 80 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008137/2.006, allocations: 5.258 MB / 0.9752 GB, free: 75.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007816/2.014, allocations: 3.461 MB / 0.9785 GB, free: 74.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/2.014, allocations: 27.5 kB / 0.9786 GB, free: 74.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02375/2.038, allocations: 8.283 MB / 0.9867 GB, free: 71.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/2.038, allocations: 50.38 kB / 0.9867 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/2.038, allocations: 103.4 kB / 0.9868 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004893/2.043, allocations: 0.9465 MB / 0.9877 GB, free: 70.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008079/2.051, allocations: 1.238 MB / 0.9889 GB, free: 69.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00992/2.061, allocations: 4.75 MB / 0.9936 GB, free: 65.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005763/2.067, allocations: 300.2 kB / 0.9939 GB, free: 65.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/2.069, allocations: 309.1 kB / 0.9942 GB, free: 65.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (661): * Single equations (assignments): 654 * Array equations: 6 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006335/2.075, allocations: 2.181 MB / 0.9963 GB, free: 63.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007668/2.076, allocations: 276.3 kB / 0.9965 GB, free: 62.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/2.092, allocations: 5.106 MB / 1.002 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001171/2.092, allocations: 47.42 kB / 1.002 GB, free: 58.76 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/2.092, allocations: 4 kB / 1.002 GB, free: 58.76 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.199e-05/2.092, allocations: 13.08 kB / 1.002 GB, free: 58.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03336/2.126, allocations: 11.97 MB / 1.013 GB, free: 48.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-05/2.126, allocations: 12 kB / 1.013 GB, free: 48.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/2.13, allocations: 398.1 kB / 1.014 GB, free: 48.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004382/2.134, allocations: 0.7682 MB / 1.014 GB, free: 47.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006035/2.135, allocations: 52.7 kB / 1.014 GB, free: 47.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008204/2.143, allocations: 4.029 MB / 1.018 GB, free: 44.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/2.143, allocations: 15.94 kB / 1.018 GB, free: 44.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/2.162, allocations: 7.584 MB / 1.026 GB, free: 37.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/2.164, allocations: 0.6815 MB / 1.026 GB, free: 36.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009101/2.165, allocations: 50.75 kB / 1.027 GB, free: 36.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/2.168, allocations: 145.5 kB / 1.027 GB, free: 36.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00063/2.168, allocations: 159.2 kB / 1.027 GB, free: 36.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/2.169, allocations: 77.08 kB / 1.027 GB, free: 36.63 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003906/2.173, allocations: 1.689 MB / 1.029 GB, free: 34.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.21e-07/2.173, allocations: 0 / 1.029 GB, free: 34.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00684/2.18, allocations: 1.001 MB / 1.03 GB, free: 33.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009878/2.181, allocations: 206.4 kB / 1.03 GB, free: 33.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01267/2.193, allocations: 5.589 MB / 1.035 GB, free: 28.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/2.193, allocations: 4 kB / 1.035 GB, free: 28.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004836/2.198, allocations: 2.142 MB / 1.037 GB, free: 26.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/2.202, allocations: 375.1 kB / 1.038 GB, free: 25.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/2.23, allocations: 12.25 MB / 1.05 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007906/2.238, allocations: 3.512 MB / 1.053 GB, free: 9.738 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008612/2.247, allocations: 1.998 MB / 1.055 GB, free: 7.742 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/2.248, allocations: 215.4 kB / 1.055 GB, free: 7.531 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/2.248, allocations: 0 / 1.055 GB, free: 7.531 MB / 474.7 MB Notification: Performance of Templates: time 0.4506/2.699, allocations: 31.65 MB / 1.086 GB, free: 109.1 MB / 490.7 MB