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.001453/0.001453, allocations: 176.2 kB / 7.652 MB, free: 1.426 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.455/1.455, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.001674/0.001674, allocations: 119.5 kB / 247.4 MB, free: 15.96 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.1954/0.1954, allocations: 39.94 MB / 332.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.813e-05, allocations: 4 kB / 393.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2826, allocations: 54.86 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.6907, allocations: 94.63 MB / 0.5301 GB, free: 31.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.691, allocations: 69.14 kB / 0.5302 GB, free: 31.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4019/1.093, allocations: 168.8 MB / 0.695 GB, free: 12.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.335e-06/1.093, allocations: 0 / 0.695 GB, free: 12.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007982/1.094, allocations: 172 kB / 0.6952 GB, free: 12.67 MB / 474.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.04558/1.139, allocations: 10.03 MB / 0.705 GB, free: 2.559 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.139, allocations: 8.031 kB / 0.705 GB, free: 2.551 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3593/1.499, allocations: 21.91 MB / 0.7264 GB, free: 71.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03999/1.539, allocations: 19.85 MB / 0.7458 GB, free: 70.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/1.539, allocations: 243.3 kB / 0.746 GB, free: 70.83 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003743/1.543, allocations: 477 kB / 0.7465 GB, free: 70.81 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02225/1.565, allocations: 10.38 MB / 0.7566 GB, free: 70.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03703/1.602, allocations: 16.21 MB / 0.7724 GB, free: 66.04 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005406/1.603, allocations: 137.2 kB / 0.7726 GB, free: 66.03 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002775/1.606, allocations: 55.64 kB / 0.7726 GB, free: 66.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002477/1.608, allocations: 1.645 MB / 0.7742 GB, free: 66.01 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/1.711, allocations: 87.69 MB / 0.8598 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007105/1.718, allocations: 6.062 MB / 0.8658 GB, free: 9.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005652/1.724, allocations: 4.714 MB / 0.8704 GB, free: 5.363 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/1.725, allocations: 1 MB / 0.8714 GB, free: 4.285 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/1.725, allocations: 73.69 kB / 0.8714 GB, free: 4.211 MB / 490.7 MB Notification: Performance of pre-optimization done (n=322): time 9.437e-06/1.725, allocations: 0 / 0.8714 GB, free: 4.211 MB / 490.7 MB Notification: Performance of matching and sorting (n=396): time 0.4888/2.214, allocations: 55.39 MB / 0.9255 GB, free: 91.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002653/2.215, allocations: 479.9 kB / 0.926 GB, free: 90.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01378/2.228, allocations: 6.756 MB / 0.9326 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001555/2.23, allocations: 29.23 kB / 0.9326 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00484/2.235, allocations: 6.126 MB / 0.9386 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002883/2.238, allocations: 1.499 MB / 0.94 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009982/2.239, allocations: 10.25 kB / 0.9401 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005504/2.239, allocations: 0.7827 MB / 0.9408 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006863/2.246, allocations: 5.496 MB / 0.9462 GB, free: 86.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/2.257, allocations: 11.85 MB / 0.9578 GB, free: 78.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/2.269, allocations: 7.861 MB / 0.9654 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002955/2.269, allocations: 64.09 kB / 0.9655 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1475) (initialization): time 0.08887/2.358, allocations: 34.84 MB / 0.9995 GB, free: 72.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004869/2.359, allocations: 99.66 kB / 0.9996 GB, free: 72.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05737/2.416, allocations: 23.84 MB / 1.023 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05055/2.467, allocations: 18.46 MB / 1.041 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009868/2.477, allocations: 2.78 MB / 1.044 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3733/2.85, allocations: 36.41 MB / 1.079 GB, free: 78.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01584/2.866, allocations: 0.9459 MB / 1.08 GB, free: 78.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004126/2.87, allocations: 0.6865 MB / 1.081 GB, free: 78.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1020 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1327): * Single equations (assignments): 1303 * 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,54.7%) 13,(8,54.7%) 13,(8,59.4%) 13} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005628/2.876, allocations: 0.6756 MB / 1.081 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003184/2.879, allocations: 0.752 MB / 1.082 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03473/2.914, allocations: 13.45 MB / 1.095 GB, free: 77.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02763/2.941, allocations: 12.02 MB / 1.107 GB, free: 77.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.583e-05/2.941, allocations: 15.75 kB / 1.107 GB, free: 77.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001912/2.942, allocations: 28.14 kB / 1.107 GB, free: 77.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06805/3.01, allocations: 28.01 MB / 1.134 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.947e-05/3.01, allocations: 7.312 kB / 1.134 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004698/3.014, allocations: 0.8942 MB / 1.135 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01732/3.032, allocations: 5.483 MB / 1.141 GB, free: 75.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00164/3.033, allocations: 58.53 kB / 1.141 GB, free: 75.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03363/3.067, allocations: 26.84 MB / 1.167 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00289/3.07, allocations: 4.492 MB / 1.171 GB, free: 59.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03901/3.109, allocations: 20.12 MB / 1.191 GB, free: 52.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00311/3.112, allocations: 0.7929 MB / 1.192 GB, free: 51.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003069/3.115, allocations: 30.08 kB / 1.192 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007122/3.122, allocations: 458.3 kB / 1.192 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001949/3.124, allocations: 301 kB / 1.193 GB, free: 51.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001049/3.126, allocations: 125.4 kB / 1.193 GB, free: 51.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00984/3.135, allocations: 4.668 MB / 1.197 GB, free: 49.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.4e-07/3.135, allocations: 0 / 1.197 GB, free: 49.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01458/3.15, allocations: 2.626 MB / 1.2 GB, free: 47.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 36 ($STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 280 * 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,59.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/3.151, allocations: 193.4 kB / 1.2 GB, free: 47.12 MB / 0.4948 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 was selected as a continuous variable. [/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 was selected as a continuous variable. [/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 was selected as a continuous variable. [/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 was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.02698/3.178, allocations: 15.43 MB / 1.215 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/3.178, allocations: 7.469 kB / 1.215 GB, free: 33.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01373/3.192, allocations: 7.281 MB / 1.222 GB, free: 27.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009298/3.201, allocations: 1.071 MB / 1.223 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04607/3.247, allocations: 20.28 MB / 1.243 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01159/3.259, allocations: 6.324 MB / 1.249 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01123/3.27, allocations: 3.752 MB / 1.253 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/3.273, allocations: 0.5305 MB / 1.253 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/3.273, allocations: 0 / 1.253 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of Templates: time 0.4191/3.692, allocations: 117.2 MB / 1.368 GB, free: 68.16 MB / 0.5105 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)