Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001824/0.001824, allocations: 176 kB / 7.652 MB, free: 1.426 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.563/1.563, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001696/0.001695, allocations: 108.4 kB / 247.4 MB, free: 15.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.184/0.184, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.127e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2913, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.6382, allocations: 100.7 MB / 0.5361 GB, free: 88.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.6384, allocations: 78.33 kB / 0.5361 GB, free: 88.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3054/0.9439, allocations: 129 MB / 0.6621 GB, free: 9.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.9439, allocations: 0 / 0.6621 GB, free: 9.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004631/0.9444, allocations: 135.9 kB / 0.6622 GB, free: 9.062 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: 2388 * Number of variables: 2388 Notification: Performance of Generate backend data structure: time 0.02241/0.9668, allocations: 6.65 MB / 0.6687 GB, free: 2.336 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.9669, allocations: 12.03 kB / 0.6687 GB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03183/0.9987, allocations: 7.143 MB / 0.6757 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01995/1.019, allocations: 7.427 MB / 0.683 GB, free: 3.648 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004358/1.019, allocations: 223.9 kB / 0.6832 GB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0028/1.022, allocations: 399.8 kB / 0.6836 GB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01798/1.04, allocations: 9.255 MB / 0.6926 GB, free: 9.773 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2734/1.313, allocations: 14.33 MB / 0.7066 GB, free: 66.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002735/1.314, allocations: 87.75 kB / 0.7067 GB, free: 66.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008395/1.315, allocations: 44.12 kB / 0.7067 GB, free: 66.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00189/1.317, allocations: 1.553 MB / 0.7082 GB, free: 66.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06167/1.378, allocations: 69.7 MB / 0.7763 GB, free: 26.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/1.383, allocations: 5.205 MB / 0.7814 GB, free: 25.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003401/1.387, allocations: 3.512 MB / 0.7848 GB, free: 24.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/1.387, allocations: 388.1 kB / 0.7852 GB, free: 24.19 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.388, allocations: 63.53 kB / 0.7852 GB, free: 24.13 MB / 458.7 MB Notification: Performance of pre-optimization done (n=268): time 6.682e-06/1.388, allocations: 5.734 kB / 0.7852 GB, free: 24.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=312): time 0.05119/1.439, allocations: 27.54 MB / 0.8121 GB, free: 13.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/1.439, allocations: 233.8 kB / 0.8124 GB, free: 13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00597/1.445, allocations: 4.77 MB / 0.817 GB, free: 11.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006726/1.446, allocations: 28.36 kB / 0.817 GB, free: 11.28 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002127/1.448, allocations: 4.927 MB / 0.8219 GB, free: 7.598 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.449, allocations: 1.151 MB / 0.823 GB, free: 6.746 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003818/1.449, allocations: 0 / 0.823 GB, free: 6.746 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000366/1.45, allocations: 0.7019 MB / 0.8237 GB, free: 6.273 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/1.454, allocations: 3.407 MB / 0.827 GB, free: 5.047 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006932/1.461, allocations: 8.861 MB / 0.8356 GB, free: 12.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008029/1.469, allocations: 5.427 MB / 0.8409 GB, free: 10.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/1.469, allocations: 56.5 kB / 0.841 GB, free: 10.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.02645/1.495, allocations: 12.54 MB / 0.8532 GB, free: 1.293 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/1.496, allocations: 88 kB / 0.8533 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003081/1.496, allocations: 199.9 kB / 0.8535 GB, free: 1.012 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004451/1.5, allocations: 1.737 MB / 0.8552 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008561/1.509, allocations: 2.207 MB / 0.8574 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/1.524, allocations: 10.75 MB / 0.8679 GB, free: 4.273 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008351/1.532, allocations: 373 kB / 0.8682 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002622/1.535, allocations: 0.5639 MB / 0.8688 GB, free: 3.445 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 886 * Number of states: 0 () * Number of discrete variables: 60 (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],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 (1148): * Single equations (assignments): 1143 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003766/1.539, allocations: 0.588 MB / 0.8693 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/1.541, allocations: 0.5013 MB / 0.8698 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/1.554, allocations: 6.573 MB / 0.8763 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.206e-05/1.554, allocations: 32 kB / 0.8763 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-05/1.554, allocations: 11.47 kB / 0.8763 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.071e-05/1.554, allocations: 15.34 kB / 0.8763 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/1.579, allocations: 13.74 MB / 0.8897 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/1.579, allocations: 4 kB / 0.8897 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003036/1.582, allocations: 0.5383 MB / 0.8903 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003703/1.586, allocations: 1.401 MB / 0.8916 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007404/1.587, allocations: 13.97 kB / 0.8916 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2832/1.87, allocations: 9.9 MB / 0.9013 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.87, allocations: 4.25 kB / 0.9013 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.886, allocations: 10.94 MB / 0.912 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/1.889, allocations: 1.029 MB / 0.913 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000697/1.89, allocations: 7.703 kB / 0.913 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.892, allocations: 165.9 kB / 0.9132 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004374/1.892, allocations: 183.1 kB / 0.9133 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.893, allocations: 83.89 kB / 0.9134 GB, free: 107 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005605/1.898, allocations: 3.212 MB / 0.9166 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.62e-07/1.898, allocations: 0 / 0.9166 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009009/1.907, allocations: 1.427 MB / 0.918 GB, free: 106.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 248 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0007309/1.908, allocations: 151 kB / 0.9181 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01335/1.921, allocations: 8.592 MB / 0.9265 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.921, allocations: 0 / 0.9265 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005365/1.927, allocations: 3.321 MB / 0.9297 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/1.931, allocations: 0.5303 MB / 0.9302 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/1.955, allocations: 12.93 MB / 0.9429 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005876/1.961, allocations: 5.035 MB / 0.9478 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009146/1.97, allocations: 3.005 MB / 0.9507 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/1.972, allocations: 368.2 kB / 0.9511 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/1.972, allocations: 0 / 0.9511 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.09185/2.064, allocations: 52.88 MB / 1.003 GB, free: 76.75 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)