Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical") translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009433/0.009433, allocations: 165.7 kB / 15.11 MB, free: 6.039 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.486/1.486, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001597/0.001597, allocations: 111.3 kB / 226.2 MB, free: 10.12 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.3882/0.3882, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004261, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5585, allocations: 108.4 MB / 0.5078 GB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.5588, allocations: 81.89 kB / 0.5078 GB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7948/1.354, allocations: 229.5 MB / 0.732 GB, free: 15.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.178e-06/1.354, allocations: 4 kB / 0.732 GB, free: 15.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001387/1.355, allocations: 279.9 kB / 0.7323 GB, free: 14.89 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: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.6765/2.032, allocations: 15.2 MB / 0.7471 GB, free: 24.24 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/2.032, allocations: 9.469 kB / 0.7471 GB, free: 24.24 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0471/2.079, allocations: 10.46 MB / 0.7573 GB, free: 23.41 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03959/2.118, allocations: 14.02 MB / 0.771 GB, free: 22.9 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/2.12, allocations: 1.085 MB / 0.7721 GB, free: 22.87 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00734/2.127, allocations: 1.441 MB / 0.7735 GB, free: 22.85 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08982/2.217, allocations: 32.96 MB / 0.8057 GB, free: 16.79 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009987/2.218, allocations: 142.7 kB / 0.8058 GB, free: 16.79 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007023/2.225, allocations: 0.6529 MB / 0.8064 GB, free: 16.79 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004244/2.229, allocations: 2.541 MB / 0.8089 GB, free: 16.76 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05771/2.287, allocations: 27.27 MB / 0.8356 GB, free: 9.98 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7727/3.06, allocations: 131.3 MB / 0.9638 GB, free: 32.79 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03279/3.093, allocations: 13 MB / 0.9764 GB, free: 32.1 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04886/3.141, allocations: 30.97 MB / 1.007 GB, free: 24.77 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/3.142, allocations: 82.05 kB / 1.007 GB, free: 24.72 MB / 0.495 GB Notification: Performance of pre-optimization done (n=424): time 7.514e-06/3.142, allocations: 1.469 kB / 1.007 GB, free: 24.72 MB / 0.495 GB Notification: Performance of matching and sorting (n=554): time 0.3858/3.527, allocations: 127.2 MB / 1.131 GB, free: 6.316 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3272/3.855, allocations: 24.19 MB / 1.155 GB, free: 133.7 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01556/3.87, allocations: 8.34 MB / 1.163 GB, free: 133.3 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.001581/3.872, allocations: 106.6 kB / 1.163 GB, free: 133.3 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.006894/3.879, allocations: 8.926 MB / 1.172 GB, free: 129.3 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.003586/3.882, allocations: 2.142 MB / 1.174 GB, free: 128.1 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002075/3.884, allocations: 316.4 kB / 1.174 GB, free: 128.1 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0009845/3.885, allocations: 0.986 MB / 1.175 GB, free: 127.8 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01598/3.901, allocations: 9.381 MB / 1.184 GB, free: 127.7 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0238/3.925, allocations: 18.63 MB / 1.202 GB, free: 115.9 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02033/3.946, allocations: 12.85 MB / 1.215 GB, free: 112.1 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006206/3.946, allocations: 98.78 kB / 1.215 GB, free: 112.1 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.07231/4.019, allocations: 34.95 MB / 1.249 GB, free: 100.5 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000898/4.02, allocations: 151.6 kB / 1.249 GB, free: 100.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04648/4.066, allocations: 21.83 MB / 1.271 GB, free: 93.33 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02844/4.095, allocations: 9.053 MB / 1.279 GB, free: 91.62 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01465/4.109, allocations: 3.991 MB / 1.283 GB, free: 89.48 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04347/4.153, allocations: 46.97 MB / 1.329 GB, free: 46.64 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0186/4.171, allocations: 1.699 MB / 1.331 GB, free: 45.46 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004602/4.176, allocations: 0.9782 MB / 1.332 GB, free: 44.55 MB / 0.5419 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 (1967): * Single equations (assignments): 1940 * 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,1,1,1} * 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.3164/4.493, allocations: 6.723 MB / 1.338 GB, free: 121.5 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003325/4.496, allocations: 0.8695 MB / 1.339 GB, free: 121.5 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06762/4.563, allocations: 27.63 MB / 1.366 GB, free: 121.1 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05745/4.621, allocations: 25.81 MB / 1.391 GB, free: 120.8 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.39e-05/4.621, allocations: 19.78 kB / 1.391 GB, free: 120.8 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000186/4.621, allocations: 34.47 kB / 1.391 GB, free: 120.8 MB / 0.5419 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.1326/4.754, allocations: 58.6 MB / 1.449 GB, free: 102.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.717e-05/4.754, allocations: 4.5 kB / 1.449 GB, free: 102.3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00586/4.76, allocations: 1.078 MB / 1.45 GB, free: 102.3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04202/4.802, allocations: 14.01 MB / 1.463 GB, free: 99.39 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001808/4.804, allocations: 174 kB / 1.464 GB, free: 99.27 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3732/5.177, allocations: 61.8 MB / 1.524 GB, free: 113.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0294/5.207, allocations: 23.93 MB / 1.547 GB, free: 106.6 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07249/5.279, allocations: 39.48 MB / 1.586 GB, free: 105.1 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008467/5.288, allocations: 2.477 MB / 1.588 GB, free: 105 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003684/5.291, allocations: 128.2 kB / 1.588 GB, free: 105 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009682/5.301, allocations: 0.8564 MB / 1.589 GB, free: 105 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002469/5.304, allocations: 418.9 kB / 1.59 GB, free: 105 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009557/5.305, allocations: 171 kB / 1.59 GB, free: 105 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0121/5.317, allocations: 5.78 MB / 1.595 GB, free: 103.8 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.61e-07/5.317, allocations: 0 / 1.595 GB, free: 103.8 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.02127/5.338, allocations: 4.267 MB / 1.6 GB, free: 103.4 MB / 0.5419 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.001881/5.34, allocations: 287.9 kB / 1.6 GB, free: 103.3 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.03464/5.375, allocations: 23.04 MB / 1.622 GB, free: 94.85 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/5.375, allocations: 10.39 kB / 1.622 GB, free: 94.85 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0181/5.393, allocations: 11.23 MB / 1.633 GB, free: 89.87 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008869/5.402, allocations: 1.273 MB / 1.635 GB, free: 89.4 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08684/5.488, allocations: 41.43 MB / 1.675 GB, free: 62.2 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02618/5.515, allocations: 9.454 MB / 1.684 GB, free: 55.35 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.01755/5.532, allocations: 5.107 MB / 1.689 GB, free: 51.97 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004316/5.537, allocations: 0.7022 MB / 1.69 GB, free: 51.38 MB / 0.5419 GB Notification: Performance of SimCode: time 1.333e-06/5.537, allocations: 0 / 1.69 GB, free: 51.38 MB / 0.5419 GB Notification: Performance of Templates: time 0.6005/6.137, allocations: 164.8 MB / 1.851 GB, free: 54.98 MB / 0.5419 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1)