Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [: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.002812/0.002812, allocations: 189.2 kB / 7.458 MB, free: 2.312 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.23/1.23, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.001691/0.001691, allocations: 115.8 kB / 247.1 MB, free: 6.367 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.1748/0.1748, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.233e-06/7.263e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09223/0.09225, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3092/0.4015, allocations: 103.1 MB / 0.5378 GB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.4019, allocations: 76.77 kB / 0.5379 GB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2378/0.6397, allocations: 88.03 MB / 0.6238 GB, free: 13.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003196/0.6401, allocations: 80 kB / 0.6239 GB, free: 13.2 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01497/0.655, allocations: 4.129 MB / 0.6279 GB, free: 9.008 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.6551, allocations: 8.031 kB / 0.6279 GB, free: 9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01908/0.6742, allocations: 4.077 MB / 0.6319 GB, free: 4.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/0.6882, allocations: 4.781 MB / 0.6366 GB, free: 64 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.6886, allocations: 148 kB / 0.6367 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/0.691, allocations: 275.9 kB / 0.637 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01467/0.7057, allocations: 6.484 MB / 0.6433 GB, free: 9.152 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.7284, allocations: 9.886 MB / 0.653 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000296/0.7287, allocations: 55.47 kB / 0.653 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/0.7304, allocations: 28 kB / 0.6531 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.732, allocations: 1.065 MB / 0.6541 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2352/0.9672, allocations: 45.41 MB / 0.6984 GB, free: 134.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.9705, allocations: 2.678 MB / 0.7011 GB, free: 134 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.9725, allocations: 1.689 MB / 0.7027 GB, free: 134 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008221/0.9808, allocations: 5.449 MB / 0.708 GB, free: 132.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.9809, allocations: 48.31 kB / 0.7081 GB, free: 132.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=170): time 4.889e-06/0.9809, allocations: 6.031 kB / 0.7081 GB, free: 132.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.02069/1.002, allocations: 12.12 MB / 0.7199 GB, free: 129.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/1.002, allocations: 200.5 kB / 0.7201 GB, free: 129.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/1.006, allocations: 3.007 MB / 0.723 GB, free: 128.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004451/1.007, allocations: 25.7 kB / 0.7231 GB, free: 128.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/1.008, allocations: 3.106 MB / 0.7261 GB, free: 127.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000776/1.009, allocations: 0.7034 MB / 0.7268 GB, free: 126.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/1.009, allocations: 0 / 0.7268 GB, free: 126.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003373/1.01, allocations: 0.5681 MB / 0.7273 GB, free: 126.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00257/1.012, allocations: 1.972 MB / 0.7293 GB, free: 126.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004239/1.017, allocations: 5.811 MB / 0.7349 GB, free: 121.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004508/1.021, allocations: 3.387 MB / 0.7383 GB, free: 120.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-05/1.021, allocations: 43.22 kB / 0.7383 GB, free: 120.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=812) (initialization): time 0.01123/1.032, allocations: 7.049 MB / 0.7452 GB, free: 118.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.032, allocations: 6.406 kB / 0.7452 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/1.033, allocations: 142.2 kB / 0.7453 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007147/1.033, allocations: 393.1 kB / 0.7457 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/1.038, allocations: 1.469 MB / 0.7471 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/1.041, allocations: 2.839 MB / 0.7499 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00504/1.046, allocations: 222.3 kB / 0.7501 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000829/1.047, allocations: 389 kB / 0.7505 GB, free: 116.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (774): * Single equations (assignments): 770 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008059/1.048, allocations: 446.2 kB / 0.7509 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/1.049, allocations: 316.1 kB / 0.7512 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/1.053, allocations: 2.555 MB / 0.7537 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.912e-05/1.053, allocations: 20.88 kB / 0.7537 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.053, allocations: 11.31 kB / 0.7537 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.053, allocations: 8.953 kB / 0.7537 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/1.064, allocations: 6.28 MB / 0.7599 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.064, allocations: 1.969 kB / 0.7599 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.065, allocations: 337.1 kB / 0.7602 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004884/1.066, allocations: 176.9 kB / 0.7604 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/1.066, allocations: 14.98 kB / 0.7604 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/1.068, allocations: 2.403 MB / 0.7627 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.068, allocations: 3.906 kB / 0.7627 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005437/1.074, allocations: 5.108 MB / 0.7677 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.075, allocations: 0.5824 MB / 0.7683 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/1.075, allocations: 4 kB / 0.7683 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.077, allocations: 85.23 kB / 0.7684 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/1.077, allocations: 97.67 kB / 0.7685 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.077, allocations: 59.88 kB / 0.7685 GB, free: 103.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002575/1.08, allocations: 2.006 MB / 0.7705 GB, free: 102.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004164/1.084, allocations: 0.8437 MB / 0.7713 GB, free: 101.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 154 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003472/1.084, allocations: 138.1 kB / 0.7714 GB, free: 101.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00564/1.09, allocations: 4.733 MB / 0.7761 GB, free: 96.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.09, allocations: 0 / 0.7761 GB, free: 96.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/1.092, allocations: 1.495 MB / 0.7775 GB, free: 95.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.093, allocations: 289.1 kB / 0.7778 GB, free: 95.28 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.11, allocations: 7.683 MB / 0.7853 GB, free: 88.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004954/1.115, allocations: 3.83 MB / 0.789 GB, free: 85.42 MB / 474.7 MB Notification: Performance of SimCode: time 2.214e-06/1.115, allocations: 0 / 0.789 GB, free: 85.42 MB / 474.7 MB Notification: Performance of Templates: time 0.05869/1.173, allocations: 33.94 MB / 0.8222 GB, free: 59.11 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)