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.001007/0.001007, allocations: 170.2 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.216/1.216, 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.001659/0.001659, allocations: 117.5 kB / 223.2 MB, free: 4.105 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.1777/0.1777, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.624e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.0929, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.4874, allocations: 95.72 MB / 0.4897 GB, free: 16.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4877, allocations: 70.97 kB / 0.4897 GB, free: 16.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6544/1.142, allocations: 151.8 MB / 0.638 GB, free: 62.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.757e-06/1.142, allocations: 1.156 kB / 0.638 GB, free: 62.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005462/1.143, allocations: 153 kB / 0.6381 GB, free: 62.09 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: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.03008/1.173, allocations: 7.384 MB / 0.6453 GB, free: 59.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.173, allocations: 11.22 kB / 0.6453 GB, free: 59.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03671/1.21, allocations: 9.624 MB / 0.6547 GB, free: 58.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02366/1.233, allocations: 9.112 MB / 0.6636 GB, free: 57.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005488/1.234, allocations: 0.5732 MB / 0.6642 GB, free: 57.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003911/1.238, allocations: 0.7616 MB / 0.6649 GB, free: 57.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04101/1.279, allocations: 18.01 MB / 0.6825 GB, free: 53.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004235/1.279, allocations: 105.3 kB / 0.6826 GB, free: 53.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002485/1.282, allocations: 378 kB / 0.683 GB, free: 53.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002215/1.284, allocations: 1.688 MB / 0.6846 GB, free: 53.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02918/1.313, allocations: 14.39 MB / 0.6987 GB, free: 51.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09286/1.406, allocations: 80.79 MB / 0.7776 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/1.424, allocations: 7.128 MB / 0.7845 GB, free: 7.098 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006088/1.43, allocations: 4.063 MB / 0.7885 GB, free: 3.355 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/1.43, allocations: 60.86 kB / 0.7886 GB, free: 3.312 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/1.43, allocations: 75.84 kB / 0.7886 GB, free: 3.234 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 6.732e-06/1.43, allocations: 0 / 0.7886 GB, free: 3.234 MB / 458.7 MB Notification: Performance of matching and sorting (n=340): time 0.365/1.795, allocations: 27.71 MB / 0.8157 GB, free: 81.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.795, allocations: 294.7 kB / 0.816 GB, free: 81.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/1.807, allocations: 6.518 MB / 0.8223 GB, free: 80.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009614/1.808, allocations: 84.39 kB / 0.8224 GB, free: 80.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004706/1.813, allocations: 5.353 MB / 0.8276 GB, free: 78.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002179/1.815, allocations: 1.283 MB / 0.8289 GB, free: 77.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/1.816, allocations: 191.7 kB / 0.8291 GB, free: 77.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005604/1.817, allocations: 0.7082 MB / 0.8298 GB, free: 77.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005765/1.823, allocations: 3.603 MB / 0.8333 GB, free: 77.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009751/1.833, allocations: 9.192 MB / 0.8423 GB, free: 69.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009183/1.842, allocations: 5.707 MB / 0.8478 GB, free: 69.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002068/1.842, allocations: 55.56 kB / 0.8479 GB, free: 69.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.02869/1.871, allocations: 13.74 MB / 0.8613 GB, free: 68.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/1.871, allocations: 87.5 kB / 0.8614 GB, free: 68.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002616/1.871, allocations: 199.7 kB / 0.8616 GB, free: 68.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/1.874, allocations: 1.372 MB / 0.8629 GB, free: 68.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008/1.882, allocations: 2.239 MB / 0.8651 GB, free: 67.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.895, allocations: 11.24 MB / 0.8761 GB, free: 60.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00919/1.904, allocations: 0.5289 MB / 0.8766 GB, free: 60.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002276/1.906, allocations: 0.5668 MB / 0.8772 GB, free: 60.7 MB / 458.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.003789/1.91, allocations: 0.8414 MB / 0.878 GB, free: 60.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001858/1.912, allocations: 0.6443 MB / 0.8786 GB, free: 59.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.924, allocations: 6.593 MB / 0.885 GB, free: 57.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.268e-05/1.924, allocations: 36.06 kB / 0.8851 GB, free: 57.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/1.924, allocations: 14.7 kB / 0.8851 GB, free: 57.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.634e-05/1.924, allocations: 14.53 kB / 0.8851 GB, free: 57.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02921/1.953, allocations: 15.39 MB / 0.9001 GB, free: 51.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.953, allocations: 4 kB / 0.9001 GB, free: 51.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002964/1.956, allocations: 0.5808 MB / 0.9007 GB, free: 51.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002682/1.959, allocations: 1.054 MB / 0.9017 GB, free: 50.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000481/1.959, allocations: 60.94 kB / 0.9018 GB, free: 50.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/1.969, allocations: 10.24 MB / 0.9118 GB, free: 40.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.969, allocations: 3.203 kB / 0.9118 GB, free: 40.87 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/1.984, allocations: 11.12 MB / 0.9227 GB, free: 30.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003526/1.988, allocations: 1.213 MB / 0.9238 GB, free: 29.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/1.989, allocations: 60.86 kB / 0.9239 GB, free: 29.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003394/1.993, allocations: 201.6 kB / 0.9241 GB, free: 29.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005025/1.993, allocations: 201.4 kB / 0.9243 GB, free: 29.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.993, allocations: 84.92 kB / 0.9244 GB, free: 29.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008121/2.002, allocations: 4.63 MB / 0.9289 GB, free: 25.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/2.002, allocations: 0 / 0.9289 GB, free: 25.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01047/2.012, allocations: 1.787 MB / 0.9306 GB, free: 23.62 MB / 458.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.0007805/2.013, allocations: 212.9 kB / 0.9308 GB, free: 23.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01435/2.027, allocations: 9.113 MB / 0.9397 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/2.027, allocations: 0 / 0.9397 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004942/2.032, allocations: 3.488 MB / 0.9431 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004987/2.037, allocations: 0.8242 MB / 0.9439 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/2.068, allocations: 14.54 MB / 0.9581 GB, free: 15.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2937/2.362, allocations: 5.604 MB / 0.9636 GB, free: 86.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01154/2.374, allocations: 3.168 MB / 0.9667 GB, free: 86.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002555/2.376, allocations: 446 kB / 0.9671 GB, free: 86.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.824e-06/2.376, allocations: 0 / 0.9671 GB, free: 86.11 MB / 474.7 MB Notification: Performance of Templates: time 0.1254/2.502, allocations: 66.32 MB / 1.032 GB, free: 79.34 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)