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.001304/0.001303, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.455/1.455, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001693/0.001692, allocations: 105.2 kB / 218 MB, free: 8.418 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.1631/0.1631, allocations: 37.99 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.29e-05/1.288e-05, allocations: 1.188 kB / 350 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.09941, allocations: 48.73 MB / 398.7 MB, free: 5.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3807/0.4802, allocations: 87.88 MB / 486.6 MB, free: 18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.4804, allocations: 64.75 kB / 486.7 MB, free: 18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7111/1.191, allocations: 168.6 MB / 0.6399 GB, free: 59.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.192, allocations: 0 / 0.6399 GB, free: 59.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001565/1.193, allocations: 172.5 kB / 0.6401 GB, free: 59.72 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.04654/1.24, allocations: 10.03 MB / 0.6499 GB, free: 56.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.24, allocations: 10.53 kB / 0.6499 GB, free: 56.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07893/1.319, allocations: 21.89 MB / 0.6713 GB, free: 55.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04704/1.366, allocations: 19.83 MB / 0.6907 GB, free: 54.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004014/1.366, allocations: 253.5 kB / 0.6909 GB, free: 54.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003909/1.37, allocations: 474 kB / 0.6913 GB, free: 54.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01971/1.39, allocations: 10.38 MB / 0.7015 GB, free: 54.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03615/1.426, allocations: 16.21 MB / 0.7173 GB, free: 46.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005037/1.427, allocations: 145.3 kB / 0.7175 GB, free: 46.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001723/1.428, allocations: 56 kB / 0.7175 GB, free: 46.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/1.431, allocations: 1.635 MB / 0.7191 GB, free: 45.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4388/1.869, allocations: 87.71 MB / 0.8048 GB, free: 36.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009021/1.878, allocations: 6.066 MB / 0.8107 GB, free: 35.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006039/1.885, allocations: 4.705 MB / 0.8153 GB, free: 35.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/1.886, allocations: 1.006 MB / 0.8163 GB, free: 34.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/1.886, allocations: 73.25 kB / 0.8163 GB, free: 34.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=322): time 5.37e-06/1.886, allocations: 0 / 0.8163 GB, free: 34.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=396): time 0.1248/2.011, allocations: 54.84 MB / 0.8699 GB, free: 27.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/2.011, allocations: 482.3 kB / 0.8704 GB, free: 26.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/2.023, allocations: 6.757 MB / 0.8769 GB, free: 24.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001459/2.024, allocations: 25.7 kB / 0.877 GB, free: 24.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004323/2.029, allocations: 6.128 MB / 0.883 GB, free: 20.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00234/2.031, allocations: 1.498 MB / 0.8844 GB, free: 19.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006337/2.032, allocations: 0 / 0.8844 GB, free: 19.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005133/2.032, allocations: 0.7911 MB / 0.8852 GB, free: 18.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006148/2.038, allocations: 5.487 MB / 0.8906 GB, free: 16.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009787/2.048, allocations: 11.85 MB / 0.9021 GB, free: 6.238 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/2.062, allocations: 7.84 MB / 0.9098 GB, free: 436 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002793/2.062, allocations: 66.25 kB / 0.9098 GB, free: 372 kB / 458.7 MB Notification: Performance of matching and sorting (n=1475) (initialization): time 0.1003/2.162, allocations: 35.89 MB / 0.9449 GB, free: 9.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/2.163, allocations: 100 kB / 0.945 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06071/2.223, allocations: 23.68 MB / 0.9681 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4024/2.626, allocations: 18.3 MB / 0.986 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/2.636, allocations: 2.813 MB / 0.9887 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04493/2.681, allocations: 35.7 MB / 1.024 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/2.695, allocations: 0.9468 MB / 1.025 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003176/2.699, allocations: 0.6836 MB / 1.025 GB, free: 107.2 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 (1333): * Single equations (assignments): 1309 * 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,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.004044/2.703, allocations: 0.6755 MB / 1.026 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002297/2.705, allocations: 0.7568 MB / 1.027 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02781/2.733, allocations: 13.45 MB / 1.04 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02497/2.758, allocations: 12.03 MB / 1.051 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.394e-05/2.758, allocations: 15.25 kB / 1.051 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001488/2.758, allocations: 19.59 kB / 1.051 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0565/2.815, allocations: 28 MB / 1.079 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/2.815, allocations: 3.906 kB / 1.079 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004555/2.819, allocations: 0.8997 MB / 1.08 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01727/2.836, allocations: 5.478 MB / 1.085 GB, free: 92.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/2.838, allocations: 58.11 kB / 1.085 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03168/2.869, allocations: 26.85 MB / 1.111 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002658/2.872, allocations: 4.49 MB / 1.116 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03473/2.907, allocations: 20.13 MB / 1.135 GB, free: 43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/2.91, allocations: 0.7869 MB / 1.136 GB, free: 42.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002843/2.913, allocations: 31.97 kB / 1.136 GB, free: 42.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006527/2.919, allocations: 462.1 kB / 1.137 GB, free: 41.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001518/2.921, allocations: 301 kB / 1.137 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004531/2.921, allocations: 119.9 kB / 1.137 GB, free: 41.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008228/2.929, allocations: 4.671 MB / 1.142 GB, free: 36.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/2.929, allocations: 0 / 1.142 GB, free: 36.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01718/2.947, allocations: 2.617 MB / 1.144 GB, free: 34.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 36 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.001355/2.948, allocations: 186.7 kB / 1.144 GB, free: 33.92 MB / 0.4948 GB [/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 was selected as a continuous variable. [/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 was selected as a continuous variable. [/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 was selected as a continuous variable. [/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 was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.324/3.272, allocations: 15.15 MB / 1.159 GB, free: 112 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/3.272, allocations: 2.062 kB / 1.159 GB, free: 112 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01575/3.288, allocations: 7.281 MB / 1.166 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/3.299, allocations: 1.078 MB / 1.167 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04607/3.345, allocations: 20.29 MB / 1.187 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/3.357, allocations: 6.325 MB / 1.193 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01266/3.369, allocations: 3.755 MB / 1.197 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003258/3.373, allocations: 0.528 MB / 1.197 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.894e-06/3.373, allocations: 3.656 kB / 1.197 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1844/3.557, allocations: 116 MB / 1.311 GB, free: 42.23 MB / 0.4948 GB 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)