Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.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.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0012/0.0012, 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.051/1.051, 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.001556/0.001556, allocations: 110.9 kB / 223.2 MB, free: 4.113 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.1716/0.1716, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.803e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.5826, allocations: 98.55 MB / 0.4924 GB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.583, allocations: 74.92 kB / 0.4925 GB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8119/1.395, allocations: 236.8 MB / 0.7237 GB, free: 49.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.395, allocations: 0 / 0.7237 GB, free: 49.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007749/1.396, allocations: 251.9 kB / 0.724 GB, free: 48.91 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.03964/1.435, allocations: 12.25 MB / 0.7359 GB, free: 36.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.435, allocations: 8.031 kB / 0.7359 GB, free: 36.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05062/1.486, allocations: 12.79 MB / 0.7484 GB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03367/1.52, allocations: 13.22 MB / 0.7613 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/1.521, allocations: 0.9465 MB / 0.7622 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007291/1.529, allocations: 1.249 MB / 0.7635 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3836/1.912, allocations: 30.01 MB / 0.7928 GB, free: 49.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009715/1.913, allocations: 138.7 kB / 0.7929 GB, free: 49.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004687/1.918, allocations: 0.58 MB / 0.7935 GB, free: 49.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00455/1.923, allocations: 2.86 MB / 0.7963 GB, free: 49.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05343/1.976, allocations: 24.5 MB / 0.8202 GB, free: 48.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1569/2.133, allocations: 127.2 MB / 0.9444 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03805/2.171, allocations: 14.91 MB / 0.959 GB, free: 8.102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01234/2.183, allocations: 8.101 MB / 0.9669 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3804/2.564, allocations: 20.22 MB / 0.9866 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.732e-05/2.564, allocations: 97 kB / 0.9867 GB, free: 106.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=566): time 8.276e-06/2.564, allocations: 1.938 kB / 0.9867 GB, free: 106.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=650): time 0.1473/2.711, allocations: 60.83 MB / 1.046 GB, free: 93.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/2.712, allocations: 389.6 kB / 1.046 GB, free: 93.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01872/2.73, allocations: 10.52 MB / 1.057 GB, free: 89.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002334/2.733, allocations: 126.2 kB / 1.057 GB, free: 89.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006106/2.739, allocations: 8.409 MB / 1.065 GB, free: 82.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003507/2.742, allocations: 2.388 MB / 1.067 GB, free: 80.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/2.744, allocations: 312 kB / 1.068 GB, free: 80.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000725/2.745, allocations: 0.9496 MB / 1.069 GB, free: 79.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00952/2.754, allocations: 6.61 MB / 1.075 GB, free: 73.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01693/2.771, allocations: 14.89 MB / 1.09 GB, free: 55.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/2.787, allocations: 9.815 MB / 1.099 GB, free: 48.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002882/2.787, allocations: 80 kB / 1.099 GB, free: 48.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.04825/2.835, allocations: 24.36 MB / 1.123 GB, free: 27.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001753/2.836, allocations: 128 kB / 1.123 GB, free: 27.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003854/2.836, allocations: 288 kB / 1.123 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007714/2.844, allocations: 3.287 MB / 1.127 GB, free: 24.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0142/2.858, allocations: 3.738 MB / 1.13 GB, free: 21.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3766/3.235, allocations: 22.45 MB / 1.152 GB, free: 83.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01636/3.251, allocations: 0.9335 MB / 1.153 GB, free: 83.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004673/3.256, allocations: 0.8744 MB / 1.154 GB, free: 83.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1877): * Single equations (assignments): 1870 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006557/3.262, allocations: 1.263 MB / 1.155 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003398/3.266, allocations: 1.068 MB / 1.156 GB, free: 83.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02826/3.294, allocations: 14.64 MB / 1.171 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001212/3.294, allocations: 66.53 kB / 1.171 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.908e-05/3.294, allocations: 15.62 kB / 1.171 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001827/3.295, allocations: 34.92 kB / 1.171 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06743/3.362, allocations: 32.4 MB / 1.202 GB, free: 77.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.913e-05/3.362, allocations: 13.53 kB / 1.202 GB, free: 77.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006631/3.369, allocations: 1.31 MB / 1.204 GB, free: 77.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007036/3.376, allocations: 2.814 MB / 1.206 GB, free: 76.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00178/3.378, allocations: 125.6 kB / 1.207 GB, free: 76.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02507/3.403, allocations: 21.01 MB / 1.227 GB, free: 65.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/3.403, allocations: 16.09 kB / 1.227 GB, free: 65.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03635/3.439, allocations: 26.14 MB / 1.253 GB, free: 51.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008073/3.447, allocations: 2.188 MB / 1.255 GB, free: 50.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00302/3.45, allocations: 123 kB / 1.255 GB, free: 50.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007886/3.458, allocations: 462 kB / 1.255 GB, free: 49.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001296/3.459, allocations: 414.5 kB / 1.256 GB, free: 49.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004804/3.46, allocations: 167.8 kB / 1.256 GB, free: 49.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01463/3.475, allocations: 7.595 MB / 1.263 GB, free: 42.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.475, allocations: 0 / 1.263 GB, free: 42.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01939/3.494, allocations: 3.08 MB / 1.266 GB, free: 39.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002205/3.496, allocations: 305.6 kB / 1.267 GB, free: 39.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02632/3.523, allocations: 16.51 MB / 1.283 GB, free: 25.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.05e-05/3.523, allocations: 4 kB / 1.283 GB, free: 25.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0114/3.534, allocations: 7.092 MB / 1.29 GB, free: 18.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01073/3.545, allocations: 1.33 MB / 1.291 GB, free: 17.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05663/3.602, allocations: 25.53 MB / 1.316 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3281/3.93, allocations: 8.962 MB / 1.325 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01884/3.949, allocations: 5.138 MB / 1.33 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00507/3.954, allocations: 0.7247 MB / 1.33 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/3.954, allocations: 4.094 kB / 1.33 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.201/4.155, allocations: 114.9 MB / 1.443 GB, free: 47.04 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)