Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004066/0.004072, allocations: 363.1 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.033/4.033, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003617/0.003617, allocations: 221.7 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.4941/0.4941, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.0006475, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.0977, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4922/0.5899, allocations: 96.03 MB / 0.7739 GB, free: 5.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.5903, allocations: 85.25 kB / 0.7739 GB, free: 5.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3631/0.9534, allocations: 85 MB / 0.8569 GB, free: 7.922 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.9534, allocations: 0 / 0.8569 GB, free: 7.922 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000202/0.9536, allocations: 68 kB / 0.857 GB, free: 7.855 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01502/0.9687, allocations: 3.74 MB / 0.8607 GB, free: 4.047 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.9687, allocations: 12.03 kB / 0.8607 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02741/0.9962, allocations: 3.469 MB / 0.8641 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/1.006, allocations: 3.055 MB / 0.867 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004682/1.007, allocations: 295.7 kB / 0.8673 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002804/1.01, allocations: 395.8 kB / 0.8677 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03379/1.043, allocations: 10.25 MB / 0.8777 GB, free: 2.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002274/1.044, allocations: 27.72 kB / 0.8777 GB, free: 2.062 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002421/1.046, allocations: 179.9 kB / 0.8779 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003196/1.049, allocations: 1.211 MB / 0.8791 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03113/1.081, allocations: 9.924 MB / 0.8888 GB, free: 6.727 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3921/1.473, allocations: 35.42 MB / 0.9234 GB, free: 96.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01478/1.488, allocations: 4.955 MB / 0.9282 GB, free: 95.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004876/1.493, allocations: 2.293 MB / 0.9305 GB, free: 95.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00205/1.495, allocations: 1.881 MB / 0.9323 GB, free: 93.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/1.495, allocations: 50.45 kB / 0.9323 GB, free: 93.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 6.563e-06/1.495, allocations: 3.344 kB / 0.9323 GB, free: 93.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.0546/1.549, allocations: 14.04 MB / 0.946 GB, free: 92.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/1.549, allocations: 77.53 kB / 0.9461 GB, free: 92.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005297/1.555, allocations: 2.647 MB / 0.9487 GB, free: 91.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005784/1.555, allocations: 61.8 kB / 0.9488 GB, free: 91.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.558, allocations: 2.695 MB / 0.9514 GB, free: 89.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001325/1.559, allocations: 0.8444 MB / 0.9522 GB, free: 89.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006865/1.56, allocations: 101.7 kB / 0.9523 GB, free: 89.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004566/1.56, allocations: 0.5301 MB / 0.9528 GB, free: 88.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005146/1.565, allocations: 2.175 MB / 0.955 GB, free: 88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007234/1.573, allocations: 5.086 MB / 0.9599 GB, free: 83.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007306/1.58, allocations: 3.328 MB / 0.9632 GB, free: 82.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/1.58, allocations: 28 kB / 0.9632 GB, free: 82.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02318/1.603, allocations: 7.852 MB / 0.9709 GB, free: 79.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/1.604, allocations: 52.19 kB / 0.9709 GB, free: 79.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/1.604, allocations: 103 kB / 0.971 GB, free: 79.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004039/1.608, allocations: 0.8084 MB / 0.9718 GB, free: 79.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007678/1.615, allocations: 1.191 MB / 0.973 GB, free: 79.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008364/1.624, allocations: 4.137 MB / 0.977 GB, free: 77.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/1.629, allocations: 298 kB / 0.9773 GB, free: 77.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.631, allocations: 307.8 kB / 0.9776 GB, free: 77.34 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 24 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (636): * Single equations (assignments): 629 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005431/1.636, allocations: 2.044 MB / 0.9796 GB, free: 76.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000665/1.637, allocations: 267 kB / 0.9798 GB, free: 76.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.65, allocations: 4.702 MB / 0.9844 GB, free: 74.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001643/1.65, allocations: 45.98 kB / 0.9845 GB, free: 74.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/1.65, allocations: 3.594 kB / 0.9845 GB, free: 74.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.107e-05/1.65, allocations: 7.359 kB / 0.9845 GB, free: 74.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04276/1.693, allocations: 10.61 MB / 0.9949 GB, free: 66.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/1.693, allocations: 8 kB / 0.9949 GB, free: 66.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/1.696, allocations: 360.8 kB / 0.9952 GB, free: 65.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003553/1.7, allocations: 0.655 MB / 0.9958 GB, free: 65.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004787/1.7, allocations: 40 kB / 0.9959 GB, free: 65.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007076/1.707, allocations: 3.598 MB / 0.9994 GB, free: 62.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/1.707, allocations: 11.94 kB / 0.9994 GB, free: 62.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/1.724, allocations: 7.099 MB / 1.006 GB, free: 55.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/1.726, allocations: 0.6546 MB / 1.007 GB, free: 55.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000841/1.727, allocations: 41.58 kB / 1.007 GB, free: 55.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002664/1.729, allocations: 135.1 kB / 1.007 GB, free: 55.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006792/1.73, allocations: 132 kB / 1.007 GB, free: 55.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/1.73, allocations: 65.02 kB / 1.007 GB, free: 55.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003495/1.734, allocations: 1.612 MB / 1.009 GB, free: 53.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.734, allocations: 0 / 1.009 GB, free: 53.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00615/1.74, allocations: 0.9431 MB / 1.01 GB, free: 52.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009505/1.741, allocations: 185.8 kB / 1.01 GB, free: 52.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01161/1.753, allocations: 5.326 MB / 1.015 GB, free: 47.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.753, allocations: 0 / 1.015 GB, free: 47.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004413/1.757, allocations: 2.012 MB / 1.017 GB, free: 46.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/1.76, allocations: 346 kB / 1.018 GB, free: 45.78 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.783, allocations: 11.31 MB / 1.029 GB, free: 35.33 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006255/1.789, allocations: 3.309 MB / 1.032 GB, free: 32.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007703/1.797, allocations: 1.957 MB / 1.034 GB, free: 30.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.799, allocations: 203.4 kB / 1.034 GB, free: 30.17 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/1.799, allocations: 0 / 1.034 GB, free: 30.17 MB / 474.7 MB Notification: Performance of Templates: time 0.09785/1.896, allocations: 28.92 MB / 1.062 GB, free: 1.773 MB / 474.7 MB