Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.00478/0.00478, allocations: 174.4 kB / 7.45 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.089/1.089, allocations: 170.6 MB / 178.4 MB, free: 15.76 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.001645/0.001645, allocations: 111.9 kB / 217.7 MB, free: 8.539 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.1949/0.1949, allocations: 37.98 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.035e-06, allocations: 1.531 kB / 349.5 MB, free: 37.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4571, allocations: 91.99 MB / 490.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4574, allocations: 75.08 kB / 490.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2179/0.6754, allocations: 79.06 MB / 0.556 GB, free: 12.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004171/0.6759, allocations: 84 kB / 0.5561 GB, free: 12.41 MB / 378.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.01722/0.6931, allocations: 3.884 MB / 0.5599 GB, free: 8.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.986e-05/0.6932, allocations: 15.97 kB / 0.5599 GB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/0.7067, allocations: 1.936 MB / 0.5618 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/0.7262, allocations: 5.251 MB / 0.5669 GB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/0.7266, allocations: 136 kB / 0.567 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00296/0.7296, allocations: 243.9 kB / 0.5673 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01489/0.7445, allocations: 6.173 MB / 0.5733 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/0.768, allocations: 9.448 MB / 0.5825 GB, free: 188 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/0.7683, allocations: 63.41 kB / 0.5826 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006916/0.769, allocations: 32 kB / 0.5826 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001516/0.7705, allocations: 1.06 MB / 0.5836 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2691/1.04, allocations: 48.2 MB / 0.6307 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/1.042, allocations: 2.482 MB / 0.6331 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/1.044, allocations: 1.601 MB / 0.6347 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007471/1.052, allocations: 5.147 MB / 0.6397 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.052, allocations: 44.09 kB / 0.6398 GB, free: 104.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 3.867e-06/1.052, allocations: 0 / 0.6398 GB, free: 104.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=157): time 0.02624/1.078, allocations: 12.86 MB / 0.6523 GB, free: 101.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/1.078, allocations: 144.8 kB / 0.6525 GB, free: 101 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005479/1.084, allocations: 3.109 MB / 0.6555 GB, free: 100.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003268/1.084, allocations: 25.7 kB / 0.6555 GB, free: 100.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001663/1.086, allocations: 2.992 MB / 0.6584 GB, free: 98.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007308/1.086, allocations: 0.6235 MB / 0.659 GB, free: 98.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/1.087, allocations: 0 / 0.659 GB, free: 98.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003428/1.087, allocations: 0.5661 MB / 0.6596 GB, free: 98.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/1.089, allocations: 1.972 MB / 0.6615 GB, free: 98.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005237/1.095, allocations: 5.871 MB / 0.6673 GB, free: 93.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005377/1.1, allocations: 3.396 MB / 0.6706 GB, free: 93.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/1.1, allocations: 45.59 kB / 0.6706 GB, free: 93.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01552/1.116, allocations: 7.553 MB / 0.678 GB, free: 90.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/1.116, allocations: 3.906 kB / 0.678 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004425/1.12, allocations: 2.434 MB / 0.6804 GB, free: 90.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/1.123, allocations: 1.003 MB / 0.6814 GB, free: 90.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005056/1.128, allocations: 1.432 MB / 0.6828 GB, free: 89.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/1.133, allocations: 4.137 MB / 0.6868 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006008/1.139, allocations: 228.6 kB / 0.687 GB, free: 86.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/1.141, allocations: 393.1 kB / 0.6874 GB, free: 86.86 MB / 426.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 (779): * Single equations (assignments): 770 * 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 {1} * 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.001736/1.142, allocations: 452.8 kB / 0.6878 GB, free: 86.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009588/1.143, allocations: 324.7 kB / 0.6881 GB, free: 86.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/1.149, allocations: 2.868 MB / 0.6909 GB, free: 85.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004237/1.154, allocations: 2.419 MB / 0.6933 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.154, allocations: 3.812 kB / 0.6933 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/1.154, allocations: 11.39 kB / 0.6933 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/1.17, allocations: 8.482 MB / 0.7016 GB, free: 81.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.17, allocations: 7.25 kB / 0.7016 GB, free: 81.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.171, allocations: 238.2 kB / 0.7018 GB, free: 81.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/1.174, allocations: 0.9375 MB / 0.7027 GB, free: 81.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/1.175, allocations: 25.39 kB / 0.7028 GB, free: 81.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004563/1.179, allocations: 4.607 MB / 0.7073 GB, free: 77.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006537/1.18, allocations: 1.368 MB / 0.7086 GB, free: 76.09 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007453/1.187, allocations: 5.596 MB / 0.7141 GB, free: 71.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.188, allocations: 368.5 kB / 0.7144 GB, free: 70.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006137/1.189, allocations: 19.09 kB / 0.7144 GB, free: 70.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/1.19, allocations: 69.45 kB / 0.7145 GB, free: 70.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/1.191, allocations: 77.59 kB / 0.7146 GB, free: 70.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.191, allocations: 54.8 kB / 0.7146 GB, free: 70.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00349/1.194, allocations: 2.069 MB / 0.7166 GB, free: 68.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006927/1.201, allocations: 0.8961 MB / 0.7175 GB, free: 67.83 MB / 426.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.0004874/1.202, allocations: 150.3 kB / 0.7177 GB, free: 67.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008341/1.21, allocations: 5.137 MB / 0.7227 GB, free: 63.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.21, allocations: 4 kB / 0.7227 GB, free: 63.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003294/1.213, allocations: 1.978 MB / 0.7246 GB, free: 61.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/1.216, allocations: 341.8 kB / 0.7249 GB, free: 60.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.232, allocations: 7.856 MB / 0.7326 GB, free: 53.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004341/1.237, allocations: 3.569 MB / 0.7361 GB, free: 51.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/1.237, allocations: 0 / 0.7361 GB, free: 51.16 MB / 426.7 MB Notification: Performance of Templates: time 0.0685/1.305, allocations: 34.2 MB / 0.7695 GB, free: 24.58 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)