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.008005/0.008005, allocations: 166.7 kB / 15.11 MB, free: 5.969 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.38/1.38, allocations: 170.8 MB / 186.6 MB, free: 0.9727 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.001584/0.001584, allocations: 118.5 kB / 226.2 MB, free: 10.09 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.3149/0.3149, allocations: 38.05 MB / 303.7 MB, free: 42.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004129, allocations: 12 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1103, allocations: 48.71 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4762, allocations: 98.65 MB / 0.4983 GB, free: 5.383 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.4766, allocations: 74.59 kB / 0.4983 GB, free: 5.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8377/1.314, allocations: 236.5 MB / 0.7293 GB, free: 16.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.314, allocations: 0 / 0.7293 GB, free: 16.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007687/1.315, allocations: 252 kB / 0.7295 GB, free: 16.53 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.05071/1.366, allocations: 13.23 MB / 0.7425 GB, free: 3.184 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.366, allocations: 8.031 kB / 0.7425 GB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3984/1.764, allocations: 12.78 MB / 0.7549 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04256/1.807, allocations: 13.27 MB / 0.7679 GB, free: 30.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001843/1.809, allocations: 0.9444 MB / 0.7688 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009644/1.819, allocations: 1.248 MB / 0.77 GB, free: 30.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09125/1.91, allocations: 30.25 MB / 0.7996 GB, free: 24.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001201/1.911, allocations: 146.5 kB / 0.7997 GB, free: 24.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007132/1.918, allocations: 0.5794 MB / 0.8003 GB, free: 24.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005074/1.923, allocations: 2.86 MB / 0.8031 GB, free: 24.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05936/1.983, allocations: 24.86 MB / 0.8274 GB, free: 19.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6055/2.588, allocations: 127.2 MB / 0.9516 GB, free: 21.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03822/2.627, allocations: 15.05 MB / 0.9663 GB, free: 20.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04917/2.676, allocations: 20.21 MB / 0.986 GB, free: 17.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.302e-05/2.676, allocations: 101 kB / 0.9861 GB, free: 17.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=566): time 8.336e-06/2.676, allocations: 0 / 0.9861 GB, free: 17.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=650): time 0.2051/2.881, allocations: 69.64 MB / 1.054 GB, free: 2.246 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002003/2.881, allocations: 389.6 kB / 1.054 GB, free: 1.801 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05289/2.934, allocations: 12.34 MB / 1.067 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002528/2.937, allocations: 129.7 kB / 1.067 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01199/2.949, allocations: 8.41 MB / 1.075 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005443/2.954, allocations: 2.384 MB / 1.077 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003621/2.958, allocations: 308 kB / 1.077 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.002497/2.961, allocations: 0.9507 MB / 1.078 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03319/2.994, allocations: 8.168 MB / 1.086 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02397/3.018, allocations: 15.03 MB / 1.101 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02004/3.038, allocations: 9.875 MB / 1.111 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005151/3.038, allocations: 83.95 kB / 1.111 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.06145/3.1, allocations: 24.66 MB / 1.135 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/3.1, allocations: 129 kB / 1.135 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004586/3.101, allocations: 288 kB / 1.135 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008792/3.109, allocations: 3.28 MB / 1.138 GB, free: 9.105 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01531/3.125, allocations: 3.743 MB / 1.142 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3805/3.505, allocations: 23.12 MB / 1.165 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0162/3.522, allocations: 0.929 MB / 1.166 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00456/3.526, allocations: 0.8741 MB / 1.166 GB, free: 137.9 MB / 0.5573 GB 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 () * Number of clocked 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.0177/3.544, allocations: 5.664 MB / 1.172 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003149/3.547, allocations: 1.066 MB / 1.173 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03187/3.579, allocations: 14.79 MB / 1.187 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001447/3.579, allocations: 66.34 kB / 1.188 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001144/3.579, allocations: 20 kB / 1.188 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001953/3.579, allocations: 34.77 kB / 1.188 GB, free: 137.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07651/3.656, allocations: 32.55 MB / 1.219 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001955/3.656, allocations: 9.906 kB / 1.219 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007989/3.664, allocations: 1.304 MB / 1.221 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007226/3.671, allocations: 2.826 MB / 1.223 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001961/3.673, allocations: 137.3 kB / 1.224 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02465/3.698, allocations: 21.65 MB / 1.245 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/3.698, allocations: 17.5 kB / 1.245 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03827/3.736, allocations: 26.39 MB / 1.27 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009347/3.746, allocations: 2.181 MB / 1.273 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005083/3.751, allocations: 123 kB / 1.273 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009132/3.76, allocations: 458.9 kB / 1.273 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002473/3.763, allocations: 410.8 kB / 1.274 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001808/3.764, allocations: 172 kB / 1.274 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01935/3.784, allocations: 7.707 MB / 1.281 GB, free: 103 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.01e-07/3.784, allocations: 1.688 kB / 1.281 GB, free: 103 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02372/3.808, allocations: 3.086 MB / 1.284 GB, free: 102.4 MB / 0.5573 GB 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 () * Number of clocked 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.002529/3.81, allocations: 304.3 kB / 1.285 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03111/3.841, allocations: 16.76 MB / 1.301 GB, free: 88.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.046e-05/3.841, allocations: 0 / 1.301 GB, free: 88.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01404/3.855, allocations: 7.199 MB / 1.308 GB, free: 82.24 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/3.868, allocations: 1.331 MB / 1.309 GB, free: 81.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07916/3.947, allocations: 34.82 MB / 1.343 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02527/3.972, allocations: 8.775 MB / 1.352 GB, free: 43.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.3508/4.323, allocations: 5.951 MB / 1.358 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005289/4.328, allocations: 0.7245 MB / 1.358 GB, free: 130 MB / 0.5573 GB Notification: Performance of SimCode: time 1.173e-06/4.328, allocations: 0 / 1.358 GB, free: 130 MB / 0.5573 GB Notification: Performance of Templates: time 0.3675/4.696, allocations: 114.9 MB / 1.471 GB, free: 111 MB / 0.5573 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)