Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001471/0.001471, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.219/1.219, allocations: 170.6 MB / 178.7 MB, free: 15.57 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.001545/0.001545, allocations: 111.4 kB / 218 MB, free: 8.348 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.1818/0.1818, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.526e-05, allocations: 3.781 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09254, allocations: 48.73 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.4449, allocations: 91.89 MB / 490.6 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.4452, allocations: 71.09 kB / 490.7 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6555/1.101, allocations: 158.9 MB / 0.6344 GB, free: 56.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.101, allocations: 0 / 0.6344 GB, free: 56.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006381/1.101, allocations: 169.1 kB / 0.6345 GB, free: 56.35 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03221/1.134, allocations: 8.001 MB / 0.6423 GB, free: 53.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.134, allocations: 15.41 kB / 0.6423 GB, free: 53.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04716/1.181, allocations: 12.03 MB / 0.6541 GB, free: 52.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02775/1.209, allocations: 10.79 MB / 0.6646 GB, free: 51.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005362/1.209, allocations: 264.8 kB / 0.6649 GB, free: 51.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004224/1.213, allocations: 490.4 kB / 0.6653 GB, free: 51.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02269/1.236, allocations: 10.98 MB / 0.6761 GB, free: 51.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0423/1.279, allocations: 16.5 MB / 0.6922 GB, free: 47.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005637/1.279, allocations: 105.1 kB / 0.6923 GB, free: 47.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003704/1.283, allocations: 52 kB / 0.6923 GB, free: 47.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003089/1.286, allocations: 1.733 MB / 0.694 GB, free: 47.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09736/1.383, allocations: 76.3 MB / 0.7685 GB, free: 22.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007346/1.391, allocations: 5.88 MB / 0.7743 GB, free: 17.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004706/1.395, allocations: 3.999 MB / 0.7782 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009009/1.396, allocations: 0.6592 MB / 0.7788 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.484e-05/1.397, allocations: 73.06 kB / 0.7789 GB, free: 12.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 8.155e-06/1.397, allocations: 0 / 0.7789 GB, free: 12.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=335): time 0.4028/1.799, allocations: 34.34 MB / 0.8124 GB, free: 78.67 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/1.8, allocations: 290.5 kB / 0.8127 GB, free: 78.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.81, allocations: 5.363 MB / 0.818 GB, free: 77.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008892/1.811, allocations: 25.7 kB / 0.818 GB, free: 77.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003895/1.815, allocations: 5.684 MB / 0.8235 GB, free: 75.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.816, allocations: 1.233 MB / 0.8247 GB, free: 74.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/1.817, allocations: 0 / 0.8247 GB, free: 74.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004184/1.817, allocations: 0.717 MB / 0.8254 GB, free: 74.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/1.821, allocations: 3.267 MB / 0.8286 GB, free: 74.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00707/1.829, allocations: 8.92 MB / 0.8373 GB, free: 66.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007869/1.836, allocations: 5.337 MB / 0.8425 GB, free: 66.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/1.837, allocations: 56.19 kB / 0.8426 GB, free: 66.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02331/1.86, allocations: 11.79 MB / 0.8541 GB, free: 66.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003012/1.86, allocations: 89.66 kB / 0.8542 GB, free: 66.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003829/1.861, allocations: 201.3 kB / 0.8544 GB, free: 66.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/1.863, allocations: 1.005 MB / 0.8554 GB, free: 66.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008/1.871, allocations: 2.229 MB / 0.8575 GB, free: 65.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/1.882, allocations: 10.6 MB / 0.8679 GB, free: 60.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/1.893, allocations: 336.3 kB / 0.8682 GB, free: 60.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002651/1.895, allocations: 0.5727 MB / 0.8688 GB, free: 60.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1189): * Single equations (assignments): 1182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004857/1.9, allocations: 0.6167 MB / 0.8694 GB, free: 60.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002306/1.903, allocations: 0.5852 MB / 0.87 GB, free: 59.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.915, allocations: 5.622 MB / 0.8754 GB, free: 58.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-05/1.915, allocations: 39.39 kB / 0.8755 GB, free: 58.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-05/1.915, allocations: 10.5 kB / 0.8755 GB, free: 58.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-05/1.915, allocations: 17.2 kB / 0.8755 GB, free: 58.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/1.949, allocations: 13.14 MB / 0.8883 GB, free: 53.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/1.949, allocations: 3.938 kB / 0.8883 GB, free: 53.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/1.952, allocations: 0.5263 MB / 0.8889 GB, free: 53.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/1.954, allocations: 0.6533 MB / 0.8895 GB, free: 53.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005279/1.954, allocations: 20.78 kB / 0.8895 GB, free: 53.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009111/1.963, allocations: 9.461 MB / 0.8988 GB, free: 46.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/1.963, allocations: 10.38 kB / 0.8988 GB, free: 46.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.977, allocations: 9.66 MB / 0.9082 GB, free: 42.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00345/1.981, allocations: 1.066 MB / 0.9092 GB, free: 41.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/1.982, allocations: 4 kB / 0.9092 GB, free: 41.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.985, allocations: 142.8 kB / 0.9094 GB, free: 41.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/1.986, allocations: 201.6 kB / 0.9096 GB, free: 41.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.986, allocations: 88.5 kB / 0.9097 GB, free: 41.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006132/1.992, allocations: 3.657 MB / 0.9132 GB, free: 37.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.992, allocations: 0 / 0.9132 GB, free: 37.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01197/2.004, allocations: 1.568 MB / 0.9148 GB, free: 36.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009126/2.005, allocations: 155.3 kB / 0.9149 GB, free: 36.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01269/2.018, allocations: 8.287 MB / 0.923 GB, free: 28.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/2.018, allocations: 0 / 0.923 GB, free: 28.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003808/2.022, allocations: 3.061 MB / 0.926 GB, free: 25.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/2.026, allocations: 0.7377 MB / 0.9267 GB, free: 25.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03189/2.058, allocations: 14.31 MB / 0.9407 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009536/2.068, allocations: 5.904 MB / 0.9465 GB, free: 8.367 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008725/2.077, allocations: 3.029 MB / 0.9494 GB, free: 6.414 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/2.078, allocations: 415.4 kB / 0.9498 GB, free: 6.027 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/2.078, allocations: 8 kB / 0.9498 GB, free: 6.02 MB / 458.7 MB Notification: Performance of Templates: time 0.416/2.494, allocations: 57.66 MB / 1.006 GB, free: 65.17 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)