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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001134/0.001134, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.672/1.672, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001704/0.001704, allocations: 107.7 kB / 252.6 MB, free: 4.828 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.2464/0.2464, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.358e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.5937, allocations: 99.46 MB / 0.5416 GB, free: 8.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.594, allocations: 74.58 kB / 0.5417 GB, free: 8.387 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2109/0.8049, allocations: 82.11 MB / 0.6219 GB, free: 13.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.805, allocations: 0 / 0.6219 GB, free: 13.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002068/0.8052, allocations: 79.98 kB / 0.6219 GB, free: 13.85 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01395/0.8192, allocations: 3.916 MB / 0.6258 GB, free: 9.867 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.8192, allocations: 8.031 kB / 0.6258 GB, free: 9.859 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.8315, allocations: 2.342 MB / 0.6281 GB, free: 7.508 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/0.8459, allocations: 5.204 MB / 0.6331 GB, free: 2.238 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/0.8463, allocations: 328.2 kB / 0.6334 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00213/0.8485, allocations: 419.8 kB / 0.6338 GB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/0.8718, allocations: 10.31 MB / 0.6439 GB, free: 6.125 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/0.872, allocations: 63.41 kB / 0.644 GB, free: 6.062 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007299/0.8728, allocations: 207.9 kB / 0.6442 GB, free: 5.859 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00138/0.8742, allocations: 1.002 MB / 0.6452 GB, free: 4.852 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/0.8934, allocations: 8.31 MB / 0.6533 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3708/1.264, allocations: 48.29 MB / 0.7004 GB, free: 75.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009279/1.274, allocations: 3.556 MB / 0.7039 GB, free: 75.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/1.276, allocations: 1.513 MB / 0.7054 GB, free: 75.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/1.286, allocations: 6.997 MB / 0.7122 GB, free: 73.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/1.287, allocations: 54.95 kB / 0.7123 GB, free: 73.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 5.85e-06/1.287, allocations: 9.375 kB / 0.7123 GB, free: 73.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=155): time 0.02844/1.315, allocations: 11.87 MB / 0.7239 GB, free: 70.35 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001202/1.316, allocations: 1.597 MB / 0.7254 GB, free: 68.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005358/1.322, allocations: 3.44 MB / 0.7288 GB, free: 68.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004783/1.322, allocations: 49.36 kB / 0.7288 GB, free: 68.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002049/1.324, allocations: 3.146 MB / 0.7319 GB, free: 66.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008572/1.325, allocations: 0.6325 MB / 0.7325 GB, free: 66.42 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/1.325, allocations: 121.6 kB / 0.7326 GB, free: 66.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002997/1.326, allocations: 0.5549 MB / 0.7332 GB, free: 66.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/1.328, allocations: 1.961 MB / 0.7351 GB, free: 66.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004258/1.333, allocations: 5.734 MB / 0.7407 GB, free: 60.69 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/1.337, allocations: 3.322 MB / 0.7439 GB, free: 59.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.437e-05/1.337, allocations: 41.62 kB / 0.744 GB, free: 59.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01361/1.35, allocations: 8.233 MB / 0.752 GB, free: 57.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/1.35, allocations: 64.62 kB / 0.7521 GB, free: 57.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004253/1.355, allocations: 2.506 MB / 0.7545 GB, free: 56.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/1.358, allocations: 1.133 MB / 0.7556 GB, free: 56.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004832/1.363, allocations: 1.396 MB / 0.757 GB, free: 56.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005046/1.368, allocations: 4.653 MB / 0.7615 GB, free: 52.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005741/1.374, allocations: 387.9 kB / 0.7619 GB, free: 52.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.375, allocations: 381.8 kB / 0.7623 GB, free: 52.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * 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 (747): * Single equations (assignments): 738 * 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.001031/1.376, allocations: 0.5653 MB / 0.7628 GB, free: 52.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007826/1.377, allocations: 337.1 kB / 0.7631 GB, free: 52.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/1.382, allocations: 2.92 MB / 0.766 GB, free: 51.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004193/1.386, allocations: 2.442 MB / 0.7684 GB, free: 50.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.386, allocations: 3.812 kB / 0.7684 GB, free: 50.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/1.386, allocations: 6.938 kB / 0.7684 GB, free: 50.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/1.402, allocations: 9.188 MB / 0.7774 GB, free: 45.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/1.402, allocations: 4 kB / 0.7774 GB, free: 45.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.403, allocations: 253 kB / 0.7776 GB, free: 45.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/1.406, allocations: 1.01 MB / 0.7786 GB, free: 44.83 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/1.406, allocations: 39.08 kB / 0.7786 GB, free: 44.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004463/1.411, allocations: 4.836 MB / 0.7833 GB, free: 40.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007147/1.411, allocations: 1.455 MB / 0.7848 GB, free: 38.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007178/1.419, allocations: 5.549 MB / 0.7902 GB, free: 33.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.42, allocations: 394.5 kB / 0.7906 GB, free: 33.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004068/1.421, allocations: 39.8 kB / 0.7906 GB, free: 33.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/1.422, allocations: 121.7 kB / 0.7907 GB, free: 33.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/1.422, allocations: 112.9 kB / 0.7908 GB, free: 33.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.422, allocations: 48.89 kB / 0.7909 GB, free: 33.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00345/1.426, allocations: 2.372 MB / 0.7932 GB, free: 31.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.426, allocations: 0 / 0.7932 GB, free: 31.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005324/1.431, allocations: 1.01 MB / 0.7942 GB, free: 30.12 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 (124): * Single equations (assignments): 117 * 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 {(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 Backend phase and start with SimCode phase: time 0.0004207/1.432, allocations: 178.1 kB / 0.7943 GB, free: 29.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007976/1.44, allocations: 5.339 MB / 0.7996 GB, free: 25.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.44, allocations: 0 / 0.7996 GB, free: 25.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/1.443, allocations: 2.091 MB / 0.8016 GB, free: 23.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/1.446, allocations: 428 kB / 0.802 GB, free: 22.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/1.46, allocations: 7.773 MB / 0.8096 GB, free: 15.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003045/1.463, allocations: 3.299 MB / 0.8128 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004496/1.468, allocations: 1.884 MB / 0.8147 GB, free: 12.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/1.469, allocations: 234.1 kB / 0.8149 GB, free: 12.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/1.469, allocations: 0 / 0.8149 GB, free: 12.07 MB / 474.7 MB Notification: Performance of Templates: time 0.3484/1.817, allocations: 33.24 MB / 0.8473 GB, free: 115.2 MB / 490.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)