Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002077/0.002077, 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.78/1.78, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001703/0.001703, allocations: 111.8 kB / 252.6 MB, free: 4.824 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.2023/0.2023, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.835e-05/3.845e-05, allocations: 7.984 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 54.85 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5625, allocations: 102.5 MB / 0.5446 GB, free: 5.312 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.5627, allocations: 73.59 kB / 0.5447 GB, free: 5.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6925/1.255, allocations: 152 MB / 0.6931 GB, free: 84.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.255, allocations: 0 / 0.6931 GB, free: 84.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004539/1.256, allocations: 151.2 kB / 0.6932 GB, free: 84.4 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: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.02864/1.284, allocations: 7.385 MB / 0.7004 GB, free: 81.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.284, allocations: 8.594 kB / 0.7004 GB, free: 81.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0374/1.322, allocations: 9.633 MB / 0.7098 GB, free: 80.99 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/1.345, allocations: 9.124 MB / 0.7187 GB, free: 80.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006347/1.346, allocations: 0.5829 MB / 0.7193 GB, free: 80.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003946/1.35, allocations: 0.7641 MB / 0.7201 GB, free: 80.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04202/1.392, allocations: 18.03 MB / 0.7377 GB, free: 75.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005069/1.393, allocations: 109.8 kB / 0.7378 GB, free: 75.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002486/1.395, allocations: 371.8 kB / 0.7381 GB, free: 75.49 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00225/1.397, allocations: 1.687 MB / 0.7398 GB, free: 75.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02959/1.427, allocations: 14.4 MB / 0.7538 GB, free: 71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08903/1.516, allocations: 80.92 MB / 0.8329 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.534, allocations: 7.151 MB / 0.8398 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006182/1.54, allocations: 4.07 MB / 0.8438 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/1.54, allocations: 58.98 kB / 0.8439 GB, free: 2.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.43e-05/1.54, allocations: 68.69 kB / 0.8439 GB, free: 2.648 MB / 490.7 MB Notification: Performance of pre-optimization done (n=307): time 5.79e-06/1.54, allocations: 0 / 0.8439 GB, free: 2.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=340): time 0.3487/1.889, allocations: 27.37 MB / 0.8707 GB, free: 86.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/1.889, allocations: 293.3 kB / 0.8709 GB, free: 86.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/1.899, allocations: 6.51 MB / 0.8773 GB, free: 85.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00103/1.9, allocations: 79.11 kB / 0.8774 GB, free: 85.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00435/1.905, allocations: 5.359 MB / 0.8826 GB, free: 83.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002026/1.907, allocations: 1.281 MB / 0.8839 GB, free: 82.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008777/1.908, allocations: 193.9 kB / 0.8841 GB, free: 82.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000463/1.908, allocations: 0.7111 MB / 0.8847 GB, free: 82.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004996/1.913, allocations: 3.601 MB / 0.8883 GB, free: 82.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008536/1.922, allocations: 9.187 MB / 0.8972 GB, free: 75.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009066/1.931, allocations: 5.704 MB / 0.9028 GB, free: 75.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002583/1.931, allocations: 58.7 kB / 0.9029 GB, free: 75.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.02537/1.957, allocations: 13.73 MB / 0.9163 GB, free: 71.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/1.957, allocations: 99.55 kB / 0.9164 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002599/1.957, allocations: 195 kB / 0.9166 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003284/1.96, allocations: 1.38 MB / 0.9179 GB, free: 71.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008808/1.969, allocations: 2.241 MB / 0.9201 GB, free: 71.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/1.981, allocations: 11.24 MB / 0.9311 GB, free: 64.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008494/1.989, allocations: 0.5325 MB / 0.9316 GB, free: 64.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/1.991, allocations: 0.5609 MB / 0.9321 GB, free: 64.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 (1172): * Single equations (assignments): 1166 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001738/1.993, allocations: 0.841 MB / 0.933 GB, free: 63.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.994, allocations: 0.6413 MB / 0.9336 GB, free: 63.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/2.005, allocations: 6.59 MB / 0.94 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.393e-05/2.005, allocations: 36.88 kB / 0.94 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/2.005, allocations: 12.91 kB / 0.9401 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.001e-05/2.006, allocations: 17.2 kB / 0.9401 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0299/2.035, allocations: 15.39 MB / 0.9551 GB, free: 53.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/2.035, allocations: 0 / 0.9551 GB, free: 53.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/2.039, allocations: 0.5811 MB / 0.9557 GB, free: 52.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/2.041, allocations: 1.053 MB / 0.9567 GB, free: 51.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005108/2.042, allocations: 59.84 kB / 0.9568 GB, free: 51.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/2.052, allocations: 10.25 MB / 0.9668 GB, free: 42.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/2.052, allocations: 13.31 kB / 0.9668 GB, free: 42.42 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/2.069, allocations: 11.12 MB / 0.9776 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004654/2.073, allocations: 1.21 MB / 0.9788 GB, free: 31.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00198/2.075, allocations: 52 kB / 0.9789 GB, free: 31.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003942/2.079, allocations: 207.5 kB / 0.9791 GB, free: 31.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005786/2.08, allocations: 202.2 kB / 0.9793 GB, free: 31.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/2.08, allocations: 87.61 kB / 0.9793 GB, free: 31.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008827/2.089, allocations: 4.626 MB / 0.9839 GB, free: 26.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.61e-07/2.089, allocations: 0 / 0.9839 GB, free: 26.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01105/2.1, allocations: 1.793 MB / 0.9856 GB, free: 25.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000945/2.101, allocations: 201.1 kB / 0.9858 GB, free: 24.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01615/2.117, allocations: 9.113 MB / 0.9947 GB, free: 16.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/2.117, allocations: 4 kB / 0.9947 GB, free: 16.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005311/2.122, allocations: 3.476 MB / 0.9981 GB, free: 13.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005974/2.128, allocations: 0.8196 MB / 0.9989 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/2.161, allocations: 14.34 MB / 1.013 GB, free: 12 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/2.172, allocations: 5.606 MB / 1.018 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01012/2.182, allocations: 3.166 MB / 1.021 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/2.184, allocations: 443.8 kB / 1.022 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of SimCode: time 1.803e-06/2.184, allocations: 0 / 1.022 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of Templates: time 0.4243/2.609, allocations: 66.33 MB / 1.087 GB, free: 86.57 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)