Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001527/0.001527, allocations: 169.2 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.183/1.183, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001594/0.001594, allocations: 103.5 kB / 223.2 MB, free: 4.047 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.1584/0.1584, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.79e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07402/0.07406, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/0.4048, allocations: 92.58 MB / 498.3 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4051, allocations: 72.64 kB / 498.3 MB, free: 17.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5571/0.9622, allocations: 142.4 MB / 0.6257 GB, free: 59.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.9622, allocations: 0 / 0.6257 GB, free: 59.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000437/0.9627, allocations: 154.8 kB / 0.6259 GB, free: 59.91 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.03667/0.9994, allocations: 8.679 MB / 0.6344 GB, free: 57.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.9994, allocations: 12.94 kB / 0.6344 GB, free: 57.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03164/1.031, allocations: 7.692 MB / 0.6419 GB, free: 56.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02607/1.057, allocations: 10.93 MB / 0.6526 GB, free: 55.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006405/1.058, allocations: 0.5612 MB / 0.6531 GB, free: 55.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003325/1.061, allocations: 0.7614 MB / 0.6539 GB, free: 55.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03857/1.1, allocations: 17.45 MB / 0.6709 GB, free: 51.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000537/1.1, allocations: 105.6 kB / 0.671 GB, free: 51.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002721/1.103, allocations: 363 kB / 0.6713 GB, free: 51.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/1.105, allocations: 1.599 MB / 0.6729 GB, free: 51.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/1.133, allocations: 14.01 MB / 0.6866 GB, free: 51.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09064/1.223, allocations: 79.02 MB / 0.7638 GB, free: 22.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01874/1.242, allocations: 6.903 MB / 0.7705 GB, free: 16.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004483/1.247, allocations: 3.208 MB / 0.7736 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.025/1.272, allocations: 14.67 MB / 0.7879 GB, free: 1.227 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/1.272, allocations: 60.56 kB / 0.788 GB, free: 1.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=259): time 5.871e-06/1.272, allocations: 4 kB / 0.788 GB, free: 1.156 MB / 458.7 MB Notification: Performance of matching and sorting (n=287): time 0.3382/1.61, allocations: 23.72 MB / 0.8112 GB, free: 84.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003091/1.613, allocations: 6.256 MB / 0.8173 GB, free: 79.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009812/1.623, allocations: 5.758 MB / 0.8229 GB, free: 78.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008616/1.624, allocations: 68.86 kB / 0.823 GB, free: 78.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003447/1.627, allocations: 5.279 MB / 0.8281 GB, free: 76.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.629, allocations: 1.184 MB / 0.8293 GB, free: 75.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005983/1.63, allocations: 198.1 kB / 0.8295 GB, free: 75.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004419/1.63, allocations: 0.7189 MB / 0.8302 GB, free: 75.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004969/1.635, allocations: 3.789 MB / 0.8339 GB, free: 75.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008375/1.644, allocations: 9.58 MB / 0.8432 GB, free: 67.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008585/1.652, allocations: 5.895 MB / 0.849 GB, free: 67.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001752/1.653, allocations: 58.72 kB / 0.849 GB, free: 67.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03014/1.683, allocations: 15.16 MB / 0.8638 GB, free: 66.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/1.683, allocations: 96.06 kB / 0.8639 GB, free: 66.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01206/1.695, allocations: 6.702 MB / 0.8705 GB, free: 64.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008115/1.703, allocations: 2.84 MB / 0.8733 GB, free: 64.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007927/1.711, allocations: 2.35 MB / 0.8755 GB, free: 63.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00823/1.719, allocations: 11.29 MB / 0.8866 GB, free: 54.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009317/1.729, allocations: 0.8602 MB / 0.8874 GB, free: 54.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/1.73, allocations: 0.5872 MB / 0.888 GB, free: 54.61 MB / 458.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * 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: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001596/1.732, allocations: 0.8571 MB / 0.8888 GB, free: 53.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/1.733, allocations: 0.5811 MB / 0.8894 GB, free: 53.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/1.748, allocations: 7.534 MB / 0.8968 GB, free: 51.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01241/1.76, allocations: 6.697 MB / 0.9033 GB, free: 47.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/1.76, allocations: 7.953 kB / 0.9033 GB, free: 47.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.746e-05/1.76, allocations: 16.66 kB / 0.9033 GB, free: 47.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/1.773, allocations: 7.429 MB / 0.9106 GB, free: 41.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/1.773, allocations: 5.688 kB / 0.9106 GB, free: 41.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/1.776, allocations: 0.5938 MB / 0.9112 GB, free: 40.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009011/1.785, allocations: 3.139 MB / 0.9142 GB, free: 38.78 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006547/1.786, allocations: 100 kB / 0.9143 GB, free: 38.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/1.797, allocations: 13.99 MB / 0.928 GB, free: 25.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002903/1.8, allocations: 6.032 MB / 0.9339 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/1.818, allocations: 11.64 MB / 0.9452 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003715/1.822, allocations: 1.134 MB / 0.9463 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/1.824, allocations: 78.3 kB / 0.9464 GB, free: 8.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004171/1.828, allocations: 374.4 kB / 0.9468 GB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006521/1.828, allocations: 219.8 kB / 0.947 GB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.829, allocations: 85.91 kB / 0.9471 GB, free: 7.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006663/1.835, allocations: 4.003 MB / 0.951 GB, free: 4.242 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.835, allocations: 0 / 0.951 GB, free: 4.242 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009688/1.845, allocations: 2.005 MB / 0.9529 GB, free: 2.242 MB / 458.7 MB 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 () * 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.000658/1.846, allocations: 239.9 kB / 0.9532 GB, free: 2.023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2475/2.093, allocations: 10.68 MB / 0.9636 GB, free: 88.99 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.093, allocations: 4.531 kB / 0.9636 GB, free: 88.99 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01072/2.104, allocations: 5.279 MB / 0.9688 GB, free: 87.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006352/2.11, allocations: 0.8313 MB / 0.9696 GB, free: 87.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03366/2.144, allocations: 16.46 MB / 0.9856 GB, free: 83.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00848/2.153, allocations: 5.396 MB / 0.9909 GB, free: 82.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008971/2.162, allocations: 2.928 MB / 0.9938 GB, free: 82.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/2.164, allocations: 421.8 kB / 0.9942 GB, free: 82.08 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/2.164, allocations: 0 / 0.9942 GB, free: 82.08 MB / 474.7 MB Notification: Performance of Templates: time 0.1262/2.29, allocations: 71 MB / 1.064 GB, free: 58.89 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)