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.001983/0.001983, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.561/1.561, allocations: 194.3 MB / 207.5 MB, free: 3.402 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.001672/0.001672, allocations: 112.1 kB / 252.6 MB, free: 4.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2314/0.2314, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.707e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.6109, allocations: 115.1 MB / 0.5569 GB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.6113, allocations: 79.14 kB / 0.557 GB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.957/1.568, allocations: 230.1 MB / 0.7817 GB, free: 59.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.886e-06/1.568, allocations: 4 kB / 0.7817 GB, free: 59.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00133/1.57, allocations: 283.9 kB / 0.782 GB, free: 59.34 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: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.05916/1.629, allocations: 14.49 MB / 0.7961 GB, free: 44.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/1.629, allocations: 16.02 kB / 0.7961 GB, free: 44.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04437/1.673, allocations: 10.51 MB / 0.8064 GB, free: 34.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0397/1.713, allocations: 13.99 MB / 0.8201 GB, free: 20.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001452/1.715, allocations: 1.087 MB / 0.8211 GB, free: 19.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008802/1.723, allocations: 1.441 MB / 0.8225 GB, free: 17.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8211/2.545, allocations: 32.68 MB / 0.8544 GB, free: 60.86 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001098/2.546, allocations: 139.2 kB / 0.8546 GB, free: 60.86 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00729/2.553, allocations: 0.6568 MB / 0.8552 GB, free: 60.86 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00545/2.559, allocations: 2.549 MB / 0.8577 GB, free: 60.83 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07402/2.633, allocations: 26.89 MB / 0.884 GB, free: 60.73 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1948/2.827, allocations: 131.3 MB / 1.012 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03698/2.864, allocations: 12.89 MB / 1.025 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02268/2.887, allocations: 7.736 MB / 1.032 GB, free: 15.58 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7544/3.642, allocations: 31.11 MB / 1.063 GB, free: 119.5 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.495e-05/3.642, allocations: 77.95 kB / 1.063 GB, free: 119.4 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=424): time 7.784e-06/3.642, allocations: 3.875 kB / 1.063 GB, free: 119.4 MB / 0.5263 GB Notification: Performance of matching and sorting (n=554): time 0.2996/3.941, allocations: 106.4 MB / 1.167 GB, free: 89.53 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0275/3.969, allocations: 23.11 MB / 1.189 GB, free: 65.78 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/3.983, allocations: 8.25 MB / 1.197 GB, free: 57.66 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.001774/3.985, allocations: 119 kB / 1.197 GB, free: 57.54 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.005234/3.99, allocations: 8.93 MB / 1.206 GB, free: 48.61 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.002857/3.993, allocations: 2.14 MB / 1.208 GB, free: 46.49 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/3.994, allocations: 319 kB / 1.209 GB, free: 46.18 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0006354/3.995, allocations: 0.9879 MB / 1.21 GB, free: 45.18 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01158/4.006, allocations: 9.231 MB / 1.219 GB, free: 35.95 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01864/4.025, allocations: 18.49 MB / 1.237 GB, free: 13.09 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4227/4.448, allocations: 12.81 MB / 1.249 GB, free: 97.16 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002996/4.448, allocations: 94.25 kB / 1.249 GB, free: 97.16 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.07975/4.528, allocations: 34.94 MB / 1.283 GB, free: 95.44 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/4.528, allocations: 147.7 kB / 1.283 GB, free: 95.44 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04646/4.575, allocations: 21.9 MB / 1.305 GB, free: 92.67 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02966/4.604, allocations: 9.317 MB / 1.314 GB, free: 90.91 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01514/4.619, allocations: 3.933 MB / 1.318 GB, free: 90.48 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04814/4.668, allocations: 47.06 MB / 1.364 GB, free: 57.66 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01894/4.687, allocations: 1.704 MB / 1.365 GB, free: 56.53 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004142/4.691, allocations: 0.9833 MB / 1.366 GB, free: 55.61 MB / 0.5263 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 () * 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.005141/4.696, allocations: 1.303 MB / 1.368 GB, free: 54.4 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002163/4.698, allocations: 0.8698 MB / 1.368 GB, free: 54 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09893/4.797, allocations: 27.45 MB / 1.395 GB, free: 32.93 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1013/4.898, allocations: 25.62 MB / 1.42 GB, free: 7.254 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.938e-05/4.899, allocations: 26.69 kB / 1.42 GB, free: 7.23 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001575/4.899, allocations: 27.91 kB / 1.42 GB, free: 7.203 MB / 0.5263 GB 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.5078/5.407, allocations: 58.42 MB / 1.477 GB, free: 101.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.557e-05/5.407, allocations: 3.281 kB / 1.477 GB, free: 101.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006071/5.413, allocations: 1.084 MB / 1.478 GB, free: 101.8 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04285/5.456, allocations: 13.99 MB / 1.492 GB, free: 101.7 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001785/5.457, allocations: 167.7 kB / 1.492 GB, free: 101.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06472/5.522, allocations: 59.15 MB / 1.55 GB, free: 79.33 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0275/5.55, allocations: 22.83 MB / 1.572 GB, free: 65.18 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06966/5.619, allocations: 39.21 MB / 1.611 GB, free: 29.06 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009172/5.629, allocations: 2.473 MB / 1.613 GB, free: 27.04 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004477/5.633, allocations: 126.2 kB / 1.613 GB, free: 26.92 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009613/5.643, allocations: 0.8524 MB / 1.614 GB, free: 26.07 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002726/5.646, allocations: 425.3 kB / 1.614 GB, free: 25.66 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000779/5.646, allocations: 178.8 kB / 1.615 GB, free: 25.49 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.01191/5.658, allocations: 5.686 MB / 1.62 GB, free: 19.86 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.223e-06/5.658, allocations: 0 / 1.62 GB, free: 19.86 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.02095/5.679, allocations: 4.291 MB / 1.624 GB, free: 15.58 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 () * 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.002232/5.682, allocations: 286.2 kB / 1.625 GB, free: 15.35 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.3685/6.05, allocations: 23.18 MB / 1.647 GB, free: 121.4 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/6.05, allocations: 3.875 kB / 1.647 GB, free: 121.4 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.02262/6.073, allocations: 11.06 MB / 1.658 GB, free: 119.9 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01356/6.086, allocations: 1.273 MB / 1.659 GB, free: 119.9 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1068/6.193, allocations: 31.2 MB / 1.69 GB, free: 114.7 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03163/6.225, allocations: 9.474 MB / 1.699 GB, free: 113.6 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.02957/6.255, allocations: 5.105 MB / 1.704 GB, free: 113.5 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006526/6.261, allocations: 0.702 MB / 1.705 GB, free: 113.5 MB / 0.5575 GB Notification: Performance of SimCode: time 2.785e-06/6.261, allocations: 0 / 1.705 GB, free: 113.5 MB / 0.5575 GB Notification: Performance of Templates: time 0.7934/7.055, allocations: 166.8 MB / 1.868 GB, free: 117.1 MB / 0.5575 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)