Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001555/0.001555, allocations: 169.9 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.491/1.491, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001933/0.001933, allocations: 107.4 kB / 223.2 MB, free: 4.113 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.1786/0.1786, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.733e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.09699, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.506, allocations: 88.49 MB / 494.2 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5063, allocations: 74.3 kB / 494.3 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1991/0.7054, allocations: 82.68 MB / 0.5634 GB, free: 8.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7055, allocations: 0 / 0.5634 GB, free: 8.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001497/0.7056, allocations: 71.94 kB / 0.5635 GB, free: 8.188 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01468/0.7203, allocations: 3.845 MB / 0.5672 GB, free: 4.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.7204, allocations: 8.031 kB / 0.5673 GB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0233/0.7437, allocations: 5.883 MB / 0.573 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/0.7582, allocations: 5.294 MB / 0.5782 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.7586, allocations: 279.3 kB / 0.5784 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/0.7611, allocations: 359.9 kB / 0.5788 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02609/0.7872, allocations: 10.34 MB / 0.5889 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.7874, allocations: 39.66 kB / 0.5889 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006083/0.788, allocations: 167.9 kB / 0.5891 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001636/0.7896, allocations: 1.152 MB / 0.5902 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/0.81, allocations: 9.973 MB / 0.5999 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3084/1.118, allocations: 37.32 MB / 0.6364 GB, free: 78.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/1.131, allocations: 5.569 MB / 0.6418 GB, free: 77.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003835/1.135, allocations: 2.305 MB / 0.6441 GB, free: 77.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001868/1.137, allocations: 1.876 MB / 0.6459 GB, free: 76.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/1.137, allocations: 57.33 kB / 0.646 GB, free: 76.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 5.8e-06/1.137, allocations: 0 / 0.646 GB, free: 76.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.02802/1.165, allocations: 12.41 MB / 0.6581 GB, free: 74.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001043/1.166, allocations: 1.515 MB / 0.6596 GB, free: 73.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/1.17, allocations: 2.466 MB / 0.662 GB, free: 73.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004602/1.17, allocations: 56.27 kB / 0.662 GB, free: 73.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/1.172, allocations: 2.677 MB / 0.6646 GB, free: 71.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007194/1.172, allocations: 0.8478 MB / 0.6655 GB, free: 71.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/1.173, allocations: 111.4 kB / 0.6656 GB, free: 71.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002572/1.173, allocations: 0.5365 MB / 0.6661 GB, free: 71.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/1.176, allocations: 2.554 MB / 0.6686 GB, free: 71.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/1.18, allocations: 5.518 MB / 0.674 GB, free: 67.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004294/1.185, allocations: 3.781 MB / 0.6777 GB, free: 66.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.515e-05/1.185, allocations: 30.69 kB / 0.6777 GB, free: 66.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.05724/1.242, allocations: 18.86 MB / 0.6961 GB, free: 63.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/1.242, allocations: 49.34 kB / 0.6962 GB, free: 63.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04102/1.283, allocations: 11.97 MB / 0.7078 GB, free: 60.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04426/1.327, allocations: 10.3 MB / 0.7179 GB, free: 52.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004049/1.331, allocations: 1.242 MB / 0.7191 GB, free: 51.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/1.354, allocations: 15.88 MB / 0.7346 GB, free: 34.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/1.359, allocations: 442.2 kB / 0.735 GB, free: 34.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006539/1.36, allocations: 308 kB / 0.7353 GB, free: 34.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (649): * Single equations (assignments): 638 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008206/1.361, allocations: 0.4957 MB / 0.7358 GB, free: 33.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004783/1.361, allocations: 268.4 kB / 0.7361 GB, free: 33.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007478/1.369, allocations: 5.073 MB / 0.741 GB, free: 28.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006112/1.375, allocations: 4.358 MB / 0.7453 GB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.375, allocations: 4 kB / 0.7453 GB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/1.375, allocations: 7.969 kB / 0.7453 GB, free: 24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/1.393, allocations: 12.95 MB / 0.7579 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.393, allocations: 8 kB / 0.758 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.395, allocations: 404.2 kB / 0.7583 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/1.397, allocations: 0.9425 MB / 0.7593 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/1.397, allocations: 47.97 kB / 0.7593 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004847/1.402, allocations: 5.422 MB / 0.7646 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006414/1.403, allocations: 1.463 MB / 0.766 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.414, allocations: 8.288 MB / 0.7741 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009531/1.415, allocations: 334.1 kB / 0.7744 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/1.415, allocations: 40.92 kB / 0.7745 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.417, allocations: 196.4 kB / 0.7747 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/1.417, allocations: 150.9 kB / 0.7748 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.418, allocations: 70.08 kB / 0.7749 GB, free: 8.836 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002489/1.42, allocations: 1.677 MB / 0.7765 GB, free: 7.148 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.42, allocations: 0 / 0.7765 GB, free: 7.148 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004471/1.424, allocations: 1.093 MB / 0.7776 GB, free: 6.059 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004152/1.425, allocations: 190.2 kB / 0.7778 GB, free: 5.871 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.227/1.652, allocations: 6.469 MB / 0.7841 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.652, allocations: 3.812 kB / 0.7841 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004594/1.657, allocations: 2.499 MB / 0.7865 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.659, allocations: 337.4 kB / 0.7868 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/1.674, allocations: 8.549 MB / 0.7952 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004055/1.678, allocations: 3.239 MB / 0.7984 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005007/1.683, allocations: 2.062 MB / 0.8004 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007023/1.684, allocations: 206.5 kB / 0.8006 GB, free: 102.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.392e-06/1.684, allocations: 0 / 0.8006 GB, free: 102.8 MB / 442.7 MB Notification: Performance of Templates: time 0.06316/1.747, allocations: 42.95 MB / 0.8425 GB, free: 99.33 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)