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.001194/0.001194, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.309/1.309, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001641/0.001641, allocations: 103.5 kB / 223.2 MB, free: 4.117 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.1606/0.1606, allocations: 38.01 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.998e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08541/0.08545, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3457/0.4312, allocations: 108.3 MB / 0.5019 GB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4315, allocations: 71.88 kB / 0.502 GB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7427/1.174, allocations: 229.8 MB / 0.7264 GB, free: 48.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.174, allocations: 0 / 0.7264 GB, free: 48.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006494/1.175, allocations: 283.9 kB / 0.7267 GB, free: 47.86 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.05295/1.228, allocations: 14.5 MB / 0.7408 GB, free: 33.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.228, allocations: 12.03 kB / 0.7409 GB, free: 33.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04044/1.268, allocations: 10.46 MB / 0.7511 GB, free: 22.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03427/1.303, allocations: 13.97 MB / 0.7647 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001081/1.304, allocations: 1.079 MB / 0.7658 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00803/1.312, allocations: 1.438 MB / 0.7672 GB, free: 6.176 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7308/2.043, allocations: 32.68 MB / 0.7991 GB, free: 47.82 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001169/2.044, allocations: 140.8 kB / 0.7992 GB, free: 47.82 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008528/2.053, allocations: 0.6606 MB / 0.7999 GB, free: 47.82 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004972/2.058, allocations: 2.54 MB / 0.8023 GB, free: 47.79 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07765/2.135, allocations: 26.88 MB / 0.8286 GB, free: 47.69 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.196/2.331, allocations: 131.3 MB / 0.9568 GB, free: 8.148 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03682/2.368, allocations: 12.89 MB / 0.9694 GB, free: 0.8281 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.5733/2.942, allocations: 8.231 MB / 0.9774 GB, free: 106.9 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05668/2.998, allocations: 31.02 MB / 1.008 GB, free: 99.64 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/2.998, allocations: 79.47 kB / 1.008 GB, free: 99.6 MB / 490.9 MB Notification: Performance of pre-optimization done (n=424): time 7.354e-06/2.998, allocations: 0 / 1.008 GB, free: 99.6 MB / 490.9 MB Notification: Performance of matching and sorting (n=554): time 0.297/3.295, allocations: 106.4 MB / 1.112 GB, free: 52.71 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02847/3.324, allocations: 23.09 MB / 1.134 GB, free: 28.96 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02021/3.344, allocations: 8.254 MB / 1.142 GB, free: 20.77 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001611/3.346, allocations: 112.1 kB / 1.142 GB, free: 20.65 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.3205/3.666, allocations: 8.921 MB / 1.151 GB, free: 94.91 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.004076/3.67, allocations: 2.145 MB / 1.153 GB, free: 94.38 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002236/3.673, allocations: 321.4 kB / 1.154 GB, free: 94.38 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.001065/3.674, allocations: 0.9875 MB / 1.155 GB, free: 94.04 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0151/3.689, allocations: 9.22 MB / 1.164 GB, free: 94 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02096/3.71, allocations: 18.48 MB / 1.182 GB, free: 82.14 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02027/3.73, allocations: 12.79 MB / 1.194 GB, free: 81.98 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006975/3.731, allocations: 99.19 kB / 1.194 GB, free: 81.98 MB / 490.9 MB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.07071/3.802, allocations: 34.63 MB / 1.228 GB, free: 73.06 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.00079/3.802, allocations: 146.9 kB / 1.228 GB, free: 73.06 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04548/3.848, allocations: 21.65 MB / 1.249 GB, free: 66.16 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02902/3.877, allocations: 9.063 MB / 1.258 GB, free: 63.31 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01523/3.892, allocations: 3.982 MB / 1.262 GB, free: 59.97 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04436/3.937, allocations: 45.78 MB / 1.307 GB, free: 18.11 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01943/3.956, allocations: 1.698 MB / 1.308 GB, free: 16.94 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004465/3.961, allocations: 0.9755 MB / 1.309 GB, free: 16.03 MB / 490.9 MB 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 () * 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.006712/3.967, allocations: 1.304 MB / 1.311 GB, free: 14.72 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002886/3.97, allocations: 0.8676 MB / 1.311 GB, free: 13.84 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3932/4.364, allocations: 27.59 MB / 1.338 GB, free: 76 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05863/4.422, allocations: 25.62 MB / 1.363 GB, free: 75.68 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.544e-05/4.422, allocations: 28.22 kB / 1.363 GB, free: 75.68 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001682/4.423, allocations: 26.88 kB / 1.363 GB, free: 75.68 MB / 490.9 MB Warning: The model contains alias variables with conflicting start and/or 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.1187/4.541, allocations: 58.41 MB / 1.42 GB, free: 61.88 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.957e-05/4.541, allocations: 11.16 kB / 1.42 GB, free: 61.87 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005901/4.547, allocations: 1.08 MB / 1.422 GB, free: 61.84 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04341/4.591, allocations: 14 MB / 1.435 GB, free: 55.28 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001763/4.593, allocations: 167.2 kB / 1.435 GB, free: 55.16 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.063/4.656, allocations: 59.15 MB / 1.493 GB, free: 14.39 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3795/5.035, allocations: 22.84 MB / 1.515 GB, free: 98.95 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07651/5.112, allocations: 39.2 MB / 1.554 GB, free: 97.54 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007867/5.12, allocations: 2.474 MB / 1.556 GB, free: 97.44 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003877/5.124, allocations: 125.5 kB / 1.556 GB, free: 97.44 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009257/5.133, allocations: 0.8528 MB / 1.557 GB, free: 97.44 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002667/5.136, allocations: 421.3 kB / 1.557 GB, free: 97.44 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001445/5.137, allocations: 175.8 kB / 1.558 GB, free: 97.44 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.0158/5.153, allocations: 5.687 MB / 1.563 GB, free: 97.15 MB / 0.5107 GB Notification: Performance of sort global known variables: time 7.11e-07/5.153, allocations: 0 / 1.563 GB, free: 97.15 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.02504/5.178, allocations: 4.273 MB / 1.567 GB, free: 97.15 MB / 0.5107 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 () * 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.001948/5.18, allocations: 281.5 kB / 1.568 GB, free: 97.06 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0336/5.214, allocations: 22.75 MB / 1.59 GB, free: 90.32 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/5.214, allocations: 3.188 kB / 1.59 GB, free: 90.32 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.0178/5.231, allocations: 11.08 MB / 1.601 GB, free: 85.3 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009756/5.241, allocations: 1.279 MB / 1.602 GB, free: 84.83 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06147/5.303, allocations: 31.18 MB / 1.632 GB, free: 62.39 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01832/5.321, allocations: 9.469 MB / 1.642 GB, free: 55.54 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 0.01508/5.336, allocations: 5.105 MB / 1.647 GB, free: 52.16 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003745/5.34, allocations: 0.7072 MB / 1.647 GB, free: 51.56 MB / 0.5107 GB Notification: Performance of SimCode: time 1.993e-06/5.34, allocations: 0 / 1.647 GB, free: 51.56 MB / 0.5107 GB Notification: Performance of Templates: time 0.5857/5.926, allocations: 164.8 MB / 1.808 GB, free: 56.71 MB / 0.5107 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)