Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.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.SphericalDoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum") translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007276/0.007275, allocations: 176 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.649/1.649, allocations: 194.5 MB / 210.3 MB, free: 8.598 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.001659/0.001659, allocations: 120.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1767/0.1767, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 9.531 kB / 406.1 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 54.87 MB / 461 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4959/0.6273, allocations: 95.39 MB / 0.5434 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.6277, allocations: 69.28 kB / 0.5434 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4279/1.056, allocations: 171.8 MB / 0.7112 GB, free: 10.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.306e-06/1.056, allocations: 0 / 0.7112 GB, free: 10.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00103/1.057, allocations: 172 kB / 0.7114 GB, free: 10.36 MB / 490.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.6385/1.695, allocations: 11.21 MB / 0.7223 GB, free: 72.67 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/1.695, allocations: 9.656 kB / 0.7223 GB, free: 72.67 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07988/1.775, allocations: 21.89 MB / 0.7437 GB, free: 72.09 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04482/1.82, allocations: 19.96 MB / 0.7632 GB, free: 71.42 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006978/1.821, allocations: 0.5598 MB / 0.7637 GB, free: 71.41 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004269/1.825, allocations: 0.7757 MB / 0.7645 GB, free: 71.39 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04563/1.871, allocations: 19.27 MB / 0.7833 GB, free: 66.62 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006467/1.871, allocations: 139.9 kB / 0.7835 GB, free: 66.61 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003046/1.874, allocations: 365.4 kB / 0.7838 GB, free: 66.61 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002668/1.877, allocations: 1.647 MB / 0.7854 GB, free: 66.59 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03639/1.913, allocations: 16.11 MB / 0.8011 GB, free: 66.53 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1206/2.034, allocations: 90.07 MB / 0.8891 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02292/2.057, allocations: 8.785 MB / 0.8977 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/2.059, allocations: 1.001 MB / 0.8987 GB, free: 17.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.794e-05/2.059, allocations: 72.56 kB / 0.8987 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=322): time 9.768e-06/2.059, allocations: 3.562 kB / 0.8987 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=397): time 0.5586/2.617, allocations: 67.18 MB / 0.9643 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003059/2.62, allocations: 5.173 MB / 0.9694 GB, free: 91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01587/2.636, allocations: 7.555 MB / 0.9768 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001588/2.638, allocations: 91.88 kB / 0.9768 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005804/2.644, allocations: 6.109 MB / 0.9828 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003047/2.647, allocations: 1.548 MB / 0.9843 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/2.648, allocations: 220.4 kB / 0.9845 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006243/2.649, allocations: 0.7807 MB / 0.9853 GB, free: 86.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009463/2.658, allocations: 5.719 MB / 0.9909 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01301/2.671, allocations: 12 MB / 1.003 GB, free: 78.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/2.683, allocations: 8.027 MB / 1.01 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001699/2.684, allocations: 64.38 kB / 1.011 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.08358/2.767, allocations: 36.21 MB / 1.046 GB, free: 66.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/2.768, allocations: 96 kB / 1.046 GB, free: 65.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05252/2.82, allocations: 23.99 MB / 1.069 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04802/2.868, allocations: 18.41 MB / 1.087 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/2.879, allocations: 2.721 MB / 1.09 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3729/3.251, allocations: 41.06 MB / 1.13 GB, free: 77.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/3.265, allocations: 1.146 MB / 1.131 GB, free: 77.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002917/3.268, allocations: 0.6657 MB / 1.132 GB, free: 77.64 MB / 0.5105 GB 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 (1304): * Single equations (assignments): 1280 * 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 {4,4} * 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.009858/3.277, allocations: 3.948 MB / 1.136 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0022/3.28, allocations: 0.7906 MB / 1.137 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02799/3.308, allocations: 13.74 MB / 1.15 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02414/3.332, allocations: 12.25 MB / 1.162 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.943e-05/3.332, allocations: 18.19 kB / 1.162 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/3.332, allocations: 17.39 kB / 1.162 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0541/3.386, allocations: 29.29 MB / 1.191 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/3.386, allocations: 2.719 kB / 1.191 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004314/3.391, allocations: 0.8939 MB / 1.191 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01673/3.407, allocations: 5.522 MB / 1.197 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001651/3.409, allocations: 111.1 kB / 1.197 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03422/3.443, allocations: 29.21 MB / 1.225 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003221/3.446, allocations: 4.742 MB / 1.23 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03534/3.482, allocations: 20.51 MB / 1.25 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003056/3.485, allocations: 0.8337 MB / 1.251 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002804/3.488, allocations: 95.2 kB / 1.251 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00616/3.494, allocations: 0.4991 MB / 1.251 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001511/3.496, allocations: 304.8 kB / 1.252 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005208/3.496, allocations: 119.2 kB / 1.252 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01009/3.506, allocations: 5.403 MB / 1.257 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/3.506, allocations: 0 / 1.257 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01639/3.523, allocations: 2.79 MB / 1.26 GB, free: 24.87 MB / 0.5105 GB 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.001512/3.524, allocations: 247 kB / 1.26 GB, free: 24.67 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Joints.mo:1298:5-1300: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.2+maint.om/Mechanics/MultiBody/Joints.mo:1298:5-1300: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.2+maint.om/Mechanics/MultiBody/Joints.mo:1298:5-1300:19:writable] Warning: Variable Spherical1.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.2+maint.om/Mechanics/MultiBody/Joints.mo:1298:5-1300:19:writable] Warning: Variable Spherical1.phi_d[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.02498/3.549, allocations: 15.97 MB / 1.276 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/3.549, allocations: 4 kB / 1.276 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0137/3.563, allocations: 7.442 MB / 1.283 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008987/3.572, allocations: 1.215 MB / 1.284 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3224/3.894, allocations: 27.13 MB / 1.311 GB, free: 91.29 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/3.907, allocations: 6.333 MB / 1.317 GB, free: 90.37 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01207/3.919, allocations: 3.716 MB / 1.32 GB, free: 90.29 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002516/3.921, allocations: 0.5445 MB / 1.321 GB, free: 90.29 MB / 0.5262 GB Notification: Performance of SimCode: time 1.132e-06/3.921, allocations: 0 / 1.321 GB, free: 90.29 MB / 0.5262 GB Notification: Performance of Templates: time 0.1952/4.117, allocations: 124.5 MB / 1.443 GB, free: 36.34 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.pipe 2>&1)