Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape") [: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.002806/0.002806, allocations: 179.8 kB / 7.455 MB, free: 2.508 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.29/1.29, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001799/0.0018, allocations: 117.9 kB / 247.1 MB, free: 6.387 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.1644/0.1644, allocations: 39.94 MB / 331.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.296e-06/8.316e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09149, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3025/0.394, allocations: 98.72 MB / 0.5336 GB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.3943, allocations: 78.14 kB / 0.5336 GB, free: 1.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2106/0.6049, allocations: 79.21 MB / 0.611 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002616/0.6052, allocations: 87.92 kB / 0.6111 GB, free: 10.39 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01213/0.6174, allocations: 3.885 MB / 0.6149 GB, free: 6.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6174, allocations: 8.031 kB / 0.6149 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.6278, allocations: 1.956 MB / 0.6168 GB, free: 4.469 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.6418, allocations: 5.254 MB / 0.6219 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.6421, allocations: 140 kB / 0.622 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/0.6443, allocations: 247.9 kB / 0.6223 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01382/0.6582, allocations: 6.166 MB / 0.6283 GB, free: 8.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02141/0.6796, allocations: 9.456 MB / 0.6375 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/0.6799, allocations: 59.41 kB / 0.6376 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/0.6814, allocations: 32 kB / 0.6376 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001569/0.683, allocations: 1.064 MB / 0.6387 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2381/0.9211, allocations: 48.21 MB / 0.6857 GB, free: 139.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.9243, allocations: 2.484 MB / 0.6882 GB, free: 139 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.9261, allocations: 1.6 MB / 0.6897 GB, free: 139 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007236/0.9333, allocations: 5.137 MB / 0.6948 GB, free: 137.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.9334, allocations: 54.97 kB / 0.6948 GB, free: 137.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 3.637e-06/0.9334, allocations: 3.281 kB / 0.6948 GB, free: 137.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=157): time 0.02387/0.9572, allocations: 12.85 MB / 0.7074 GB, free: 134.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.9574, allocations: 145.6 kB / 0.7075 GB, free: 134.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004486/0.9618, allocations: 3.105 MB / 0.7105 GB, free: 134.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.962, allocations: 28.77 kB / 0.7106 GB, free: 134.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.9635, allocations: 2.994 MB / 0.7135 GB, free: 132.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00054/0.964, allocations: 0.6287 MB / 0.7141 GB, free: 132.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.9642, allocations: 0 / 0.7141 GB, free: 132.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/0.9645, allocations: 0.5647 MB / 0.7146 GB, free: 131.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/0.9667, allocations: 1.971 MB / 0.7166 GB, free: 131.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003849/0.9706, allocations: 5.883 MB / 0.7223 GB, free: 126.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/0.9742, allocations: 3.402 MB / 0.7256 GB, free: 125.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-05/0.9743, allocations: 40.62 kB / 0.7257 GB, free: 125.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01108/0.9854, allocations: 7.646 MB / 0.7331 GB, free: 123.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.9854, allocations: 3.875 kB / 0.7331 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004512/0.9899, allocations: 2.513 MB / 0.7356 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003226/0.9932, allocations: 1.07 MB / 0.7366 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/0.9971, allocations: 1.421 MB / 0.738 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004362/1.001, allocations: 4.501 MB / 0.7424 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/1.006, allocations: 226.3 kB / 0.7426 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.007, allocations: 394.2 kB / 0.743 GB, free: 119.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (776): * Single equations (assignments): 767 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000921/1.008, allocations: 452.8 kB / 0.7435 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005761/1.009, allocations: 315.9 kB / 0.7438 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005379/1.014, allocations: 2.872 MB / 0.7466 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004106/1.018, allocations: 2.409 MB / 0.7489 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.019, allocations: 7.938 kB / 0.7489 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.019, allocations: 7.609 kB / 0.7489 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/1.033, allocations: 8.49 MB / 0.7572 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.033, allocations: 7.938 kB / 0.7572 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.035, allocations: 242.7 kB / 0.7575 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002855/1.038, allocations: 0.9435 MB / 0.7584 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/1.038, allocations: 23.78 kB / 0.7584 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004369/1.042, allocations: 4.611 MB / 0.7629 GB, free: 102.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006621/1.043, allocations: 1.358 MB / 0.7642 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007123/1.05, allocations: 5.598 MB / 0.7697 GB, free: 95.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.051, allocations: 376.5 kB / 0.7701 GB, free: 95.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/1.052, allocations: 8 kB / 0.7701 GB, free: 95.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.053, allocations: 68.27 kB / 0.7701 GB, free: 95.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.053, allocations: 80.8 kB / 0.7702 GB, free: 95.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.053, allocations: 51.22 kB / 0.7703 GB, free: 95.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002966/1.056, allocations: 2.066 MB / 0.7723 GB, free: 93.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005788/1.062, allocations: 0.9033 MB / 0.7732 GB, free: 92.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004628/1.063, allocations: 151.4 kB / 0.7733 GB, free: 92.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008854/1.071, allocations: 5.294 MB / 0.7785 GB, free: 87.76 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.071, allocations: 3.938 kB / 0.7785 GB, free: 87.76 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003509/1.075, allocations: 1.982 MB / 0.7804 GB, free: 85.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.077, allocations: 349.9 kB / 0.7807 GB, free: 85.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.092, allocations: 7.858 MB / 0.7884 GB, free: 78.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003916/1.096, allocations: 3.566 MB / 0.7919 GB, free: 75.88 MB / 474.7 MB Notification: Performance of SimCode: time 9.61e-07/1.096, allocations: 0 / 0.7919 GB, free: 75.88 MB / 474.7 MB Notification: Performance of Templates: time 0.06152/1.158, allocations: 34.76 MB / 0.8258 GB, free: 44.36 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)