Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum") translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008377/0.008377, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.599/1.599, allocations: 170.8 MB / 186.6 MB, free: 1.035 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001746/0.001746, allocations: 109.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4194/0.4194, allocations: 38.06 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004228, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4264/0.5674, allocations: 88.64 MB / 0.4885 GB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/0.5678, allocations: 70.47 kB / 0.4885 GB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7349/1.303, allocations: 171.6 MB / 0.6561 GB, free: 69.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.303, allocations: 3.938 kB / 0.6561 GB, free: 69.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008084/1.304, allocations: 171.1 kB / 0.6563 GB, free: 69.07 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: 2554 * Number of variables: 2554 Notification: Performance of Generate backend data structure: time 0.05543/1.359, allocations: 11.21 MB / 0.6673 GB, free: 65.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.359, allocations: 10.62 kB / 0.6673 GB, free: 65.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07683/1.436, allocations: 21.86 MB / 0.6886 GB, free: 56.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04873/1.485, allocations: 19.95 MB / 0.7081 GB, free: 37.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007392/1.485, allocations: 0.5556 MB / 0.7086 GB, free: 36.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005703/1.491, allocations: 0.7767 MB / 0.7094 GB, free: 35.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05237/1.544, allocations: 19.28 MB / 0.7282 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007297/1.544, allocations: 138.8 kB / 0.7284 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003321/1.548, allocations: 368.2 kB / 0.7287 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002338/1.55, allocations: 1.646 MB / 0.7303 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4076/1.958, allocations: 16.1 MB / 0.746 GB, free: 56.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1602/2.118, allocations: 90.06 MB / 0.834 GB, free: 33.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02538/2.143, allocations: 8.785 MB / 0.8426 GB, free: 30.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/2.145, allocations: 1.006 MB / 0.8435 GB, free: 29.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.816e-05/2.145, allocations: 69.09 kB / 0.8436 GB, free: 29.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=322): time 6.943e-06/2.145, allocations: 0 / 0.8436 GB, free: 29.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=397): time 0.2319/2.377, allocations: 67.18 MB / 0.9092 GB, free: 400 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3701/2.747, allocations: 5.167 MB / 0.9143 GB, free: 89.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02327/2.77, allocations: 7.562 MB / 0.9217 GB, free: 89.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002127/2.773, allocations: 85.89 kB / 0.9217 GB, free: 89.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007862/2.781, allocations: 6.113 MB / 0.9277 GB, free: 87.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004355/2.785, allocations: 1.543 MB / 0.9292 GB, free: 86.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/2.787, allocations: 222.2 kB / 0.9294 GB, free: 86.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008185/2.788, allocations: 0.7836 MB / 0.9302 GB, free: 86.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00997/2.798, allocations: 5.713 MB / 0.9358 GB, free: 86.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01633/2.814, allocations: 12 MB / 0.9475 GB, free: 78.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/2.829, allocations: 8.014 MB / 0.9553 GB, free: 76.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004109/2.83, allocations: 63.28 kB / 0.9554 GB, free: 76.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.09188/2.922, allocations: 36.01 MB / 0.9905 GB, free: 68.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002847/2.922, allocations: 100.2 kB / 0.9906 GB, free: 68.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05481/2.977, allocations: 23.82 MB / 1.014 GB, free: 64.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0485/3.025, allocations: 18.24 MB / 1.032 GB, free: 47.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/3.036, allocations: 2.757 MB / 1.034 GB, free: 44.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04693/3.083, allocations: 40.24 MB / 1.074 GB, free: 3.594 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01349/3.096, allocations: 1.146 MB / 1.075 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3127/3.409, allocations: 0.6637 MB / 1.075 GB, free: 78.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 996 * Number of states: 0 () * Number of discrete variables: 63 (Spherical6.sphereColor[3],Spherical6.sphereColor[2],Spherical6.sphereColor[1],Spherical5.sphereColor[3],Spherical5.sphereColor[2],Spherical5.sphereColor[1],boxBody6.color[3],boxBody6.color[2],boxBody6.color[1],boxBody6.body.sphereColor[3],boxBody6.body.sphereColor[2],boxBody6.body.sphereColor[1],boxBody5.color[3],boxBody5.color[2],boxBody5.color[1],boxBody5.body.sphereColor[3],boxBody5.body.sphereColor[2],boxBody5.body.sphereColor[1],Spherical4.sphereColor[3],Spherical4.sphereColor[2],Spherical4.sphereColor[1],Spherical3.sphereColor[3],Spherical3.sphereColor[2],Spherical3.sphereColor[1],boxBody4.color[3],boxBody4.color[2],boxBody4.color[1],boxBody4.body.sphereColor[3],boxBody4.body.sphereColor[2],boxBody4.body.sphereColor[1],boxBody3.color[3],boxBody3.color[2],boxBody3.color[1],boxBody3.body.sphereColor[3],boxBody3.body.sphereColor[2],boxBody3.body.sphereColor[1],Spherical2.sphereColor[3],Spherical2.sphereColor[2],Spherical2.sphereColor[1],Spherical1.sphereColor[3],Spherical1.sphereColor[2],Spherical1.sphereColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1310): * Single equations (assignments): 1286 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,59.4%) 13,(8,59.4%) 13} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01626/3.425, allocations: 3.95 MB / 1.079 GB, free: 77.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002948/3.428, allocations: 0.7849 MB / 1.08 GB, free: 77.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0323/3.461, allocations: 13.74 MB / 1.094 GB, free: 77.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02911/3.49, allocations: 12.25 MB / 1.105 GB, free: 77.29 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.479e-05/3.49, allocations: 19.44 kB / 1.105 GB, free: 77.29 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001531/3.49, allocations: 20.75 kB / 1.106 GB, free: 77.29 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07366/3.564, allocations: 29.29 MB / 1.134 GB, free: 68.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.942e-05/3.564, allocations: 0 / 1.134 GB, free: 68.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004752/3.569, allocations: 0.8976 MB / 1.135 GB, free: 68.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01788/3.586, allocations: 5.524 MB / 1.14 GB, free: 67.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001475/3.588, allocations: 108.9 kB / 1.14 GB, free: 67.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03523/3.623, allocations: 29.21 MB / 1.169 GB, free: 53.06 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002824/3.626, allocations: 4.742 MB / 1.174 GB, free: 48.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03772/3.664, allocations: 20.52 MB / 1.194 GB, free: 38.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003387/3.667, allocations: 0.8301 MB / 1.194 GB, free: 37.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003229/3.671, allocations: 86.98 kB / 1.195 GB, free: 37.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006847/3.677, allocations: 0.5105 MB / 1.195 GB, free: 37.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00188/3.679, allocations: 301.6 kB / 1.195 GB, free: 37.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005019/3.68, allocations: 119.2 kB / 1.195 GB, free: 37.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01016/3.69, allocations: 5.413 MB / 1.201 GB, free: 32.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.22e-07/3.69, allocations: 0.9375 kB / 1.201 GB, free: 32.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01412/3.704, allocations: 2.773 MB / 1.203 GB, free: 29.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[6],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],Spherical1.phi[1],Spherical1.phi[2],Spherical1.phi[3],Spherical1.phi_d[1],Spherical1.phi_d[2],Spherical1.phi_d[3],Spherical2.phi[1],Spherical2.phi[2],Spherical2.phi[3],Spherical2.phi_d[1],Spherical2.phi_d[2],Spherical2.phi_d[3],Spherical3.w_rel[1],Spherical3.w_rel[2],Spherical3.w_rel[3],Spherical4.w_rel[1],Spherical4.w_rel[2],Spherical4.w_rel[3],boxBody5.body.w_a[1],boxBody5.body.w_a[2],boxBody5.body.w_a[3],boxBody6.body.w_a[1],boxBody6.body.w_a[2],boxBody6.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 (296): * Single equations (assignments): 281 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {8,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,54.7%) 13,(8,54.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/3.706, allocations: 243.4 kB / 1.204 GB, free: 29.57 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1330:5-1332:19:writable] Warning: Variable Spherical2.phi_d[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1330:5-1332:19:writable] Warning: Variable Spherical2.phi_d[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1330:5-1332:19:writable] Warning: Variable Spherical1.phi_d[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1330:5-1332:19:writable] Warning: Variable Spherical1.phi_d[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.02641/3.732, allocations: 15.69 MB / 1.219 GB, free: 13.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/3.732, allocations: 6.281 kB / 1.219 GB, free: 13.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01295/3.745, allocations: 7.442 MB / 1.226 GB, free: 6.367 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007687/3.753, allocations: 1.21 MB / 1.227 GB, free: 5.207 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3132/4.066, allocations: 27.08 MB / 1.254 GB, free: 79.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01534/4.081, allocations: 6.322 MB / 1.26 GB, free: 78.65 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01409/4.095, allocations: 3.73 MB / 1.264 GB, free: 78.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0034/4.099, allocations: 0.5411 MB / 1.264 GB, free: 78.56 MB / 474.7 MB Notification: Performance of SimCode: time 2.855e-06/4.099, allocations: 0 / 1.264 GB, free: 78.56 MB / 474.7 MB Notification: Performance of Templates: time 0.1973/4.296, allocations: 123.2 MB / 1.385 GB, free: 22.18 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe 2>&1)