Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") [: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.005043/0.005043, allocations: 174.8 kB / 7.45 MB, free: 2.508 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.265/1.265, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.002001/0.002001, allocations: 119.8 kB / 217.7 MB, free: 8.211 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.1585/0.1585, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.177e-05/1.195e-05, allocations: 2.5 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.4658, allocations: 95.3 MB / 493.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.4662, allocations: 75.91 kB / 493.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3631/0.8293, allocations: 133.7 MB / 0.6126 GB, free: 4.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006212/0.83, allocations: 135 kB / 0.6127 GB, free: 4.238 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.2066/1.037, allocations: 6.74 MB / 0.6193 GB, free: 101.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.037, allocations: 7.344 kB / 0.6193 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03031/1.067, allocations: 6.798 MB / 0.6259 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02162/1.089, allocations: 7.609 MB / 0.6334 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005127/1.089, allocations: 225.2 kB / 0.6336 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004015/1.093, allocations: 405.7 kB / 0.634 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0221/1.115, allocations: 10.1 MB / 0.6438 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03938/1.155, allocations: 15.09 MB / 0.6586 GB, free: 96.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000545/1.155, allocations: 84.38 kB / 0.6586 GB, free: 96.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003445/1.159, allocations: 38.41 kB / 0.6587 GB, free: 96.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003269/1.162, allocations: 1.733 MB / 0.6604 GB, free: 96.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.109/1.271, allocations: 70.69 MB / 0.7294 GB, free: 51.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/1.282, allocations: 5.906 MB / 0.7352 GB, free: 48.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006646/1.288, allocations: 4.074 MB / 0.7392 GB, free: 47.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02574/1.314, allocations: 10.81 MB / 0.7497 GB, free: 40.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/1.314, allocations: 63.78 kB / 0.7498 GB, free: 40.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=278): time 7.934e-06/1.314, allocations: 0 / 0.7498 GB, free: 40.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.08362/1.398, allocations: 26.82 MB / 0.776 GB, free: 17.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/1.398, allocations: 246.4 kB / 0.7762 GB, free: 17.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007466/1.405, allocations: 4.682 MB / 0.7808 GB, free: 13.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008739/1.406, allocations: 25.7 kB / 0.7808 GB, free: 13.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002387/1.409, allocations: 4.541 MB / 0.7852 GB, free: 9.113 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001609/1.41, allocations: 1.17 MB / 0.7864 GB, free: 8.062 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004749/1.411, allocations: 2.906 kB / 0.7864 GB, free: 8.062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004253/1.411, allocations: 0.6941 MB / 0.7871 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00473/1.416, allocations: 3.652 MB / 0.7906 GB, free: 4.191 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1957/1.612, allocations: 8.882 MB / 0.7993 GB, free: 89.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.624, allocations: 5.665 MB / 0.8048 GB, free: 89.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002471/1.624, allocations: 56.25 kB / 0.8049 GB, free: 89.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02581/1.65, allocations: 12.73 MB / 0.8173 GB, free: 88.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.65, allocations: 2.75 kB / 0.8173 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002109/1.65, allocations: 188.1 kB / 0.8175 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003904/1.654, allocations: 1.624 MB / 0.8191 GB, free: 88.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008781/1.663, allocations: 2.143 MB / 0.8212 GB, free: 88.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/1.677, allocations: 10.38 MB / 0.8313 GB, free: 86.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/1.687, allocations: 301.8 kB / 0.8316 GB, free: 86.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00303/1.69, allocations: 0.5449 MB / 0.8321 GB, free: 86.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1131): * Single equations (assignments): 1126 * 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.003609/1.694, allocations: 0.5647 MB / 0.8327 GB, free: 85.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.695, allocations: 0.4974 MB / 0.8332 GB, free: 85.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.707, allocations: 6.839 MB / 0.8399 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.276e-05/1.708, allocations: 27.69 kB / 0.8399 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.581e-05/1.708, allocations: 7.844 kB / 0.8399 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.187e-05/1.708, allocations: 20.55 kB / 0.8399 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03017/1.738, allocations: 14.12 MB / 0.8537 GB, free: 85.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/1.738, allocations: 0 / 0.8537 GB, free: 85.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/1.741, allocations: 0.5251 MB / 0.8542 GB, free: 85.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/1.745, allocations: 1.317 MB / 0.8555 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007748/1.746, allocations: 18.25 kB / 0.8555 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/1.758, allocations: 9.648 MB / 0.8649 GB, free: 80.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.758, allocations: 1.156 kB / 0.8649 GB, free: 80.81 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01645/1.774, allocations: 11.52 MB / 0.8762 GB, free: 76.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003596/1.778, allocations: 1.05 MB / 0.8772 GB, free: 75.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/1.779, allocations: 6.438 kB / 0.8772 GB, free: 75.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/1.783, allocations: 113.4 kB / 0.8773 GB, free: 75.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/1.783, allocations: 143.5 kB / 0.8775 GB, free: 75.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002921/1.783, allocations: 87.2 kB / 0.8775 GB, free: 75.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.007344/1.791, allocations: 3.16 MB / 0.8806 GB, free: 74.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0122/1.803, allocations: 1.45 MB / 0.882 GB, free: 74.77 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 (264): * Single equations (assignments): 259 * 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.001072/1.804, allocations: 150.6 kB / 0.8822 GB, free: 74.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01546/1.819, allocations: 8.943 MB / 0.8909 GB, free: 71.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.82, allocations: 0 / 0.8909 GB, free: 71.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005953/1.825, allocations: 3.455 MB / 0.8943 GB, free: 69.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/1.83, allocations: 0.5055 MB / 0.8948 GB, free: 68.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/1.863, allocations: 13.49 MB / 0.908 GB, free: 56.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01105/1.874, allocations: 5.575 MB / 0.9134 GB, free: 52.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/1.874, allocations: 0 / 0.9134 GB, free: 52.47 MB / 426.7 MB Notification: Performance of Templates: time 0.312/2.186, allocations: 65.1 MB / 0.977 GB, free: 82.13 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)