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.001562/0.001562, allocations: 170.3 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.286/1.286, 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.001667/0.001667, allocations: 103.5 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.1721/0.1721, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.701e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09807, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4621, allocations: 92.55 MB / 498.2 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.4624, allocations: 78.59 kB / 498.3 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6259/1.088, allocations: 162.5 MB / 0.6453 GB, free: 60.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.088, allocations: 0 / 0.6453 GB, free: 60.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004374/1.089, allocations: 162.8 kB / 0.6455 GB, free: 60.88 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.02387/1.113, allocations: 7.998 MB / 0.6533 GB, free: 57.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.113, allocations: 7.125 kB / 0.6533 GB, free: 57.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.045/1.158, allocations: 12.03 MB / 0.6651 GB, free: 57.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0258/1.184, allocations: 10.8 MB / 0.6756 GB, free: 56.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006328/1.184, allocations: 0.6113 MB / 0.6762 GB, free: 56.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003431/1.188, allocations: 0.8132 MB / 0.677 GB, free: 56.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03967/1.227, allocations: 19.09 MB / 0.6956 GB, free: 52.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004272/1.228, allocations: 109.9 kB / 0.6957 GB, free: 52.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002451/1.23, allocations: 380.8 kB / 0.6961 GB, free: 52.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002056/1.232, allocations: 1.725 MB / 0.6978 GB, free: 51.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03045/1.263, allocations: 15.47 MB / 0.7129 GB, free: 46.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3562/1.619, allocations: 79.6 MB / 0.7906 GB, free: 41.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02124/1.64, allocations: 8.178 MB / 0.7986 GB, free: 41.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004834/1.645, allocations: 4.085 MB / 0.8026 GB, free: 41.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007201/1.646, allocations: 0.6633 MB / 0.8033 GB, free: 40.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/1.646, allocations: 69.16 kB / 0.8033 GB, free: 40.44 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 6.372e-06/1.646, allocations: 0 / 0.8033 GB, free: 40.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=331): time 0.06584/1.712, allocations: 25.91 MB / 0.8286 GB, free: 34.53 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.712, allocations: 290 kB / 0.8289 GB, free: 34.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01232/1.724, allocations: 6.66 MB / 0.8354 GB, free: 33.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008497/1.725, allocations: 74.92 kB / 0.8355 GB, free: 33.65 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004203/1.73, allocations: 5.598 MB / 0.8409 GB, free: 31.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001639/1.731, allocations: 1.25 MB / 0.8422 GB, free: 30.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008273/1.732, allocations: 191.9 kB / 0.8424 GB, free: 30.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004933/1.733, allocations: 0.7073 MB / 0.843 GB, free: 30.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004625/1.737, allocations: 3.363 MB / 0.8463 GB, free: 30.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00739/1.745, allocations: 8.856 MB / 0.855 GB, free: 23.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007468/1.752, allocations: 5.406 MB / 0.8603 GB, free: 23.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001507/1.752, allocations: 55.72 kB / 0.8603 GB, free: 23.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.02199/1.774, allocations: 12.85 MB / 0.8729 GB, free: 20.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.774, allocations: 88.53 kB / 0.8729 GB, free: 20.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/1.775, allocations: 194.6 kB / 0.8731 GB, free: 20.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/1.777, allocations: 1.01 MB / 0.8741 GB, free: 19.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007465/1.784, allocations: 2.157 MB / 0.8762 GB, free: 19.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.796, allocations: 10.99 MB / 0.887 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008646/1.804, allocations: 0.5064 MB / 0.8874 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/1.806, allocations: 0.5604 MB / 0.888 GB, free: 11.05 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * 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 (1149): * Single equations (assignments): 1142 * 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.001648/1.808, allocations: 0.831 MB / 0.8888 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.809, allocations: 0.6634 MB / 0.8895 GB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.819, allocations: 5.86 MB / 0.8952 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.052e-05/1.82, allocations: 32 kB / 0.8952 GB, free: 4.652 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/1.82, allocations: 8 kB / 0.8952 GB, free: 4.645 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/1.82, allocations: 20.88 kB / 0.8952 GB, free: 4.641 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02961/1.849, allocations: 14.65 MB / 0.9095 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/1.849, allocations: 7.953 kB / 0.9095 GB, free: 8.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/1.852, allocations: 0.5269 MB / 0.9101 GB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/1.854, allocations: 0.6637 MB / 0.9107 GB, free: 7.906 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003105/1.854, allocations: 59.42 kB / 0.9108 GB, free: 7.852 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/1.866, allocations: 9.902 MB / 0.9204 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.866, allocations: 4 kB / 0.9204 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/1.881, allocations: 9.916 MB / 0.9301 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004868/1.886, allocations: 1.176 MB / 0.9313 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002164/1.888, allocations: 53.02 kB / 0.9313 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003706/1.892, allocations: 196 kB / 0.9315 GB, free: 4.277 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005106/1.892, allocations: 190.6 kB / 0.9317 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002607/1.893, allocations: 89.17 kB / 0.9318 GB, free: 4.078 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009645/1.902, allocations: 4.773 MB / 0.9364 GB, free: 0 / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.902, allocations: 336 / 0.9364 GB, free: 0 / 490.7 MB Notification: Performance of remove unused functions: time 0.01084/1.913, allocations: 1.854 MB / 0.9382 GB, free: 14.28 MB / 0.4948 GB 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 (276): * Single equations (assignments): 269 * 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.0007008/1.914, allocations: 205.8 kB / 0.9384 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01373/1.928, allocations: 8.638 MB / 0.9469 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.928, allocations: 4 kB / 0.9469 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004339/1.932, allocations: 3.143 MB / 0.9499 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005605/1.938, allocations: 0.9227 MB / 0.9509 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02964/1.967, allocations: 14.5 MB / 0.965 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009165/1.977, allocations: 5.894 MB / 0.9708 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.2691/2.246, allocations: 3.125 MB / 0.9738 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/2.248, allocations: 448.8 kB / 0.9743 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.473e-06/2.248, allocations: 0 / 0.9743 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.1231/2.372, allocations: 68.03 MB / 1.041 GB, free: 122.4 MB / 0.5105 GB 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)