Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002628/0.002633, allocations: 350.9 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.901/3.901, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.00351/0.00351, allocations: 237.5 kB / 397.9 MB, free: 4.965 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.5542/0.5542, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00071/0.0007102, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.121, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5451, allocations: 88.59 MB / 0.6932 GB, free: 24.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5454, allocations: 88.69 kB / 0.6933 GB, free: 24.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6454/1.191, allocations: 81.75 MB / 0.7732 GB, free: 90.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.191, allocations: 0 / 0.7732 GB, free: 90.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002062/1.191, allocations: 71.75 kB / 0.7732 GB, free: 90.01 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.02355/1.215, allocations: 4.001 MB / 0.7771 GB, free: 88.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.215, allocations: 9.625 kB / 0.7771 GB, free: 88.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04184/1.257, allocations: 5.748 MB / 0.7828 GB, free: 88.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/1.272, allocations: 4.088 MB / 0.7868 GB, free: 87.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005942/1.273, allocations: 277.3 kB / 0.787 GB, free: 87.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003156/1.276, allocations: 366.5 kB / 0.7874 GB, free: 87.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03577/1.312, allocations: 10.35 MB / 0.7975 GB, free: 86.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000259/1.312, allocations: 30.59 kB / 0.7975 GB, free: 86.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002737/1.315, allocations: 166 kB / 0.7977 GB, free: 86.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002686/1.318, allocations: 1.155 MB / 0.7988 GB, free: 86.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03048/1.348, allocations: 10.01 MB / 0.8086 GB, free: 84.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07603/1.425, allocations: 37.25 MB / 0.8449 GB, free: 60.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/1.443, allocations: 5.598 MB / 0.8504 GB, free: 55.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005/1.448, allocations: 2.329 MB / 0.8527 GB, free: 53.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/1.451, allocations: 1.879 MB / 0.8545 GB, free: 51.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/1.451, allocations: 48.56 kB / 0.8546 GB, free: 51.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 7.053e-06/1.451, allocations: 0 / 0.8546 GB, free: 51.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.06002/1.511, allocations: 14.96 MB / 0.8692 GB, free: 37.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001388/1.512, allocations: 1.52 MB / 0.8707 GB, free: 35.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006029/1.518, allocations: 2.782 MB / 0.8734 GB, free: 32.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007049/1.519, allocations: 57.86 kB / 0.8734 GB, free: 32.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002367/1.521, allocations: 2.678 MB / 0.876 GB, free: 29.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001489/1.523, allocations: 0.8491 MB / 0.8769 GB, free: 29.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007985/1.524, allocations: 101.8 kB / 0.877 GB, free: 28.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004303/1.524, allocations: 0.5414 MB / 0.8775 GB, free: 28.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006499/1.531, allocations: 2.595 MB / 0.88 GB, free: 25.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008587/1.539, allocations: 5.598 MB / 0.8855 GB, free: 18.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008572/1.548, allocations: 3.786 MB / 0.8892 GB, free: 15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.674e-05/1.548, allocations: 31.95 kB / 0.8892 GB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.1205/1.669, allocations: 18.95 MB / 0.9077 GB, free: 11.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.669, allocations: 51.95 kB / 0.9078 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4042/2.073, allocations: 12.01 MB / 0.9195 GB, free: 92.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09936/2.173, allocations: 10.31 MB / 0.9296 GB, free: 92.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008523/2.181, allocations: 1.242 MB / 0.9308 GB, free: 92.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04918/2.23, allocations: 15.99 MB / 0.9464 GB, free: 89.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007039/2.237, allocations: 444.4 kB / 0.9468 GB, free: 89.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/2.239, allocations: 320 kB / 0.9471 GB, free: 89.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * Number of states: 0 () * Number of discrete variables: 21 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (649): * Single equations (assignments): 638 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005959/2.245, allocations: 2.016 MB / 0.9491 GB, free: 89.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007306/2.246, allocations: 268.2 kB / 0.9494 GB, free: 89.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/2.261, allocations: 5.104 MB / 0.9544 GB, free: 89.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01378/2.275, allocations: 4.388 MB / 0.9586 GB, free: 89.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/2.275, allocations: 2.875 kB / 0.9586 GB, free: 89.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-05/2.275, allocations: 9.891 kB / 0.9586 GB, free: 89.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03744/2.313, allocations: 12.97 MB / 0.9713 GB, free: 84.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/2.313, allocations: 9.5 kB / 0.9713 GB, free: 84.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003666/2.317, allocations: 405.5 kB / 0.9717 GB, free: 84.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005322/2.322, allocations: 0.9393 MB / 0.9726 GB, free: 84.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007394/2.323, allocations: 45.31 kB / 0.9727 GB, free: 84.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009924/2.333, allocations: 5.443 MB / 0.978 GB, free: 81.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001294/2.334, allocations: 1.464 MB / 0.9794 GB, free: 79.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/2.354, allocations: 7.687 MB / 0.9869 GB, free: 77.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/2.356, allocations: 332.4 kB / 0.9872 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/2.357, allocations: 46.27 kB / 0.9873 GB, free: 76.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/2.36, allocations: 194.8 kB / 0.9875 GB, free: 76.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009257/2.361, allocations: 150.8 kB / 0.9876 GB, free: 76.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003208/2.362, allocations: 65.86 kB / 0.9877 GB, free: 76.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004416/2.366, allocations: 1.703 MB / 0.9893 GB, free: 76.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.62e-07/2.366, allocations: 0 / 0.9893 GB, free: 76.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007753/2.374, allocations: 1.1 MB / 0.9904 GB, free: 76.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/2.375, allocations: 186.5 kB / 0.9906 GB, free: 76.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01742/2.393, allocations: 6.541 MB / 0.997 GB, free: 71.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/2.393, allocations: 0 / 0.997 GB, free: 71.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006608/2.399, allocations: 2.519 MB / 0.9994 GB, free: 68.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/2.404, allocations: 380.2 kB / 0.9998 GB, free: 68.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/2.432, allocations: 11.73 MB / 1.011 GB, free: 57.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007166/2.439, allocations: 3.246 MB / 1.014 GB, free: 54.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008831/2.448, allocations: 2.055 MB / 1.016 GB, free: 52.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/2.45, allocations: 207.4 kB / 1.017 GB, free: 52.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/2.45, allocations: 0 / 1.017 GB, free: 52.74 MB / 426.7 MB Notification: Performance of Templates: time 0.1086/2.558, allocations: 43.15 MB / 1.059 GB, free: 10.2 MB / 426.7 MB