Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.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.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01012/0.01012, allocations: 176 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.881/1.881, allocations: 194.5 MB / 210.3 MB, free: 7.727 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.001718/0.001718, allocations: 116.6 kB / 255.6 MB, free: 10.35 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.203/0.203, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003922, allocations: 11.44 kB / 406.2 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.598, allocations: 111 MB / 0.5586 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.5983, allocations: 82.67 kB / 0.5587 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.816/1.414, allocations: 229.6 MB / 0.7829 GB, free: 61.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.414, allocations: 0 / 0.7829 GB, free: 61.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006797/1.415, allocations: 281.5 kB / 0.7832 GB, free: 61.12 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: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.06168/1.477, allocations: 14.53 MB / 0.7973 GB, free: 56.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.477, allocations: 13.86 kB / 0.7974 GB, free: 56.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04332/1.52, allocations: 10.91 MB / 0.808 GB, free: 55.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03997/1.56, allocations: 15.57 MB / 0.8232 GB, free: 54.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001353/1.562, allocations: 1.082 MB / 0.8243 GB, free: 54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008261/1.57, allocations: 1.447 MB / 0.8257 GB, free: 53.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08724/1.657, allocations: 32.29 MB / 0.8572 GB, free: 35.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00128/1.658, allocations: 157.9 kB / 0.8574 GB, free: 35.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008117/1.667, allocations: 0.6604 MB / 0.858 GB, free: 35.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003472/1.67, allocations: 2.325 MB / 0.8603 GB, free: 33.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05829/1.728, allocations: 25.98 MB / 0.8856 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5399/2.268, allocations: 130.6 MB / 1.013 GB, free: 45.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03255/2.301, allocations: 12.49 MB / 1.025 GB, free: 44.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003983/2.305, allocations: 4.846 MB / 1.03 GB, free: 40.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.989e-05/2.305, allocations: 78.27 kB / 1.03 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=435): time 6.953e-06/2.305, allocations: 3.562 kB / 1.03 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=569): time 0.7531/3.058, allocations: 135 MB / 1.162 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04745/3.106, allocations: 25.88 MB / 1.187 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02357/3.129, allocations: 8.442 MB / 1.196 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002162/3.132, allocations: 116.8 kB / 1.196 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01015/3.142, allocations: 8.85 MB / 1.204 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005638/3.147, allocations: 2.193 MB / 1.206 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003603/3.151, allocations: 322.3 kB / 1.207 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002043/3.153, allocations: 0.9928 MB / 1.208 GB, free: 115 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02295/3.176, allocations: 9.398 MB / 1.217 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02944/3.206, allocations: 18.62 MB / 1.235 GB, free: 96.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0312/3.237, allocations: 12.85 MB / 1.248 GB, free: 91.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005894/3.238, allocations: 91.97 kB / 1.248 GB, free: 91.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.1222/3.36, allocations: 36.71 MB / 1.284 GB, free: 79.74 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000311/3.36, allocations: 144 kB / 1.284 GB, free: 79.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07243/3.433, allocations: 23.46 MB / 1.307 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03456/3.467, allocations: 10.95 MB / 1.317 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01365/3.481, allocations: 3.855 MB / 1.321 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.492/3.973, allocations: 52.89 MB / 1.373 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02923/4.002, allocations: 1.804 MB / 1.374 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005374/4.008, allocations: 0.9762 MB / 1.375 GB, free: 103 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1475 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],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],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (1925): * Single equations (assignments): 1896 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02064/4.028, allocations: 6.204 MB / 1.381 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003614/4.032, allocations: 0.8762 MB / 1.382 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08516/4.117, allocations: 29.05 MB / 1.411 GB, free: 95.06 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06145/4.179, allocations: 27.29 MB / 1.437 GB, free: 87.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001904/4.179, allocations: 28.12 kB / 1.437 GB, free: 87.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002115/4.179, allocations: 27.28 kB / 1.437 GB, free: 87.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1314/4.311, allocations: 63.35 MB / 1.499 GB, free: 47.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-05/4.311, allocations: 4 kB / 1.499 GB, free: 47.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0053/4.316, allocations: 1.009 MB / 1.5 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04751/4.363, allocations: 15.71 MB / 1.516 GB, free: 31.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002264/4.366, allocations: 172.8 kB / 1.516 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4245/4.79, allocations: 67.67 MB / 1.582 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0318/4.822, allocations: 25.69 MB / 1.607 GB, free: 88.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07631/4.899, allocations: 41.34 MB / 1.647 GB, free: 74.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003526/4.902, allocations: 0.9483 MB / 1.648 GB, free: 74.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003852/4.906, allocations: 137.3 kB / 1.648 GB, free: 74.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00967/4.916, allocations: 0.8992 MB / 1.649 GB, free: 74.19 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002656/4.918, allocations: 455.8 kB / 1.65 GB, free: 74.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009572/4.919, allocations: 185.8 kB / 1.65 GB, free: 74.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01308/4.932, allocations: 5.866 MB / 1.656 GB, free: 72.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/4.932, allocations: 0 / 1.656 GB, free: 72.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02485/4.957, allocations: 4.432 MB / 1.66 GB, free: 71.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$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],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00221/4.96, allocations: 287 kB / 1.66 GB, free: 71.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03559/4.995, allocations: 23.92 MB / 1.684 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/4.995, allocations: 0 / 1.684 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01852/5.014, allocations: 11.75 MB / 1.695 GB, free: 44.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009743/5.024, allocations: 1.334 MB / 1.696 GB, free: 43.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4278/5.451, allocations: 42.02 MB / 1.737 GB, free: 97.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02817/5.48, allocations: 9.434 MB / 1.747 GB, free: 96.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01704/5.497, allocations: 5.061 MB / 1.752 GB, free: 96.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004435/5.501, allocations: 0.6944 MB / 1.752 GB, free: 96.12 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/5.501, allocations: 0 / 1.752 GB, free: 96.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.2547/5.756, allocations: 173.5 MB / 1.922 GB, free: 5.043 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe 2>&1)