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.001218/0.001218, allocations: 180.5 kB / 7.651 MB, free: 1.402 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.334/1.334, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.001663/0.001663, allocations: 110.3 kB / 247.4 MB, free: 6.23 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.1775/0.1775, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.675e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09433, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4671, allocations: 98.81 MB / 0.5342 GB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.4674, allocations: 77.45 kB / 0.5343 GB, free: 1.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3554/0.8228, allocations: 134.1 MB / 0.6653 GB, free: 2.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.8229, allocations: 0 / 0.6653 GB, free: 2.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000539/0.8234, allocations: 139.9 kB / 0.6654 GB, free: 2.703 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.3433/1.167, allocations: 6.624 MB / 0.6719 GB, free: 84.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/1.167, allocations: 10.53 kB / 0.6719 GB, free: 84.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04187/1.209, allocations: 9.493 MB / 0.6811 GB, free: 84.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02434/1.233, allocations: 8.723 MB / 0.6897 GB, free: 83.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/1.233, allocations: 222.8 kB / 0.6899 GB, free: 83.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/1.236, allocations: 405.1 kB / 0.6903 GB, free: 83.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01502/1.251, allocations: 9.055 MB / 0.6991 GB, free: 83.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/1.273, allocations: 14.06 MB / 0.7128 GB, free: 79.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002673/1.273, allocations: 97.88 kB / 0.7129 GB, free: 79.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000809/1.274, allocations: 49.73 kB / 0.713 GB, free: 79.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001786/1.276, allocations: 1.461 MB / 0.7144 GB, free: 79.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06836/1.344, allocations: 67.59 MB / 0.7804 GB, free: 33.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005273/1.349, allocations: 4.619 MB / 0.7849 GB, free: 31.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002795/1.352, allocations: 2.959 MB / 0.7878 GB, free: 30.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/1.352, allocations: 42.98 kB / 0.7878 GB, free: 30.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/1.352, allocations: 66.06 kB / 0.7879 GB, free: 30.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 4.157e-06/1.352, allocations: 0 / 0.7879 GB, free: 30.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.04085/1.393, allocations: 25.6 MB / 0.8129 GB, free: 10.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/1.393, allocations: 261.1 kB / 0.8132 GB, free: 9.852 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007051/1.4, allocations: 4.785 MB / 0.8178 GB, free: 5.676 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005504/1.401, allocations: 25.7 kB / 0.8179 GB, free: 5.645 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002723/1.404, allocations: 4.947 MB / 0.8227 GB, free: 1.152 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.405, allocations: 0.9876 MB / 0.8236 GB, free: 276 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/1.405, allocations: 2.781 kB / 0.8236 GB, free: 276 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004874/1.406, allocations: 0.6787 MB / 0.8243 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003995/1.41, allocations: 2.694 MB / 0.8269 GB, free: 13.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00794/1.418, allocations: 7.975 MB / 0.8347 GB, free: 3.246 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006537/1.424, allocations: 4.599 MB / 0.8392 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.031e-05/1.424, allocations: 56 kB / 0.8393 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.01919/1.443, allocations: 10.09 MB / 0.8491 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/1.444, allocations: 89 kB / 0.8492 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002368/1.444, allocations: 188 kB / 0.8494 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/1.446, allocations: 0.7999 MB / 0.8502 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006838/1.453, allocations: 1.996 MB / 0.8521 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5825/2.035, allocations: 8.022 MB / 0.86 GB, free: 99.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007949/2.043, allocations: 298.5 kB / 0.8602 GB, free: 99.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002048/2.045, allocations: 0.5183 MB / 0.8608 GB, free: 99.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * 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 (1069): * Single equations (assignments): 1063 * 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.001479/2.047, allocations: 0.5803 MB / 0.8613 GB, free: 99.09 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001532/2.048, allocations: 0.5028 MB / 0.8618 GB, free: 99.09 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008264/2.056, allocations: 4.069 MB / 0.8658 GB, free: 98.93 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-05/2.057, allocations: 28.44 kB / 0.8658 GB, free: 98.93 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/2.057, allocations: 8.594 kB / 0.8658 GB, free: 98.93 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-05/2.057, allocations: 13.98 kB / 0.8658 GB, free: 98.93 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/2.081, allocations: 9.973 MB / 0.8756 GB, free: 98.31 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/2.081, allocations: 0 / 0.8756 GB, free: 98.31 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/2.083, allocations: 422.6 kB / 0.876 GB, free: 98.31 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/2.084, allocations: 497.4 kB / 0.8764 GB, free: 98.29 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/2.085, allocations: 15.02 kB / 0.8765 GB, free: 98.29 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00634/2.091, allocations: 7.1 MB / 0.8834 GB, free: 94.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/2.091, allocations: 0 / 0.8834 GB, free: 94.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009995/2.101, allocations: 7.419 MB / 0.8906 GB, free: 93.73 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002607/2.104, allocations: 0.8764 MB / 0.8915 GB, free: 93.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007908/2.104, allocations: 3.906 kB / 0.8915 GB, free: 93.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/2.106, allocations: 106.7 kB / 0.8916 GB, free: 93.64 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/2.107, allocations: 153.2 kB / 0.8917 GB, free: 93.63 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/2.107, allocations: 66.75 kB / 0.8918 GB, free: 93.63 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006104/2.113, allocations: 3.245 MB / 0.895 GB, free: 93.45 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.71e-07/2.113, allocations: 0 / 0.895 GB, free: 93.45 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009201/2.122, allocations: 1.305 MB / 0.8963 GB, free: 93.45 MB / 0.4949 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 (218): * Single equations (assignments): 212 * 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.0006072/2.123, allocations: 152.3 kB / 0.8964 GB, free: 93.37 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01117/2.134, allocations: 6.8 MB / 0.903 GB, free: 93.02 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/2.134, allocations: 3.5 kB / 0.903 GB, free: 93.02 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002974/2.137, allocations: 2.345 MB / 0.9053 GB, free: 92.69 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/2.141, allocations: 0.5991 MB / 0.9059 GB, free: 92.67 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/2.164, allocations: 11.81 MB / 0.9175 GB, free: 90.33 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005456/2.17, allocations: 5.049 MB / 0.9224 GB, free: 88.89 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006836/2.177, allocations: 2.736 MB / 0.9251 GB, free: 88.84 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/2.178, allocations: 355.7 kB / 0.9254 GB, free: 88.82 MB / 0.4949 GB Notification: Performance of SimCode: time 1.393e-06/2.178, allocations: 0 / 0.9254 GB, free: 88.82 MB / 0.4949 GB Notification: Performance of Templates: time 0.08394/2.262, allocations: 45.26 MB / 0.9696 GB, free: 71.88 MB / 0.4949 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)