Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical") translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006968/0.006968, allocations: 173.3 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.726/1.726, allocations: 194.5 MB / 210.3 MB, free: 7.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.001753/0.001753, allocations: 120.5 kB / 255.6 MB, free: 10.16 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.2079/0.2079, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004661, allocations: 14.69 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4767/0.6207, allocations: 115.2 MB / 0.5627 GB, free: 21.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.6209, allocations: 83.27 kB / 0.5628 GB, free: 21.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8305/1.451, allocations: 229.8 MB / 0.7873 GB, free: 59.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.451, allocations: 0 / 0.7873 GB, free: 59.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006838/1.452, allocations: 286.5 kB / 0.7876 GB, free: 59.32 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: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.0622/1.514, allocations: 15.22 MB / 0.8024 GB, free: 54.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.514, allocations: 7.812 kB / 0.8024 GB, free: 54.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04835/1.563, allocations: 10.5 MB / 0.8127 GB, free: 53.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03657/1.599, allocations: 14.04 MB / 0.8264 GB, free: 52.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/1.6, allocations: 1.088 MB / 0.8274 GB, free: 52.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006929/1.607, allocations: 1.439 MB / 0.8289 GB, free: 52.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08317/1.691, allocations: 32.96 MB / 0.861 GB, free: 34.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008103/1.691, allocations: 142.4 kB / 0.8612 GB, free: 34.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006659/1.698, allocations: 0.6598 MB / 0.8618 GB, free: 33.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003814/1.702, allocations: 2.542 MB / 0.8643 GB, free: 31.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06145/1.763, allocations: 27.28 MB / 0.8909 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5424/2.306, allocations: 131.3 MB / 1.019 GB, free: 34.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03338/2.339, allocations: 13 MB / 1.032 GB, free: 33.53 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04882/2.388, allocations: 30.98 MB / 1.062 GB, free: 20.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/2.388, allocations: 85.53 kB / 1.062 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=424): time 6.141e-06/2.388, allocations: 0 / 1.062 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=554): time 0.67/3.058, allocations: 126.9 MB / 1.186 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02952/3.088, allocations: 24.18 MB / 1.21 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/3.104, allocations: 8.341 MB / 1.218 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001726/3.106, allocations: 107.5 kB / 1.218 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006011/3.112, allocations: 8.926 MB / 1.227 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003023/3.115, allocations: 2.144 MB / 1.229 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001641/3.116, allocations: 318.1 kB / 1.229 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0007834/3.117, allocations: 0.9925 MB / 1.23 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0139/3.131, allocations: 9.386 MB / 1.239 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01842/3.15, allocations: 18.65 MB / 1.257 GB, free: 89.97 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01765/3.167, allocations: 12.87 MB / 1.27 GB, free: 85.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003732/3.168, allocations: 95.91 kB / 1.27 GB, free: 85.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.07694/3.245, allocations: 35.27 MB / 1.305 GB, free: 63.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/3.245, allocations: 147.6 kB / 1.305 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04422/3.289, allocations: 22.07 MB / 1.326 GB, free: 45.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3392/3.628, allocations: 9.368 MB / 1.335 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01542/3.644, allocations: 3.93 MB / 1.339 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04888/3.693, allocations: 48.42 MB / 1.387 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/3.711, allocations: 1.707 MB / 1.388 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004648/3.716, allocations: 0.9787 MB / 1.389 GB, free: 101.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1485 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (1958): * Single equations (assignments): 1931 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02019/3.736, allocations: 6.27 MB / 1.395 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002632/3.739, allocations: 0.8665 MB / 1.396 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06153/3.801, allocations: 27.63 MB / 1.423 GB, free: 93.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05548/3.856, allocations: 25.81 MB / 1.448 GB, free: 86.01 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/3.856, allocations: 24.75 kB / 1.448 GB, free: 86.01 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001769/3.856, allocations: 29.33 kB / 1.448 GB, free: 86.01 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.114/3.97, allocations: 58.61 MB / 1.506 GB, free: 44.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.39e-05/3.971, allocations: 4 kB / 1.506 GB, free: 44.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005752/3.976, allocations: 1.075 MB / 1.507 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04214/4.018, allocations: 14.01 MB / 1.52 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001617/4.02, allocations: 171.8 kB / 1.52 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3837/4.404, allocations: 61.81 MB / 1.581 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02816/4.432, allocations: 23.93 MB / 1.604 GB, free: 91.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07616/4.508, allocations: 39.49 MB / 1.643 GB, free: 77.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009534/4.518, allocations: 2.477 MB / 1.645 GB, free: 76.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004834/4.523, allocations: 126.6 kB / 1.645 GB, free: 76.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009943/4.533, allocations: 0.8563 MB / 1.646 GB, free: 76.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003206/4.536, allocations: 419.9 kB / 1.647 GB, free: 76.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001791/4.538, allocations: 181.7 kB / 1.647 GB, free: 76.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01573/4.554, allocations: 5.77 MB / 1.652 GB, free: 74.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.71e-07/4.554, allocations: 0 / 1.652 GB, free: 74.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02552/4.579, allocations: 4.284 MB / 1.657 GB, free: 74.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002766/4.582, allocations: 281.3 kB / 1.657 GB, free: 74.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0357/4.618, allocations: 23.47 MB / 1.68 GB, free: 58.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/4.618, allocations: 0 / 1.68 GB, free: 58.01 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01729/4.635, allocations: 11.23 MB / 1.691 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008701/4.644, allocations: 1.271 MB / 1.692 GB, free: 47.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07614/4.72, allocations: 41.48 MB / 1.732 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3259/5.046, allocations: 9.472 MB / 1.742 GB, free: 99.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02072/5.067, allocations: 5.101 MB / 1.747 GB, free: 99.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004638/5.071, allocations: 0.7007 MB / 1.747 GB, free: 99.09 MB / 0.5573 GB Notification: Performance of SimCode: time 1.533e-06/5.071, allocations: 0 / 1.747 GB, free: 99.09 MB / 0.5573 GB Notification: Performance of Templates: time 0.2636/5.335, allocations: 166.9 MB / 1.91 GB, free: 16.15 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1)