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.001327/0.001327, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.635/1.635, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001647/0.001647, allocations: 118.3 kB / 247.4 MB, free: 6.238 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.1998/0.1998, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.693e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4299/0.5314, allocations: 110.2 MB / 0.5454 GB, free: 6.152 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5317, allocations: 79.83 kB / 0.5454 GB, free: 6.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7861/1.318, allocations: 223.4 MB / 0.7636 GB, free: 77.33 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.318, allocations: 0 / 0.7636 GB, free: 77.33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001088/1.319, allocations: 277.9 kB / 0.7638 GB, free: 77.32 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: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.06126/1.38, allocations: 13.77 MB / 0.7773 GB, free: 65.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.38, allocations: 8.031 kB / 0.7773 GB, free: 65.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04641/1.427, allocations: 10.93 MB / 0.788 GB, free: 54.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03833/1.465, allocations: 15.49 MB / 0.8031 GB, free: 39.44 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008424/1.466, allocations: 483.9 kB / 0.8036 GB, free: 38.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007915/1.474, allocations: 0.8589 MB / 0.8044 GB, free: 38.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04071/1.515, allocations: 18.11 MB / 0.8221 GB, free: 19.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06656/1.581, allocations: 26.81 MB / 0.8483 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008119/1.582, allocations: 150.6 kB / 0.8484 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005358/1.588, allocations: 72 kB / 0.8485 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003657/1.591, allocations: 2.334 MB / 0.8508 GB, free: 4.281 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4898/2.081, allocations: 125 MB / 0.9728 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008508/2.09, allocations: 7.259 MB / 0.9799 GB, free: 19.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006094/2.096, allocations: 5.62 MB / 0.9854 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004362/2.1, allocations: 4.846 MB / 0.9901 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.077e-05/2.1, allocations: 82.98 kB / 0.9902 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=435): time 7.454e-06/2.1, allocations: 0 / 0.9902 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=569): time 0.6365/2.737, allocations: 99.92 MB / 1.088 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/2.737, allocations: 342.4 kB / 1.088 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01645/2.753, allocations: 7.489 MB / 1.095 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001603/2.755, allocations: 29.39 kB / 1.095 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006873/2.762, allocations: 8.93 MB / 1.104 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00408/2.766, allocations: 2.129 MB / 1.106 GB, free: 102 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002999/2.769, allocations: 3.094 kB / 1.106 GB, free: 102 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001561/2.771, allocations: 1.009 MB / 1.107 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01452/2.785, allocations: 8.966 MB / 1.116 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0196/2.805, allocations: 18.35 MB / 1.134 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/2.823, allocations: 12.51 MB / 1.146 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004769/2.823, allocations: 95.41 kB / 1.146 GB, free: 79.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2145) (initialization): time 0.07242/2.896, allocations: 34.41 MB / 1.18 GB, free: 56.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002307/2.896, allocations: 144 kB / 1.18 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04558/2.942, allocations: 22.94 MB / 1.202 GB, free: 36.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03465/2.976, allocations: 10.85 MB / 1.213 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01347/2.99, allocations: 3.938 MB / 1.217 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4088/3.399, allocations: 47.19 MB / 1.263 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01939/3.418, allocations: 1.499 MB / 1.264 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004415/3.422, allocations: 1.001 MB / 1.265 GB, free: 86.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1520 * 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 (1969): * Single equations (assignments): 1940 * 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.006113/3.429, allocations: 0.9332 MB / 1.266 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00309/3.432, allocations: 0.8433 MB / 1.267 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06995/3.502, allocations: 28.38 MB / 1.295 GB, free: 82.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0607/3.562, allocations: 26.75 MB / 1.321 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-05/3.563, allocations: 29.34 kB / 1.321 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002222/3.563, allocations: 26.95 kB / 1.321 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1349/3.698, allocations: 60.28 MB / 1.38 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/3.698, allocations: 4 kB / 1.38 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005183/3.703, allocations: 1.013 MB / 1.381 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0487/3.752, allocations: 15.59 MB / 1.396 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00167/3.753, allocations: 103.7 kB / 1.396 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4285/4.182, allocations: 61.5 MB / 1.456 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02811/4.21, allocations: 23.44 MB / 1.479 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0784/4.289, allocations: 40.51 MB / 1.519 GB, free: 94.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00339/4.292, allocations: 0.8933 MB / 1.52 GB, free: 94.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003672/4.296, allocations: 48.56 kB / 1.52 GB, free: 94.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01022/4.306, allocations: 0.8108 MB / 1.52 GB, free: 94.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00418/4.31, allocations: 454.7 kB / 1.521 GB, free: 94.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002193/4.312, allocations: 179.7 kB / 1.521 GB, free: 94.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01428/4.327, allocations: 4.995 MB / 1.526 GB, free: 92.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.11e-07/4.327, allocations: 0 / 1.526 GB, free: 92.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02261/4.349, allocations: 4.273 MB / 1.53 GB, free: 92.67 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET8.x[2],$STATESET8.x[1],$STATESET7.x[5],$STATESET7.x[4],$STATESET7.x[3],$STATESET7.x[2],$STATESET7.x[1],$STATESET6.x[6],$STATESET6.x[5],$STATESET6.x[4],$STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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.002003/4.351, allocations: 198.1 kB / 1.53 GB, free: 92.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03392/4.385, allocations: 22.78 MB / 1.552 GB, free: 77.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/4.385, allocations: 4 kB / 1.552 GB, free: 77.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01815/4.404, allocations: 11.35 MB / 1.564 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008401/4.412, allocations: 1.12 MB / 1.565 GB, free: 66.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07594/4.488, allocations: 31.39 MB / 1.595 GB, free: 39.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02355/4.512, allocations: 9.428 MB / 1.605 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01807/4.53, allocations: 5.105 MB / 1.61 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004224/4.534, allocations: 0.6709 MB / 1.61 GB, free: 28 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/4.534, allocations: 0 / 1.61 GB, free: 28 MB / 0.5417 GB Notification: Performance of Templates: time 0.5483/5.082, allocations: 169 MB / 1.775 GB, free: 38.4 MB / 0.5417 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)