Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002223/0.002223, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.498/1.498, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001669/0.001669, allocations: 111.8 kB / 247.4 MB, free: 6.219 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.1861/0.1861, allocations: 39.95 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.101e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3853/0.5133, allocations: 103.2 MB / 0.5385 GB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5136, allocations: 76.22 kB / 0.5386 GB, free: 13.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8508/1.364, allocations: 218.1 MB / 0.7516 GB, free: 77.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.365, allocations: 3.938 kB / 0.7516 GB, free: 77.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001064/1.366, allocations: 235.7 kB / 0.7518 GB, free: 77.46 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: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.0374/1.403, allocations: 11.38 MB / 0.7629 GB, free: 72.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.403, allocations: 7.188 kB / 0.7629 GB, free: 72.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04948/1.453, allocations: 12.64 MB / 0.7753 GB, free: 65.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02842/1.481, allocations: 12.55 MB / 0.7875 GB, free: 53.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005688/1.482, allocations: 396 kB / 0.7879 GB, free: 53.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005219/1.487, allocations: 0.7067 MB / 0.7886 GB, free: 52.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02914/1.516, allocations: 16.72 MB / 0.8049 GB, free: 35.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05158/1.568, allocations: 24.46 MB / 0.8288 GB, free: 9.254 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007951/1.569, allocations: 126.8 kB / 0.8289 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005066/1.574, allocations: 60 kB / 0.829 GB, free: 9.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003777/1.577, allocations: 2.678 MB / 0.8316 GB, free: 6.395 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4242/2.002, allocations: 110.3 MB / 0.9393 GB, free: 42.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/2.015, allocations: 10.81 MB / 0.9499 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009018/2.024, allocations: 7.538 MB / 0.9572 GB, free: 34.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002606/2.026, allocations: 2.348 MB / 0.9595 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.535e-05/2.026, allocations: 101.3 kB / 0.9596 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=541): time 1.029e-05/2.026, allocations: 0 / 0.9596 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=629): time 0.1058/2.132, allocations: 56.89 MB / 1.015 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/2.132, allocations: 318.6 kB / 1.015 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02015/2.152, allocations: 7.67 MB / 1.023 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001703/2.154, allocations: 28.39 kB / 1.023 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006661/2.161, allocations: 7.91 MB / 1.031 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003755/2.165, allocations: 2.227 MB / 1.033 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/2.166, allocations: 0 / 1.033 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008567/2.167, allocations: 0.9314 MB / 1.034 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01692/2.184, allocations: 6.809 MB / 1.04 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3887/2.572, allocations: 14.01 MB / 1.054 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0186/2.591, allocations: 9.205 MB / 1.063 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00038/2.591, allocations: 78.5 kB / 1.063 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1919) (initialization): time 0.04956/2.641, allocations: 21.63 MB / 1.084 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005651/2.642, allocations: 123.1 kB / 1.084 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008066/2.642, allocations: 279.4 kB / 1.085 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009088/2.652, allocations: 3.28 MB / 1.088 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01511/2.667, allocations: 3.605 MB / 1.091 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02924/2.696, allocations: 21.32 MB / 1.112 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01595/2.712, allocations: 0.6025 MB / 1.113 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00534/2.717, allocations: 0.8418 MB / 1.114 GB, free: 107.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1255 * Number of states: 0 () * Number of discrete variables: 105 (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],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1799): * Single equations (assignments): 1792 * 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%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007843/2.725, allocations: 0.8281 MB / 1.114 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004362/2.73, allocations: 0.8154 MB / 1.115 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03052/2.76, allocations: 13.75 MB / 1.129 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.156e-05/2.76, allocations: 65.5 kB / 1.129 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.224e-05/2.76, allocations: 17.73 kB / 1.129 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001248/2.76, allocations: 35.69 kB / 1.129 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06787/2.828, allocations: 27.65 MB / 1.156 GB, free: 90.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/2.828, allocations: 4.094 kB / 1.156 GB, free: 90.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006923/2.835, allocations: 1.23 MB / 1.157 GB, free: 89.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006787/2.842, allocations: 2.796 MB / 1.16 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001286/2.844, allocations: 20.64 kB / 1.16 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/2.865, allocations: 19.67 MB / 1.179 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/2.865, allocations: 7.422 kB / 1.179 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03091/2.896, allocations: 21.53 MB / 1.2 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005663/2.902, allocations: 1.84 MB / 1.202 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002298/2.904, allocations: 4 kB / 1.202 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006638/2.911, allocations: 383 kB / 1.202 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001127/2.912, allocations: 365.8 kB / 1.203 GB, free: 49.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004604/2.912, allocations: 160.1 kB / 1.203 GB, free: 49.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009743/2.922, allocations: 4.752 MB / 1.207 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.22e-07/2.922, allocations: 0 / 1.207 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01834/2.94, allocations: 2.54 MB / 1.21 GB, free: 42.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (540): * Single equations (assignments): 533 * 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%) 18,(4,75.0%) 18,(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.001425/2.942, allocations: 177 kB / 1.21 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02349/2.965, allocations: 15.85 MB / 1.225 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/2.965, allocations: 0 / 1.225 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01011/2.976, allocations: 6.708 MB / 1.232 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006744/2.982, allocations: 0.8661 MB / 1.233 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4127/3.395, allocations: 23.45 MB / 1.256 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01505/3.41, allocations: 8.324 MB / 1.264 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01287/3.423, allocations: 4.661 MB / 1.268 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/3.426, allocations: 0.6071 MB / 1.269 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/3.426, allocations: 0 / 1.269 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.1828/3.609, allocations: 99.31 MB / 1.366 GB, free: 64.12 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1)