Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00971/0.00971, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.388/1.388, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001713/0.001713, allocations: 128.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2485/0.2485, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004154, allocations: 10.19 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.09915, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5284, allocations: 99.37 MB / 0.5473 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5287, allocations: 81.73 kB / 0.5473 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3293/0.858, allocations: 142.5 MB / 0.6865 GB, free: 3.746 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.8581, allocations: 0 / 0.6865 GB, free: 3.746 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005433/0.8586, allocations: 160 kB / 0.6866 GB, free: 3.59 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.04159/0.9002, allocations: 9.286 MB / 0.6957 GB, free: 10.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.9003, allocations: 8.031 kB / 0.6957 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03359/0.9339, allocations: 7.74 MB / 0.7033 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02905/0.963, allocations: 10.99 MB / 0.714 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006948/0.9637, allocations: 0.5616 MB / 0.7145 GB, free: 6.816 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004111/0.9678, allocations: 0.765 MB / 0.7153 GB, free: 6.051 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3433/1.311, allocations: 17.6 MB / 0.7325 GB, free: 75.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005593/1.312, allocations: 101.5 kB / 0.7326 GB, free: 75.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002089/1.314, allocations: 359.7 kB / 0.7329 GB, free: 75.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003226/1.317, allocations: 1.598 MB / 0.7345 GB, free: 75.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03829/1.355, allocations: 14.3 MB / 0.7485 GB, free: 75.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1003/1.456, allocations: 79.04 MB / 0.8256 GB, free: 44.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01911/1.475, allocations: 6.932 MB / 0.8324 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02464/1.5, allocations: 14.69 MB / 0.8468 GB, free: 34.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/1.5, allocations: 69.19 kB / 0.8468 GB, free: 34.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=259): time 7.284e-06/1.5, allocations: 0 / 0.8468 GB, free: 34.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=287): time 0.07114/1.571, allocations: 27.72 MB / 0.8739 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004221/1.575, allocations: 6.311 MB / 0.8801 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/1.587, allocations: 5.851 MB / 0.8858 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.588, allocations: 65.7 kB / 0.8858 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005041/1.594, allocations: 5.271 MB / 0.891 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002862/1.596, allocations: 1.185 MB / 0.8921 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/1.598, allocations: 192 kB / 0.8923 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006697/1.598, allocations: 0.7137 MB / 0.893 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008717/1.607, allocations: 3.928 MB / 0.8969 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02933/1.636, allocations: 10.37 MB / 0.907 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/1.653, allocations: 5.972 MB / 0.9128 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004529/1.653, allocations: 67.95 kB / 0.9129 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.4415/2.095, allocations: 16.36 MB / 0.9289 GB, free: 98.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003883/2.095, allocations: 92.19 kB / 0.9289 GB, free: 98.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02932/2.125, allocations: 7.709 MB / 0.9365 GB, free: 98.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02361/2.148, allocations: 3.905 MB / 0.9403 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0133/2.162, allocations: 2.304 MB / 0.9425 GB, free: 98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/2.184, allocations: 14 MB / 0.9562 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01698/2.201, allocations: 0.8629 MB / 0.957 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003756/2.205, allocations: 0.5916 MB / 0.9576 GB, free: 90.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1195): * Single equations (assignments): 1170 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01271/2.217, allocations: 3.412 MB / 0.961 GB, free: 89.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002604/2.22, allocations: 0.5911 MB / 0.9615 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0235/2.243, allocations: 7.582 MB / 0.9689 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02035/2.264, allocations: 6.741 MB / 0.9755 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.547e-05/2.264, allocations: 9.656 kB / 0.9755 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001239/2.264, allocations: 15.62 kB / 0.9755 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02253/2.287, allocations: 7.424 MB / 0.9828 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001134/2.287, allocations: 3.688 kB / 0.9828 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005269/2.292, allocations: 0.5974 MB / 0.9834 GB, free: 88.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01429/2.306, allocations: 3.139 MB / 0.9865 GB, free: 88.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001112/2.308, allocations: 102.2 kB / 0.9865 GB, free: 88.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/2.326, allocations: 14.3 MB / 1.001 GB, free: 80.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004738/2.331, allocations: 6.08 MB / 1.006 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03116/2.362, allocations: 11.75 MB / 1.018 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00326/2.365, allocations: 0.6414 MB / 1.019 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002961/2.368, allocations: 72.78 kB / 1.019 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007398/2.376, allocations: 376.6 kB / 1.019 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001448/2.377, allocations: 215 kB / 1.019 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004749/2.378, allocations: 88.48 kB / 1.019 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01352/2.391, allocations: 4.096 MB / 1.023 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/2.392, allocations: 0 / 1.023 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01556/2.407, allocations: 2.03 MB / 1.025 GB, free: 68.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/2.408, allocations: 242.4 kB / 1.025 GB, free: 68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02192/2.43, allocations: 11.27 MB / 1.036 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/2.43, allocations: 4 kB / 1.036 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/2.441, allocations: 5.331 MB / 1.042 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006269/2.447, allocations: 0.8198 MB / 1.042 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03878/2.486, allocations: 22.32 MB / 1.064 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009421/2.495, allocations: 5.404 MB / 1.07 GB, free: 31.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009492/2.505, allocations: 2.917 MB / 1.072 GB, free: 29.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/2.507, allocations: 426.6 kB / 1.073 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/2.507, allocations: 4 kB / 1.073 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.4432/2.95, allocations: 74.87 MB / 1.146 GB, free: 86.48 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)