Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001149/0.001149, allocations: 181.4 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.373/1.373, allocations: 194.3 MB / 202.4 MB, free: 8.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001598/0.001598, allocations: 105.6 kB / 247.4 MB, free: 6.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.211/0.211, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.636e-05/1.639e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5378, allocations: 94.58 MB / 0.53 GB, free: 5.664 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5381, allocations: 75.22 kB / 0.5301 GB, free: 5.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.273/0.8111, allocations: 81.28 MB / 0.6095 GB, free: 12.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8111, allocations: 0 / 0.6095 GB, free: 12.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001526/0.8113, allocations: 71.92 kB / 0.6096 GB, free: 12.06 MB / 426.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.01568/0.827, allocations: 3.844 MB / 0.6133 GB, free: 8.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.8271, allocations: 12.03 kB / 0.6133 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02373/0.8508, allocations: 5.871 MB / 0.6191 GB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.8661, allocations: 5.29 MB / 0.6242 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.8663, allocations: 124 kB / 0.6243 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00204/0.8684, allocations: 215.9 kB / 0.6246 GB, free: 12.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01277/0.8811, allocations: 6.895 MB / 0.6313 GB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.8993, allocations: 9.183 MB / 0.6403 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.8994, allocations: 31.66 kB / 0.6403 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004553/0.8999, allocations: 16 kB / 0.6403 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/0.9015, allocations: 1.148 MB / 0.6414 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.359/1.26, allocations: 35.03 MB / 0.6756 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005343/1.266, allocations: 4.083 MB / 0.6796 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/1.269, allocations: 2.266 MB / 0.6818 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001786/1.271, allocations: 1.871 MB / 0.6837 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.271, allocations: 56.84 kB / 0.6837 GB, free: 103.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 7.705e-06/1.271, allocations: 0 / 0.6837 GB, free: 103.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=233): time 0.02674/1.298, allocations: 11.82 MB / 0.6952 GB, free: 102.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.298, allocations: 67.66 kB / 0.6953 GB, free: 102.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/1.302, allocations: 2.389 MB / 0.6976 GB, free: 102.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004239/1.302, allocations: 28.8 kB / 0.6977 GB, free: 102.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/1.304, allocations: 2.75 MB / 0.7004 GB, free: 101 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.305, allocations: 0.8403 MB / 0.7012 GB, free: 100.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/1.306, allocations: 3.125 kB / 0.7012 GB, free: 100.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002989/1.306, allocations: 0.5564 MB / 0.7017 GB, free: 100.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/1.309, allocations: 2.527 MB / 0.7042 GB, free: 100.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005419/1.314, allocations: 5.718 MB / 0.7098 GB, free: 96.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006202/1.321, allocations: 3.82 MB / 0.7135 GB, free: 95.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.634e-05/1.321, allocations: 30.44 kB / 0.7135 GB, free: 95.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.06298/1.384, allocations: 18.48 MB / 0.7316 GB, free: 93.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/1.384, allocations: 57.59 kB / 0.7316 GB, free: 93.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04427/1.428, allocations: 11.9 MB / 0.7433 GB, free: 90.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04648/1.475, allocations: 10.31 MB / 0.7533 GB, free: 82.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00502/1.48, allocations: 1.318 MB / 0.7546 GB, free: 81.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02388/1.504, allocations: 15.1 MB / 0.7694 GB, free: 66.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/1.509, allocations: 343.5 kB / 0.7697 GB, free: 65.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.511, allocations: 340 kB / 0.77 GB, free: 65.55 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 682 * 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.002338/1.513, allocations: 399.5 kB / 0.7704 GB, free: 65.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009524/1.514, allocations: 269.4 kB / 0.7706 GB, free: 64.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008696/1.523, allocations: 4.972 MB / 0.7755 GB, free: 59.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006332/1.529, allocations: 4.275 MB / 0.7797 GB, free: 55.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.702e-05/1.529, allocations: 0 / 0.7797 GB, free: 55.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/1.529, allocations: 11.97 kB / 0.7797 GB, free: 55.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/1.552, allocations: 11.96 MB / 0.7914 GB, free: 43.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/1.552, allocations: 4 kB / 0.7914 GB, free: 43.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/1.553, allocations: 416.6 kB / 0.7918 GB, free: 43.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/1.556, allocations: 0.9292 MB / 0.7927 GB, free: 42.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/1.556, allocations: 27.97 kB / 0.7927 GB, free: 42.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00521/1.562, allocations: 5.281 MB / 0.7979 GB, free: 36.69 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007285/1.562, allocations: 1.397 MB / 0.7992 GB, free: 35.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.573, allocations: 8.267 MB / 0.8073 GB, free: 26.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.574, allocations: 329.5 kB / 0.8076 GB, free: 26.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008251/1.575, allocations: 19.98 kB / 0.8076 GB, free: 26.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.577, allocations: 167.7 kB / 0.8078 GB, free: 26.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/1.577, allocations: 145 kB / 0.8079 GB, free: 25.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/1.578, allocations: 67.97 kB / 0.808 GB, free: 25.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002404/1.58, allocations: 1.564 MB / 0.8095 GB, free: 24.31 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.293e-06/1.58, allocations: 8 kB / 0.8095 GB, free: 24.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005157/1.585, allocations: 1.006 MB / 0.8105 GB, free: 23.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 163 * 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.0005574/1.586, allocations: 154.6 kB / 0.8107 GB, free: 23.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009406/1.595, allocations: 6.329 MB / 0.8168 GB, free: 16.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.595, allocations: 5.219 kB / 0.8168 GB, free: 16.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002999/1.598, allocations: 2.455 MB / 0.8192 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/1.6, allocations: 248.2 kB / 0.8195 GB, free: 14.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.618, allocations: 8.49 MB / 0.8278 GB, free: 5.449 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003625/1.622, allocations: 3.231 MB / 0.8309 GB, free: 2.199 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004838/1.627, allocations: 2.157 MB / 0.833 GB, free: 40 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007844/1.627, allocations: 211.4 kB / 0.8332 GB, free: 15.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/1.627, allocations: 0 / 0.8332 GB, free: 15.83 MB / 490.7 MB Notification: Performance of Templates: time 0.3381/1.966, allocations: 39.88 MB / 0.8722 GB, free: 123.8 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)