Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00402/0.004026, allocations: 348.5 kB / 15.94 MB, free: 6.215 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.583/3.583, 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.003629/0.003629, allocations: 218.1 kB / 397.9 MB, free: 4.883 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.459/0.459, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004686, allocations: 20 kB / 0.5592 GB, free: 53.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08819, allocations: 48.7 MB / 0.6067 GB, free: 4.621 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.4912, allocations: 89.21 MB / 0.6939 GB, free: 23.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4915, allocations: 83.95 kB / 0.6939 GB, free: 23.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6895/1.181, allocations: 84.95 MB / 0.7769 GB, free: 89.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.996e-06/1.181, allocations: 0 / 0.7769 GB, free: 89.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001999/1.181, allocations: 73.95 kB / 0.777 GB, free: 89.26 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: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01596/1.197, allocations: 3.739 MB / 0.7806 GB, free: 87.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.197, allocations: 14.56 kB / 0.7806 GB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0267/1.224, allocations: 3.473 MB / 0.784 GB, free: 87.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/1.234, allocations: 3.049 MB / 0.787 GB, free: 86.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005099/1.235, allocations: 298.3 kB / 0.7873 GB, free: 86.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002996/1.238, allocations: 385.8 kB / 0.7876 GB, free: 86.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03188/1.27, allocations: 10.25 MB / 0.7977 GB, free: 85.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002375/1.27, allocations: 20.91 kB / 0.7977 GB, free: 85.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002303/1.272, allocations: 182.1 kB / 0.7978 GB, free: 85.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/1.275, allocations: 1.208 MB / 0.799 GB, free: 85.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02752/1.303, allocations: 9.93 MB / 0.8087 GB, free: 83.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07392/1.377, allocations: 35.4 MB / 0.8433 GB, free: 61.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/1.391, allocations: 4.966 MB / 0.8481 GB, free: 57.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004727/1.396, allocations: 2.298 MB / 0.8504 GB, free: 55.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002145/1.398, allocations: 1.882 MB / 0.8522 GB, free: 53.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/1.398, allocations: 44.56 kB / 0.8523 GB, free: 53.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 6.342e-06/1.398, allocations: 0 / 0.8523 GB, free: 53.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.05554/1.454, allocations: 14.06 MB / 0.866 GB, free: 40.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.454, allocations: 73.41 kB / 0.8661 GB, free: 40.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005006/1.459, allocations: 2.641 MB / 0.8686 GB, free: 37.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005074/1.459, allocations: 57.7 kB / 0.8687 GB, free: 37.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.461, allocations: 2.695 MB / 0.8713 GB, free: 35.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.463, allocations: 0.8495 MB / 0.8722 GB, free: 34.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006564/1.463, allocations: 106.5 kB / 0.8723 GB, free: 34.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004213/1.464, allocations: 0.5331 MB / 0.8728 GB, free: 33.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005247/1.469, allocations: 2.181 MB / 0.8749 GB, free: 31.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00702/1.476, allocations: 5.073 MB / 0.8799 GB, free: 24.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007009/1.483, allocations: 3.321 MB / 0.8831 GB, free: 21.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.108e-05/1.483, allocations: 32 kB / 0.8831 GB, free: 21.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02085/1.504, allocations: 7.848 MB / 0.8908 GB, free: 13.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.403e-05/1.504, allocations: 48 kB / 0.8909 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/1.504, allocations: 100 kB / 0.8909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/1.508, allocations: 0.8049 MB / 0.8917 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007389/1.516, allocations: 1.189 MB / 0.8929 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008227/1.524, allocations: 4.144 MB / 0.8969 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/1.529, allocations: 294.3 kB / 0.8972 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.531, allocations: 308 kB / 0.8975 GB, free: 6.664 MB / 410.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.006186/1.537, allocations: 2.046 MB / 0.8995 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006718/1.538, allocations: 268.5 kB / 0.8998 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.551, allocations: 4.686 MB / 0.9043 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001266/1.551, allocations: 52.56 kB / 0.9044 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.551, allocations: 7.938 kB / 0.9044 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.178e-05/1.551, allocations: 10.97 kB / 0.9044 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03927/1.591, allocations: 10.61 MB / 0.9148 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.08e-05/1.591, allocations: 12.89 kB / 0.9148 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003422/1.594, allocations: 359.4 kB / 0.9151 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003944/1.598, allocations: 0.6522 MB / 0.9158 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000561/1.599, allocations: 45.16 kB / 0.9158 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008336/1.607, allocations: 3.59 MB / 0.9193 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.607, allocations: 12 kB / 0.9193 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.412/2.019, allocations: 7.099 MB / 0.9263 GB, free: 94.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00315/2.022, allocations: 0.6422 MB / 0.9269 GB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/2.024, allocations: 39.47 kB / 0.9269 GB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003967/2.028, allocations: 139.8 kB / 0.9271 GB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009759/2.029, allocations: 132.2 kB / 0.9272 GB, free: 94.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005276/2.029, allocations: 63.17 kB / 0.9272 GB, free: 94.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006743/2.036, allocations: 1.614 MB / 0.9288 GB, free: 94.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.422e-06/2.036, allocations: 0.5625 kB / 0.9288 GB, free: 94.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01001/2.046, allocations: 0.9431 MB / 0.9297 GB, free: 94.03 MB / 426.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.001266/2.048, allocations: 184.9 kB / 0.9299 GB, free: 93.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01942/2.067, allocations: 5.323 MB / 0.9351 GB, free: 93.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/2.067, allocations: 2.688 kB / 0.9351 GB, free: 93.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007255/2.074, allocations: 2.018 MB / 0.9371 GB, free: 93.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00564/2.08, allocations: 348.5 kB / 0.9374 GB, free: 93.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04079/2.121, allocations: 11.3 MB / 0.9485 GB, free: 89.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/2.132, allocations: 3.306 MB / 0.9517 GB, free: 88.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01242/2.145, allocations: 1.962 MB / 0.9536 GB, free: 88.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/2.147, allocations: 200.3 kB / 0.9538 GB, free: 88.57 MB / 426.7 MB Notification: Performance of SimCode: time 2.074e-06/2.147, allocations: 0 / 0.9538 GB, free: 88.57 MB / 426.7 MB Notification: Performance of Templates: time 0.1207/2.268, allocations: 28.9 MB / 0.982 GB, free: 87.32 MB / 426.7 MB