Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002368/0.002368, allocations: 186 kB / 7.458 MB, free: 2.512 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.126/1.126, allocations: 194.2 MB / 202.1 MB, free: 8.664 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: 120.4 kB / 247.1 MB, free: 6.387 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.1657/0.1657, allocations: 39.94 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.442e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.099, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.4223, allocations: 90.21 MB / 0.5253 GB, free: 8.262 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4226, allocations: 76.86 kB / 0.5253 GB, free: 8.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04839/0.471, allocations: 18.85 MB / 0.5437 GB, free: 9.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.882e-05/0.4711, allocations: 20 kB / 0.5438 GB, free: 9.961 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002593/0.4737, allocations: 1.32 MB / 0.545 GB, free: 8.668 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4738, allocations: 12.03 kB / 0.5451 GB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/0.4745, allocations: 170.2 kB / 0.5452 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.4758, allocations: 0.6927 MB / 0.5459 GB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.4758, allocations: 36 kB / 0.5459 GB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.476, allocations: 58.75 kB / 0.546 GB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002365/0.4784, allocations: 1.716 MB / 0.5477 GB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.4811, allocations: 1.973 MB / 0.5496 GB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.4811, allocations: 15.84 kB / 0.5496 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4812, allocations: 4 kB / 0.5496 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.4815, allocations: 214.1 kB / 0.5498 GB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007886/0.4894, allocations: 7.558 MB / 0.5572 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.49, allocations: 384.3 kB / 0.5576 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.4903, allocations: 259.1 kB / 0.5578 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.4919, allocations: 1.757 MB / 0.5595 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4919, allocations: 37.75 kB / 0.5596 GB, free: 11.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.4919, allocations: 3.938 kB / 0.5596 GB, free: 11.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.008684/0.5006, allocations: 2.626 MB / 0.5621 GB, free: 9.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.5007, allocations: 63.89 kB / 0.5622 GB, free: 9.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008192/0.5015, allocations: 0.6448 MB / 0.5628 GB, free: 9.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.5016, allocations: 29.02 kB / 0.5628 GB, free: 8.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.5019, allocations: 0.6131 MB / 0.5634 GB, free: 8.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.5021, allocations: 204 kB / 0.5636 GB, free: 8.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.5021, allocations: 0 / 0.5636 GB, free: 8.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5023, allocations: 397.2 kB / 0.564 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.5028, allocations: 355.5 kB / 0.5644 GB, free: 7.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008922/0.5037, allocations: 0.9759 MB / 0.5653 GB, free: 6.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.505, allocations: 0.7486 MB / 0.566 GB, free: 5.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.505, allocations: 8 kB / 0.5661 GB, free: 5.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002402/0.5074, allocations: 1.419 MB / 0.5674 GB, free: 4.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.5074, allocations: 4 kB / 0.5674 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.5075, allocations: 23.94 kB / 0.5675 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.981e-05/0.5075, allocations: 43.97 kB / 0.5675 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.5088, allocations: 321.9 kB / 0.5678 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.5099, allocations: 1.317 MB / 0.5691 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.5105, allocations: 27.98 kB / 0.5691 GB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.5106, allocations: 74.16 kB / 0.5692 GB, free: 2.953 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.5109, allocations: 174.2 kB / 0.5694 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.511, allocations: 71.06 kB / 0.5694 GB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.5112, allocations: 103.7 kB / 0.5695 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5112, allocations: 7.938 kB / 0.5695 GB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5112, allocations: 4 kB / 0.5695 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.5112, allocations: 3.984 kB / 0.5695 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/0.5149, allocations: 2.09 MB / 0.5716 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.515, allocations: 8.156 kB / 0.5716 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.5156, allocations: 131.4 kB / 0.5717 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.5156, allocations: 12 kB / 0.5717 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.5156, allocations: 11.98 kB / 0.5717 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009012/0.5165, allocations: 1.284 MB / 0.573 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.5165, allocations: 8 kB / 0.573 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001614/0.5182, allocations: 1.298 MB / 0.5743 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.5185, allocations: 196 kB / 0.5745 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.5185, allocations: 8 kB / 0.5745 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.5189, allocations: 8 kB / 0.5745 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.519, allocations: 47.17 kB / 0.5745 GB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.519, allocations: 27.67 kB / 0.5745 GB, free: 13.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005414/0.5196, allocations: 463.4 kB / 0.575 GB, free: 13.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00112/0.5207, allocations: 196 kB / 0.5752 GB, free: 13.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000292/0.521, allocations: 124.2 kB / 0.5753 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.5223, allocations: 0.8585 MB / 0.5761 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5223, allocations: 0 / 0.5761 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.5227, allocations: 312.4 kB / 0.5764 GB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.5232, allocations: 79.53 kB / 0.5765 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.5266, allocations: 1.655 MB / 0.5781 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.528, allocations: 1.317 MB / 0.5794 GB, free: 9.301 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5281, allocations: 0 / 0.5794 GB, free: 9.301 MB / 394.7 MB Notification: Performance of Templates: time 0.01568/0.5437, allocations: 7.466 MB / 0.5867 GB, free: 1.875 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)