Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.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.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001034/0.001034, allocations: 170.1 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.327/1.327, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001664/0.001664, allocations: 110.8 kB / 223.2 MB, free: 4.109 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.163/0.163, allocations: 37.99 MB / 300.4 MB, free: 5.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.999e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.09927, allocations: 48.72 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5518, allocations: 104.1 MB / 0.4979 GB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5521, allocations: 74.47 kB / 0.498 GB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7742/1.326, allocations: 229.6 MB / 0.7222 GB, free: 52.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/1.326, allocations: 4 kB / 0.7222 GB, free: 52.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007809/1.327, allocations: 283.9 kB / 0.7225 GB, free: 52.24 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: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.05545/1.383, allocations: 13.77 MB / 0.736 GB, free: 38.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.383, allocations: 12.03 kB / 0.736 GB, free: 38.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05578/1.439, allocations: 10.88 MB / 0.7466 GB, free: 27.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03862/1.477, allocations: 15.48 MB / 0.7617 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008815/1.478, allocations: 1.087 MB / 0.7628 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00632/1.484, allocations: 1.445 MB / 0.7642 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6371/2.122, allocations: 31.98 MB / 0.7954 GB, free: 49.04 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001146/2.123, allocations: 154.6 kB / 0.7956 GB, free: 49.04 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006081/2.129, allocations: 0.6635 MB / 0.7962 GB, free: 49.04 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004186/2.133, allocations: 2.327 MB / 0.7985 GB, free: 49.02 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05942/2.193, allocations: 25.54 MB / 0.8234 GB, free: 48.91 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1683/2.361, allocations: 130.5 MB / 0.9509 GB, free: 7.801 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03573/2.397, allocations: 12.38 MB / 0.963 GB, free: 4.602 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.5624/2.959, allocations: 5.803 MB / 0.9687 GB, free: 109.9 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004798/2.964, allocations: 4.849 MB / 0.9734 GB, free: 106 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/2.964, allocations: 80.66 kB / 0.9735 GB, free: 105.9 MB / 490.9 MB Notification: Performance of pre-optimization done (n=435): time 1.281e-05/2.964, allocations: 2.125 kB / 0.9735 GB, free: 105.9 MB / 490.9 MB Notification: Performance of matching and sorting (n=569): time 0.3322/3.296, allocations: 110.7 MB / 1.082 GB, free: 77.47 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02978/3.326, allocations: 24.78 MB / 1.106 GB, free: 51.84 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02119/3.348, allocations: 8.33 MB / 1.114 GB, free: 43.58 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00199/3.35, allocations: 111.5 kB / 1.114 GB, free: 43.47 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.006652/3.356, allocations: 8.847 MB / 1.123 GB, free: 34.62 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.004179/3.36, allocations: 2.194 MB / 1.125 GB, free: 32.45 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003363/3.364, allocations: 321.6 kB / 1.125 GB, free: 32.14 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.002272/3.366, allocations: 0.992 MB / 1.126 GB, free: 31.14 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0144/3.381, allocations: 9.196 MB / 1.135 GB, free: 21.93 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3472/3.728, allocations: 18.4 MB / 1.153 GB, free: 84.27 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02163/3.749, allocations: 12.73 MB / 1.165 GB, free: 84.14 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006178/3.75, allocations: 96.22 kB / 1.166 GB, free: 84.14 MB / 490.9 MB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.08195/3.832, allocations: 35.93 MB / 1.201 GB, free: 81.64 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002626/3.832, allocations: 149.6 kB / 1.201 GB, free: 81.64 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04925/3.882, allocations: 22.95 MB / 1.223 GB, free: 74.67 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03324/3.915, allocations: 10.58 MB / 1.234 GB, free: 72.83 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01531/3.93, allocations: 3.928 MB / 1.237 GB, free: 72.39 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0517/3.982, allocations: 49.55 MB / 1.286 GB, free: 31.35 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02054/4.003, allocations: 1.806 MB / 1.288 GB, free: 30.16 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004212/4.007, allocations: 0.9753 MB / 1.288 GB, free: 29.25 MB / 490.9 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1937): * Single equations (assignments): 1908 * 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,1,1,1,1} * 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.005967/4.013, allocations: 1.306 MB / 1.29 GB, free: 28.04 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002545/4.015, allocations: 0.8814 MB / 1.291 GB, free: 27.64 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3899/4.405, allocations: 28.87 MB / 1.319 GB, free: 75.91 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06704/4.472, allocations: 27.1 MB / 1.345 GB, free: 75.56 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.805e-05/4.473, allocations: 24.94 kB / 1.345 GB, free: 75.56 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001365/4.473, allocations: 33.03 kB / 1.345 GB, free: 75.56 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1381/4.611, allocations: 63.17 MB / 1.407 GB, free: 60.36 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001037/4.611, allocations: 6.281 kB / 1.407 GB, free: 60.36 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007686/4.619, allocations: 1.019 MB / 1.408 GB, free: 60.34 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07134/4.69, allocations: 15.68 MB / 1.423 GB, free: 57.57 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001689/4.692, allocations: 173.3 kB / 1.423 GB, free: 57.45 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07498/4.767, allocations: 64.67 MB / 1.487 GB, free: 13.53 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4395/5.206, allocations: 24.54 MB / 1.511 GB, free: 103.2 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08599/5.292, allocations: 41.05 MB / 1.551 GB, free: 101.2 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004013/5.296, allocations: 0.9517 MB / 1.552 GB, free: 101.1 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00332/5.3, allocations: 135.2 kB / 1.552 GB, free: 101.1 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009242/5.309, allocations: 0.8987 MB / 1.553 GB, free: 101.1 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00264/5.312, allocations: 456 kB / 1.553 GB, free: 101.1 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000851/5.313, allocations: 185.7 kB / 1.553 GB, free: 101.1 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 0.01044/5.323, allocations: 5.754 MB / 1.559 GB, free: 100.8 MB / 0.5106 GB Notification: Performance of sort global known variables: time 6.62e-07/5.323, allocations: 0 / 1.559 GB, free: 100.8 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.02055/5.344, allocations: 4.407 MB / 1.563 GB, free: 100.8 MB / 0.5106 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 () * 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.001678/5.345, allocations: 280.9 kB / 1.563 GB, free: 100.7 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.03696/5.382, allocations: 23.02 MB / 1.586 GB, free: 92.94 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/5.382, allocations: 2.719 kB / 1.586 GB, free: 92.94 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.01963/5.402, allocations: 11.59 MB / 1.597 GB, free: 87.82 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008992/5.411, allocations: 1.332 MB / 1.599 GB, free: 87.34 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0713/5.482, allocations: 31.86 MB / 1.63 GB, free: 60.32 MB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0164/5.499, allocations: 9.429 MB / 1.639 GB, free: 53.51 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 0.01452/5.513, allocations: 5.062 MB / 1.644 GB, free: 50.18 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003805/5.517, allocations: 0.6998 MB / 1.644 GB, free: 49.58 MB / 0.5106 GB Notification: Performance of SimCode: time 1.152e-06/5.517, allocations: 0 / 1.644 GB, free: 49.58 MB / 0.5106 GB Notification: Performance of Templates: time 0.5709/6.088, allocations: 170.8 MB / 1.811 GB, free: 50.2 MB / 0.5106 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe 2>&1)