Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") [: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.00273/0.00273, allocations: 175.5 kB / 7.451 MB, free: 2.504 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.236/1.236, allocations: 170.6 MB / 178.4 MB, free: 15.37 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.001824/0.001824, allocations: 115.8 kB / 217.7 MB, free: 8.125 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.1867/0.1867, allocations: 37.98 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.205e-06, allocations: 1.219 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 48.71 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/0.4574, allocations: 93.73 MB / 491.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4577, allocations: 74.98 kB / 492 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3445/0.8022, allocations: 128.4 MB / 0.6059 GB, free: 10.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005183/0.8028, allocations: 124 kB / 0.606 GB, free: 10.55 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02625/0.8291, allocations: 6.382 MB / 0.6123 GB, free: 4.105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.8291, allocations: 12.03 kB / 0.6123 GB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2013/1.03, allocations: 6.748 MB / 0.6189 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/1.051, allocations: 7.301 MB / 0.626 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004438/1.051, allocations: 215.6 kB / 0.6262 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003819/1.055, allocations: 399.7 kB / 0.6266 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01889/1.074, allocations: 9.8 MB / 0.6361 GB, free: 106.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04202/1.116, allocations: 14.66 MB / 0.6505 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005036/1.117, allocations: 83.41 kB / 0.6505 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003257/1.12, allocations: 41.47 kB / 0.6506 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003502/1.124, allocations: 1.671 MB / 0.6522 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08277/1.206, allocations: 68.36 MB / 0.719 GB, free: 59.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007342/1.214, allocations: 5.921 MB / 0.7248 GB, free: 57.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005425/1.219, allocations: 4.128 MB / 0.7288 GB, free: 55.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01822/1.237, allocations: 11.25 MB / 0.7398 GB, free: 50.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/1.238, allocations: 66.16 kB / 0.7398 GB, free: 50.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=272): time 6.022e-06/1.238, allocations: 0 / 0.7398 GB, free: 50.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=314): time 0.05513/1.293, allocations: 26.3 MB / 0.7655 GB, free: 29.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/1.293, allocations: 217.3 kB / 0.7657 GB, free: 29.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007306/1.3, allocations: 4.387 MB / 0.77 GB, free: 25.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009408/1.301, allocations: 25.7 kB / 0.77 GB, free: 25.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.303, allocations: 4.36 MB / 0.7743 GB, free: 21.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001508/1.305, allocations: 1.146 MB / 0.7754 GB, free: 20.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000468/1.305, allocations: 0 / 0.7754 GB, free: 20.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003857/1.306, allocations: 0.6817 MB / 0.7761 GB, free: 20 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004797/1.31, allocations: 3.701 MB / 0.7797 GB, free: 16.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00673/1.317, allocations: 8.703 MB / 0.7882 GB, free: 6.105 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008052/1.325, allocations: 5.622 MB / 0.7937 GB, free: 1.273 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/1.325, allocations: 57.22 kB / 0.7937 GB, free: 1.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.225/1.55, allocations: 12.67 MB / 0.8061 GB, free: 93.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.55, allocations: 6.531 kB / 0.8061 GB, free: 93.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002888/1.551, allocations: 180.9 kB / 0.8063 GB, free: 93.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004146/1.555, allocations: 1.615 MB / 0.8079 GB, free: 93.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009022/1.564, allocations: 2.103 MB / 0.8099 GB, free: 93.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/1.577, allocations: 10.43 MB / 0.8201 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009258/1.587, allocations: 308.3 kB / 0.8204 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002243/1.589, allocations: 0.5229 MB / 0.8209 GB, free: 90.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * Number of states: 0 () * Number of discrete variables: 51 (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 (1083): * Single equations (assignments): 1078 * 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.001999/1.591, allocations: 0.5514 MB / 0.8214 GB, free: 90.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.592, allocations: 474.7 kB / 0.8219 GB, free: 90.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.604, allocations: 7.03 MB / 0.8288 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.409e-05/1.604, allocations: 28.06 kB / 0.8288 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/1.604, allocations: 17.41 kB / 0.8288 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.151e-05/1.604, allocations: 16.05 kB / 0.8288 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02875/1.633, allocations: 14.29 MB / 0.8428 GB, free: 89.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.633, allocations: 0 / 0.8428 GB, free: 89.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003513/1.636, allocations: 0.5618 MB / 0.8433 GB, free: 89.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003624/1.64, allocations: 1.321 MB / 0.8446 GB, free: 89.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006332/1.641, allocations: 7.906 kB / 0.8446 GB, free: 89.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/1.653, allocations: 9.644 MB / 0.854 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.653, allocations: 7.688 kB / 0.8541 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01663/1.67, allocations: 11.76 MB / 0.8655 GB, free: 82.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003129/1.673, allocations: 1.065 MB / 0.8666 GB, free: 82.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/1.674, allocations: 10.66 kB / 0.8666 GB, free: 82.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002988/1.677, allocations: 147 kB / 0.8667 GB, free: 82.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/1.678, allocations: 137.8 kB / 0.8669 GB, free: 82.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/1.678, allocations: 76.52 kB / 0.8669 GB, free: 82.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00651/1.684, allocations: 2.96 MB / 0.8698 GB, free: 80.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009958/1.694, allocations: 1.421 MB / 0.8712 GB, free: 80.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (258): * Single equations (assignments): 253 * 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.0008028/1.695, allocations: 154.8 kB / 0.8714 GB, free: 80.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01459/1.71, allocations: 9.054 MB / 0.8802 GB, free: 77.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.71, allocations: 0 / 0.8802 GB, free: 77.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005858/1.716, allocations: 3.565 MB / 0.8837 GB, free: 76.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.719, allocations: 480.8 kB / 0.8841 GB, free: 76.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/1.749, allocations: 13.17 MB / 0.897 GB, free: 64.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009002/1.758, allocations: 5.363 MB / 0.9022 GB, free: 60.96 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/1.758, allocations: 0 / 0.9022 GB, free: 60.96 MB / 426.7 MB Notification: Performance of Templates: time 0.3192/2.077, allocations: 64.81 MB / 0.9655 GB, free: 77.11 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)