Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") [: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.1+maint.om/package.mo): time 0.003766/0.003766, allocations: 177.2 kB / 7.453 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.146/1.146, allocations: 170.6 MB / 178.4 MB, free: 15.7 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.001856/0.001856, allocations: 120.6 kB / 217.7 MB, free: 8.473 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.1493/0.1493, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.295e-06/8.316e-06, allocations: 2.156 kB / 349.5 MB, free: 37.15 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08769, allocations: 48.72 MB / 398.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2658/0.3535, allocations: 93.86 MB / 492.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.3538, allocations: 72.8 kB / 492.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3216/0.6754, allocations: 127.4 MB / 0.605 GB, free: 11.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003605/0.6758, allocations: 128 kB / 0.6052 GB, free: 11.46 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: 2384 * Number of variables: 2384 Notification: Performance of Generate backend data structure: time 0.02225/0.698, allocations: 6.614 MB / 0.6116 GB, free: 4.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.6981, allocations: 8.031 kB / 0.6116 GB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1848/0.8829, allocations: 6.764 MB / 0.6182 GB, free: 106.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02278/0.9057, allocations: 7.511 MB / 0.6256 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004536/0.9062, allocations: 219.2 kB / 0.6258 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003376/0.9096, allocations: 397.4 kB / 0.6261 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01806/0.9277, allocations: 9.53 MB / 0.6355 GB, free: 105.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/0.958, allocations: 14.6 MB / 0.6497 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005709/0.9586, allocations: 96.56 kB / 0.6498 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002873/0.9615, allocations: 44.41 kB / 0.6498 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002133/0.9637, allocations: 1.642 MB / 0.6514 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08009/1.044, allocations: 70.98 MB / 0.7208 GB, free: 55.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006804/1.051, allocations: 5.538 MB / 0.7262 GB, free: 53.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005976/1.057, allocations: 3.819 MB / 0.7299 GB, free: 51.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01849/1.075, allocations: 10.12 MB / 0.7398 GB, free: 47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/1.075, allocations: 58.16 kB / 0.7398 GB, free: 46.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=254): time 8.176e-06/1.075, allocations: 0 / 0.7398 GB, free: 46.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=298): time 0.05845/1.134, allocations: 25.62 MB / 0.7649 GB, free: 28.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/1.134, allocations: 239.9 kB / 0.7651 GB, free: 28.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/1.145, allocations: 4.885 MB / 0.7699 GB, free: 23.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00122/1.146, allocations: 29.64 kB / 0.7699 GB, free: 23.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003413/1.15, allocations: 4.514 MB / 0.7743 GB, free: 19.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00185/1.152, allocations: 1.11 MB / 0.7754 GB, free: 18.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/1.153, allocations: 0 / 0.7754 GB, free: 18.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001097/1.154, allocations: 0.7041 MB / 0.7761 GB, free: 18.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005964/1.16, allocations: 3.492 MB / 0.7795 GB, free: 15.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008499/1.169, allocations: 8.939 MB / 0.7882 GB, free: 4.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1845/1.354, allocations: 5.626 MB / 0.7937 GB, free: 91.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.354, allocations: 54.06 kB / 0.7937 GB, free: 91.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=1214) (initialization): time 0.02474/1.379, allocations: 12.53 MB / 0.806 GB, free: 91.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.379, allocations: 12.55 kB / 0.806 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002964/1.379, allocations: 194.4 kB / 0.8062 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004211/1.383, allocations: 1.627 MB / 0.8078 GB, free: 91.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008686/1.392, allocations: 2.149 MB / 0.8099 GB, free: 91.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/1.405, allocations: 10.26 MB / 0.8199 GB, free: 88.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009253/1.414, allocations: 310.8 kB / 0.8202 GB, free: 88.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003187/1.417, allocations: 0.5593 MB / 0.8207 GB, free: 88.85 MB / 426.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 (1142): * Single equations (assignments): 1137 * 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.003178/1.42, allocations: 0.5952 MB / 0.8213 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/1.422, allocations: 0.5041 MB / 0.8218 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.434, allocations: 6.359 MB / 0.828 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.382e-05/1.434, allocations: 27.38 kB / 0.828 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.434, allocations: 10.44 kB / 0.8281 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.686e-05/1.434, allocations: 17.31 kB / 0.8281 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/1.462, allocations: 13.23 MB / 0.841 GB, free: 87.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.462, allocations: 3.938 kB / 0.841 GB, free: 87.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/1.464, allocations: 474.4 kB / 0.8414 GB, free: 87.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/1.468, allocations: 1.312 MB / 0.8427 GB, free: 87.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003939/1.468, allocations: 12.86 kB / 0.8427 GB, free: 87.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/1.481, allocations: 9.606 MB / 0.8521 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.481, allocations: 3.5 kB / 0.8521 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0175/1.498, allocations: 10.71 MB / 0.8626 GB, free: 81.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003655/1.502, allocations: 1.023 MB / 0.8636 GB, free: 80.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002081/1.504, allocations: 3.875 kB / 0.8636 GB, free: 80.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003622/1.508, allocations: 103.2 kB / 0.8637 GB, free: 80.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007076/1.508, allocations: 130.4 kB / 0.8638 GB, free: 80.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004803/1.509, allocations: 78.91 kB / 0.8639 GB, free: 80.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.007151/1.516, allocations: 3.307 MB / 0.8671 GB, free: 79.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01301/1.529, allocations: 1.4 MB / 0.8685 GB, free: 79.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 236 * 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.001129/1.53, allocations: 147.2 kB / 0.8686 GB, free: 79.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01463/1.545, allocations: 8.543 MB / 0.877 GB, free: 76.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.545, allocations: 0 / 0.877 GB, free: 76.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005355/1.55, allocations: 3.205 MB / 0.8801 GB, free: 75.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/1.554, allocations: 0.509 MB / 0.8806 GB, free: 74.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/1.586, allocations: 13.03 MB / 0.8933 GB, free: 65.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01184/1.598, allocations: 5.434 MB / 0.8986 GB, free: 61.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.598, allocations: 0 / 0.8986 GB, free: 61.46 MB / 426.7 MB Notification: Performance of Templates: time 0.3114/1.91, allocations: 62.63 MB / 0.9598 GB, free: 76.55 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)