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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003406/0.003406, allocations: 185.6 kB / 7.459 MB, free: 2.234 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.119/1.119, allocations: 194.2 MB / 202.1 MB, free: 8.715 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.001732/0.001732, allocations: 117.8 kB / 247.1 MB, free: 6.344 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.1611/0.1611, allocations: 39.94 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.962e-06/5.992e-06, allocations: 3.938 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08122/0.08124, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2836/0.3649, allocations: 103.1 MB / 0.5379 GB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3651, allocations: 77.3 kB / 0.5379 GB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.7812/1.146, allocations: 216.2 MB / 0.749 GB, free: 76.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001092/1.148, allocations: 237.2 kB / 0.7493 GB, free: 76.7 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.04304/1.191, allocations: 11.32 MB / 0.7603 GB, free: 71.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.191, allocations: 10.06 kB / 0.7603 GB, free: 71.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05719/1.248, allocations: 12.21 MB / 0.7723 GB, free: 67.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03622/1.284, allocations: 12.67 MB / 0.7846 GB, free: 55.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009883/1.285, allocations: 392 kB / 0.785 GB, free: 55.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007648/1.293, allocations: 0.7068 MB / 0.7857 GB, free: 54.51 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0391/1.332, allocations: 17.27 MB / 0.8025 GB, free: 37.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06802/1.4, allocations: 24.97 MB / 0.8269 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001209/1.401, allocations: 134.8 kB / 0.8271 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007294/1.409, allocations: 63.98 kB / 0.8271 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004109/1.413, allocations: 2.856 MB / 0.8299 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3748/1.788, allocations: 112.7 MB / 0.94 GB, free: 72.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/1.802, allocations: 11.43 MB / 0.9511 GB, free: 68.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009818/1.812, allocations: 8.161 MB / 0.9591 GB, free: 65.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0455/1.857, allocations: 23.09 MB / 0.9816 GB, free: 53.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/1.857, allocations: 89.56 kB / 0.9817 GB, free: 53.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 1.286e-05/1.857, allocations: 0 / 0.9817 GB, free: 53.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=609): time 0.1324/1.99, allocations: 51.64 MB / 1.032 GB, free: 17.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/1.99, allocations: 323.8 kB / 1.032 GB, free: 17.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01738/2.007, allocations: 7.187 MB / 1.039 GB, free: 10.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002094/2.01, allocations: 29.7 kB / 1.04 GB, free: 10.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007032/2.017, allocations: 7.152 MB / 1.046 GB, free: 4.559 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004919/2.022, allocations: 2.161 MB / 1.049 GB, free: 2.605 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003097/2.025, allocations: 0 / 1.049 GB, free: 2.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001865/2.027, allocations: 0.9298 MB / 1.05 GB, free: 1.848 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03002/2.057, allocations: 7.896 MB / 1.057 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2592/2.316, allocations: 14.14 MB / 1.071 GB, free: 118.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/2.333, allocations: 9.43 MB / 1.08 GB, free: 118.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005571/2.333, allocations: 78.16 kB / 1.08 GB, free: 118.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=1904) (initialization): time 0.05125/2.385, allocations: 21.6 MB / 1.101 GB, free: 117.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/2.385, allocations: 7.406 kB / 1.101 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008834/2.386, allocations: 274.2 kB / 1.102 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008526/2.394, allocations: 3.11 MB / 1.105 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01592/2.41, allocations: 3.471 MB / 1.108 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02816/2.438, allocations: 20.68 MB / 1.128 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01476/2.453, allocations: 484.5 kB / 1.129 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004635/2.458, allocations: 0.8323 MB / 1.13 GB, free: 108 MB / 490.7 MB 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 (1784): * Single equations (assignments): 1777 * 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.008623/2.466, allocations: 0.8245 MB / 1.13 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003955/2.47, allocations: 0.8096 MB / 1.131 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0344/2.505, allocations: 13.54 MB / 1.144 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001259/2.505, allocations: 60.72 kB / 1.144 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.952e-05/2.505, allocations: 15.78 kB / 1.144 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001538/2.505, allocations: 32.94 kB / 1.144 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06525/2.57, allocations: 27.18 MB / 1.171 GB, free: 83.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.883e-05/2.571, allocations: 0 / 1.171 GB, free: 83.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007093/2.578, allocations: 1.09 MB / 1.172 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007583/2.585, allocations: 2.633 MB / 1.175 GB, free: 81.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002021/2.587, allocations: 21.95 kB / 1.175 GB, free: 81.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02473/2.612, allocations: 19.23 MB / 1.193 GB, free: 63.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/2.612, allocations: 0 / 1.193 GB, free: 63.98 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03821/2.65, allocations: 21.53 MB / 1.214 GB, free: 45.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006455/2.657, allocations: 1.81 MB / 1.216 GB, free: 43.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00343/2.66, allocations: 4 kB / 1.216 GB, free: 43.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006609/2.667, allocations: 263 kB / 1.217 GB, free: 43.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/2.668, allocations: 288.2 kB / 1.217 GB, free: 43.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001132/2.669, allocations: 153.2 kB / 1.217 GB, free: 42.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.2406/2.91, allocations: 5.711 MB / 1.223 GB, free: 112.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01926/2.929, allocations: 2.493 MB / 1.225 GB, free: 112.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.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 (522): * Single equations (assignments): 515 * 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.001683/2.931, allocations: 181.8 kB / 1.225 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02395/2.955, allocations: 15.85 MB / 1.241 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.955, allocations: 0 / 1.241 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01045/2.966, allocations: 6.673 MB / 1.247 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005568/2.971, allocations: 0.8387 MB / 1.248 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05118/3.022, allocations: 23.7 MB / 1.271 GB, free: 107.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01903/3.041, allocations: 8.961 MB / 1.28 GB, free: 106.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/3.041, allocations: 0 / 1.28 GB, free: 106.9 MB / 490.7 MB Notification: Performance of Templates: time 0.4146/3.456, allocations: 115.2 MB / 1.392 GB, free: 114.4 MB / 490.7 MB 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)