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.007691/0.007691, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.731/1.731, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001667/0.001667, allocations: 128.5 kB / 255.6 MB, free: 10.23 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.178/0.178, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004121, allocations: 16.53 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.4977, allocations: 101.5 MB / 0.5493 GB, free: 21.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.4979, allocations: 78.53 kB / 0.5494 GB, free: 21.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3002/0.7981, allocations: 131.9 MB / 0.6782 GB, free: 12.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7982, allocations: 0 / 0.6782 GB, free: 12.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004434/0.7986, allocations: 135.9 kB / 0.6783 GB, free: 12.04 MB / 458.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.02184/0.8205, allocations: 7.177 MB / 0.6854 GB, free: 4.781 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8205, allocations: 8.031 kB / 0.6854 GB, free: 4.773 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03013/0.8507, allocations: 7.139 MB / 0.6923 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02094/0.8717, allocations: 7.477 MB / 0.6996 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/0.8722, allocations: 0.4975 MB / 0.7001 GB, free: 5.551 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003062/0.8753, allocations: 0.6638 MB / 0.7008 GB, free: 4.887 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03873/0.914, allocations: 16.2 MB / 0.7166 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003442/0.9144, allocations: 91.12 kB / 0.7167 GB, free: 3.105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00205/0.9165, allocations: 327.8 kB / 0.717 GB, free: 2.785 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002231/0.9187, allocations: 1.545 MB / 0.7185 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2879/1.207, allocations: 13.13 MB / 0.7313 GB, free: 85.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09598/1.303, allocations: 72.98 MB / 0.8026 GB, free: 43.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/1.317, allocations: 6.511 MB / 0.809 GB, free: 41.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01483/1.332, allocations: 9.282 MB / 0.818 GB, free: 37.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/1.332, allocations: 61.38 kB / 0.8181 GB, free: 37.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=269): time 5.23e-06/1.332, allocations: 0 / 0.8181 GB, free: 37.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=311): time 0.06341/1.395, allocations: 30.09 MB / 0.8475 GB, free: 26.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/1.395, allocations: 246.6 kB / 0.8477 GB, free: 25.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.405, allocations: 6.161 MB / 0.8537 GB, free: 23.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009104/1.406, allocations: 80.44 kB / 0.8538 GB, free: 23.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003976/1.41, allocations: 4.831 MB / 0.8585 GB, free: 19.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001738/1.412, allocations: 1.176 MB / 0.8597 GB, free: 19.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008285/1.413, allocations: 178.3 kB / 0.8598 GB, free: 18.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004604/1.414, allocations: 0.6904 MB / 0.8605 GB, free: 18.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004981/1.418, allocations: 3.571 MB / 0.864 GB, free: 15.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008036/1.427, allocations: 8.848 MB / 0.8726 GB, free: 4.973 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007448/1.434, allocations: 5.499 MB / 0.878 GB, free: 280 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001637/1.434, allocations: 59.38 kB / 0.8781 GB, free: 224 kB / 490.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03335/1.468, allocations: 13.95 MB / 0.8917 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001836/1.468, allocations: 84 kB / 0.8918 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003822/1.468, allocations: 188 kB / 0.8919 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004338/1.473, allocations: 1.71 MB / 0.8936 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008061/1.481, allocations: 2.132 MB / 0.8957 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/1.497, allocations: 11.73 MB / 0.9071 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008371/1.505, allocations: 0.5408 MB / 0.9077 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/1.507, allocations: 0.5318 MB / 0.9082 GB, free: 6.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 850 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1104): * Single equations (assignments): 1099 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007998/1.515, allocations: 3.223 MB / 0.9113 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/1.517, allocations: 0.59 MB / 0.9119 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2568/1.774, allocations: 6.978 MB / 0.9187 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-05/1.774, allocations: 34.19 kB / 0.9188 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-05/1.774, allocations: 8.938 kB / 0.9188 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.538e-05/1.774, allocations: 16.11 kB / 0.9188 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03228/1.806, allocations: 15.19 MB / 0.9336 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-05/1.806, allocations: 3.562 kB / 0.9336 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/1.809, allocations: 0.5683 MB / 0.9342 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/1.813, allocations: 1.411 MB / 0.9356 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000611/1.813, allocations: 58.03 kB / 0.9356 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.825, allocations: 10.82 MB / 0.9462 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.825, allocations: 9.531 kB / 0.9462 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/1.841, allocations: 11.83 MB / 0.9577 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00409/1.846, allocations: 1.154 MB / 0.9589 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001489/1.847, allocations: 60.41 kB / 0.9589 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/1.85, allocations: 208.9 kB / 0.9591 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/1.851, allocations: 191.5 kB / 0.9593 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/1.851, allocations: 85.22 kB / 0.9594 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008414/1.859, allocations: 4.41 MB / 0.9637 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/1.859, allocations: 3.906 kB / 0.9637 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01143/1.871, allocations: 1.658 MB / 0.9653 GB, free: 104.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (254): * Single equations (assignments): 249 * 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.0009271/1.872, allocations: 207.3 kB / 0.9655 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01344/1.885, allocations: 8.809 MB / 0.9741 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.885, allocations: 5.625 kB / 0.9741 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005144/1.891, allocations: 3.378 MB / 0.9774 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/1.895, allocations: 0.7032 MB / 0.9781 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/1.924, allocations: 18.25 MB / 0.9959 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006687/1.93, allocations: 5.023 MB / 1.001 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008428/1.939, allocations: 2.97 MB / 1.004 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.94, allocations: 411.7 kB / 1.004 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/1.94, allocations: 0 / 1.004 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.1007/2.041, allocations: 63.51 MB / 1.066 GB, free: 48.58 MB / 0.5105 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)