Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.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.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001242/0.001242, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.647/1.647, allocations: 194.3 MB / 207.5 MB, free: 3.398 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.001603/0.001602, allocations: 108 kB / 252.6 MB, free: 4.777 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.211/0.211, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.351e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5298, allocations: 99.48 MB / 0.5416 GB, free: 8.371 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5301, allocations: 77.83 kB / 0.5417 GB, free: 8.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6562/1.186, allocations: 137.1 MB / 0.6756 GB, free: 84.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.576e-06/1.186, allocations: 0 / 0.6756 GB, free: 84.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006135/1.187, allocations: 139.8 kB / 0.6757 GB, free: 84.12 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: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.0284/1.215, allocations: 6.634 MB / 0.6822 GB, free: 81.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/1.215, allocations: 9.031 kB / 0.6822 GB, free: 81.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03954/1.255, allocations: 9.493 MB / 0.6914 GB, free: 81.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02475/1.28, allocations: 8.724 MB / 0.7 GB, free: 80.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007126/1.281, allocations: 0.5078 MB / 0.7005 GB, free: 80.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004208/1.285, allocations: 0.6815 MB / 0.7011 GB, free: 80.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04377/1.329, allocations: 15.97 MB / 0.7167 GB, free: 76.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004659/1.329, allocations: 94.84 kB / 0.7168 GB, free: 76.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002324/1.331, allocations: 331.2 kB / 0.7171 GB, free: 76.24 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002156/1.334, allocations: 1.459 MB / 0.7186 GB, free: 76.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/1.361, allocations: 12.65 MB / 0.7309 GB, free: 76.17 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07565/1.436, allocations: 70.69 MB / 0.7999 GB, free: 22.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/1.449, allocations: 5.85 MB / 0.8057 GB, free: 17.01 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/1.453, allocations: 3.034 MB / 0.8086 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/1.454, allocations: 51.83 kB / 0.8087 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/1.454, allocations: 60.12 kB / 0.8087 GB, free: 14.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 5.871e-06/1.454, allocations: 0 / 0.8087 GB, free: 14.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=260): time 0.06/1.514, allocations: 18.97 MB / 0.8272 GB, free: 13.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/1.514, allocations: 269.1 kB / 0.8275 GB, free: 13.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0173/1.531, allocations: 6.086 MB / 0.8334 GB, free: 7.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007385/1.532, allocations: 61.7 kB / 0.8335 GB, free: 7.773 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005521/1.538, allocations: 4.862 MB / 0.8383 GB, free: 3.406 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001784/1.539, allocations: 1.006 MB / 0.8392 GB, free: 2.523 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/1.541, allocations: 164 kB / 0.8394 GB, free: 2.363 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001048/1.542, allocations: 0.6656 MB / 0.84 GB, free: 1.793 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009344/1.551, allocations: 3.078 MB / 0.843 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/1.563, allocations: 7.915 MB / 0.8508 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008776/1.572, allocations: 4.657 MB / 0.8553 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002388/1.572, allocations: 52 kB / 0.8554 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.3159/1.888, allocations: 11.05 MB / 0.8662 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/1.888, allocations: 84.31 kB / 0.8662 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003726/1.888, allocations: 181.6 kB / 0.8664 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/1.891, allocations: 0.8046 MB / 0.8672 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007643/1.898, allocations: 1.929 MB / 0.8691 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009179/1.908, allocations: 8.3 MB / 0.8772 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00861/1.916, allocations: 460.2 kB / 0.8776 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001955/1.918, allocations: 0.5032 MB / 0.8781 GB, free: 97.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1033): * Single equations (assignments): 1027 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001904/1.92, allocations: 0.7547 MB / 0.8789 GB, free: 96.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.922, allocations: 0.5839 MB / 0.8794 GB, free: 96.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0069/1.928, allocations: 4.267 MB / 0.8836 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.823e-05/1.929, allocations: 33.72 kB / 0.8836 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.929, allocations: 7.656 kB / 0.8836 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/1.929, allocations: 17.17 kB / 0.8837 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/1.949, allocations: 11.15 MB / 0.8945 GB, free: 96.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.949, allocations: 0 / 0.8945 GB, free: 96.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/1.951, allocations: 413 kB / 0.8949 GB, free: 96.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/1.952, allocations: 0.5074 MB / 0.8954 GB, free: 96.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/1.953, allocations: 43.56 kB / 0.8955 GB, free: 96.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00667/1.959, allocations: 7.387 MB / 0.9027 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.959, allocations: 7.312 kB / 0.9027 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.97, allocations: 7.62 MB / 0.9101 GB, free: 91.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003105/1.973, allocations: 0.9977 MB / 0.9111 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/1.974, allocations: 44 kB / 0.9112 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.977, allocations: 138.8 kB / 0.9113 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003773/1.977, allocations: 149.4 kB / 0.9114 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.978, allocations: 67.27 kB / 0.9115 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007246/1.985, allocations: 4.332 MB / 0.9157 GB, free: 89.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/1.985, allocations: 2.812 kB / 0.9157 GB, free: 89.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009066/1.994, allocations: 1.516 MB / 0.9172 GB, free: 89.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.000777/1.995, allocations: 186.1 kB / 0.9174 GB, free: 89.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01244/2.007, allocations: 7.109 MB / 0.9243 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/2.007, allocations: 2.844 kB / 0.9243 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/2.01, allocations: 2.396 MB / 0.9267 GB, free: 85.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/2.015, allocations: 0.7626 MB / 0.9274 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/2.037, allocations: 12.02 MB / 0.9392 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00591/2.043, allocations: 5.027 MB / 0.9441 GB, free: 79.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006827/2.05, allocations: 2.758 MB / 0.9468 GB, free: 79.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/2.051, allocations: 389 kB / 0.9471 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/2.051, allocations: 0 / 0.9471 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.1026/2.154, allocations: 54.58 MB / 1 GB, free: 39.37 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)