Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001063/0.001063, allocations: 156.1 kB / 7.633 MB, free: 1.445 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.349/1.349, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001609/0.001609, allocations: 103.7 kB / 218 MB, free: 15.34 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.2901/0.2901, allocations: 37.98 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.853e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2649, allocations: 48.69 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.399, allocations: 95.06 MB / 493.8 MB, free: 4.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.3993, allocations: 75.91 kB / 493.9 MB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5919/0.9913, allocations: 148.4 MB / 0.6272 GB, free: 72.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.9913, allocations: 0 / 0.6272 GB, free: 72.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004937/0.9918, allocations: 148 kB / 0.6274 GB, free: 72.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.02672/1.019, allocations: 7.364 MB / 0.6345 GB, free: 64.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.019, allocations: 12.03 kB / 0.6346 GB, free: 64.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03724/1.056, allocations: 9.634 MB / 0.644 GB, free: 55.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02246/1.078, allocations: 9.11 MB / 0.6529 GB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004447/1.079, allocations: 252 kB / 0.6531 GB, free: 45.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003558/1.082, allocations: 455.8 kB / 0.6535 GB, free: 45.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02083/1.103, allocations: 10.43 MB / 0.6637 GB, free: 35.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03422/1.138, allocations: 16.1 MB / 0.6794 GB, free: 17.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004802/1.138, allocations: 99 kB / 0.6795 GB, free: 17.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002599/1.141, allocations: 55.95 kB / 0.6796 GB, free: 17.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/1.143, allocations: 1.698 MB / 0.6812 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3441/1.487, allocations: 77.55 MB / 0.757 GB, free: 37.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007819/1.495, allocations: 5.859 MB / 0.7627 GB, free: 36.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006057/1.501, allocations: 3.99 MB / 0.7666 GB, free: 36.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/1.501, allocations: 60.67 kB / 0.7667 GB, free: 36.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/1.501, allocations: 72.47 kB / 0.7667 GB, free: 36.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 6.462e-06/1.501, allocations: 0 / 0.7667 GB, free: 36.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=340): time 0.05506/1.556, allocations: 30.07 MB / 0.7961 GB, free: 27.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.556, allocations: 294.9 kB / 0.7964 GB, free: 26.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007838/1.564, allocations: 5.116 MB / 0.8014 GB, free: 25.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000934/1.565, allocations: 28.7 kB / 0.8014 GB, free: 25.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002963/1.568, allocations: 5.436 MB / 0.8067 GB, free: 20.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.57, allocations: 1.248 MB / 0.8079 GB, free: 19.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/1.57, allocations: 0 / 0.8079 GB, free: 19.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004356/1.571, allocations: 0.7241 MB / 0.8086 GB, free: 19.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004239/1.575, allocations: 3.48 MB / 0.812 GB, free: 18.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006499/1.581, allocations: 9.263 MB / 0.8211 GB, free: 9.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008784/1.59, allocations: 5.614 MB / 0.8266 GB, free: 7.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002695/1.59, allocations: 60 kB / 0.8266 GB, free: 7.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.03039/1.621, allocations: 12.89 MB / 0.8392 GB, free: 13.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/1.621, allocations: 92 kB / 0.8393 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003164/1.621, allocations: 208.9 kB / 0.8395 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003691/1.625, allocations: 1.382 MB / 0.8408 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009014/1.634, allocations: 2.323 MB / 0.8431 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/1.649, allocations: 10.66 MB / 0.8535 GB, free: 40 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008934/1.658, allocations: 392.8 kB / 0.8539 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/1.66, allocations: 0.5844 MB / 0.8545 GB, free: 15.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 941 * 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 (1214): * Single equations (assignments): 1208 * 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,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00157/1.662, allocations: 0.6274 MB / 0.8551 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/1.663, allocations: 0.5515 MB / 0.8556 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.674, allocations: 6.26 MB / 0.8617 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.136e-05/1.674, allocations: 39.84 kB / 0.8618 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/1.674, allocations: 16.22 kB / 0.8618 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.525e-05/1.674, allocations: 15.23 kB / 0.8618 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03403/1.708, allocations: 14.25 MB / 0.8757 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/1.708, allocations: 0 / 0.8757 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/1.711, allocations: 0.5842 MB / 0.8763 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.714, allocations: 1.043 MB / 0.8773 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004701/1.715, allocations: 11.66 kB / 0.8773 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/1.726, allocations: 9.733 MB / 0.8868 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.726, allocations: 0 / 0.8868 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2969/2.023, allocations: 11.22 MB / 0.8978 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004138/2.028, allocations: 1.08 MB / 0.8988 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/2.029, allocations: 3.953 kB / 0.8988 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/2.032, allocations: 152.8 kB / 0.899 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005319/2.032, allocations: 199.1 kB / 0.8992 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/2.033, allocations: 86.08 kB / 0.8992 GB, free: 116.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008866/2.042, allocations: 3.449 MB / 0.9026 GB, free: 116.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.042, allocations: 0.5312 kB / 0.9026 GB, free: 116.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01154/2.053, allocations: 1.547 MB / 0.9041 GB, free: 116.7 MB / 474.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.001046/2.054, allocations: 148 kB / 0.9043 GB, free: 116.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01806/2.072, allocations: 8.767 MB / 0.9128 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/2.072, allocations: 0 / 0.9128 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005056/2.077, allocations: 3.388 MB / 0.9161 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004793/2.082, allocations: 0.6258 MB / 0.9167 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/2.112, allocations: 14.04 MB / 0.9305 GB, free: 113.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01142/2.123, allocations: 5.614 MB / 0.9359 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009372/2.133, allocations: 3.139 MB / 0.939 GB, free: 112.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/2.134, allocations: 406.4 kB / 0.9394 GB, free: 112.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.042e-06/2.134, allocations: 0 / 0.9394 GB, free: 112.3 MB / 474.7 MB Notification: Performance of Templates: time 0.1189/2.253, allocations: 55.39 MB / 0.9935 GB, free: 82.67 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)