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.01247/0.01247, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.584/1.584, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.00189/0.00189, allocations: 118.5 kB / 226.2 MB, free: 8.012 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.3397/0.3397, allocations: 38.04 MB / 303.7 MB, free: 25.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 12 kB / 362.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3148, allocations: 48.69 MB / 411.6 MB, free: 38.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.4341, allocations: 92.68 MB / 0.4924 GB, free: 2.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4344, allocations: 79.95 kB / 0.4925 GB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6956/1.13, allocations: 142.3 MB / 0.6315 GB, free: 69.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.198e-06/1.13, allocations: 0 / 0.6315 GB, free: 69.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007347/1.131, allocations: 154.9 kB / 0.6316 GB, free: 69.16 MB / 410.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.04685/1.178, allocations: 9.28 MB / 0.6407 GB, free: 63.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.178, allocations: 10.56 kB / 0.6407 GB, free: 63.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03013/1.208, allocations: 7.686 MB / 0.6482 GB, free: 56.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02769/1.236, allocations: 10.97 MB / 0.6589 GB, free: 45.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004298/1.236, allocations: 0.5616 MB / 0.6595 GB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002996/1.239, allocations: 0.759 MB / 0.6602 GB, free: 44.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/1.272, allocations: 17.61 MB / 0.6774 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003423/1.273, allocations: 103 kB / 0.6775 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/1.274, allocations: 363.8 kB / 0.6778 GB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00185/1.276, allocations: 1.608 MB / 0.6794 GB, free: 23.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/1.304, allocations: 14.29 MB / 0.6934 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3094/1.613, allocations: 79.01 MB / 0.7705 GB, free: 37.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/1.633, allocations: 6.936 MB / 0.7773 GB, free: 36.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02674/1.659, allocations: 14.68 MB / 0.7916 GB, free: 33.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/1.659, allocations: 64.34 kB / 0.7917 GB, free: 33.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 5.901e-06/1.659, allocations: 0 / 0.7917 GB, free: 33.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.0715/1.731, allocations: 27.72 MB / 0.8188 GB, free: 25.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004287/1.735, allocations: 6.3 MB / 0.8249 GB, free: 19.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01359/1.749, allocations: 5.851 MB / 0.8306 GB, free: 17.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009487/1.75, allocations: 74.55 kB / 0.8307 GB, free: 17.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004997/1.755, allocations: 5.281 MB / 0.8359 GB, free: 13.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002228/1.757, allocations: 1.173 MB / 0.837 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009461/1.758, allocations: 195.7 kB / 0.8372 GB, free: 12.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005972/1.759, allocations: 0.7177 MB / 0.8379 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005472/1.764, allocations: 3.901 MB / 0.8417 GB, free: 10.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008569/1.773, allocations: 9.678 MB / 0.8512 GB, free: 1.305 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/1.787, allocations: 6.245 MB / 0.8573 GB, free: 15.97 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002466/1.787, allocations: 61.47 kB / 0.8573 GB, free: 15.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03763/1.825, allocations: 15.37 MB / 0.8723 GB, free: 6.715 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/1.825, allocations: 95.7 kB / 0.8724 GB, free: 6.625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01468/1.84, allocations: 6.769 MB / 0.879 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009367/1.849, allocations: 2.861 MB / 0.8818 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008794/1.858, allocations: 2.349 MB / 0.8841 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/1.869, allocations: 11.41 MB / 0.8953 GB, free: 1.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/1.88, allocations: 0.8597 MB / 0.8961 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0023/1.883, allocations: 0.589 MB / 0.8967 GB, free: 0.6406 MB / 474.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 () * Number of clocked 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.2664/2.149, allocations: 3.94 MB / 0.9005 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001487/2.15, allocations: 0.5877 MB / 0.9011 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/2.166, allocations: 7.587 MB / 0.9085 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01218/2.178, allocations: 6.747 MB / 0.9151 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.534e-05/2.179, allocations: 7.469 kB / 0.9151 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.288e-05/2.179, allocations: 20.08 kB / 0.9151 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/2.193, allocations: 7.416 MB / 0.9224 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.121e-05/2.193, allocations: 3.922 kB / 0.9224 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/2.196, allocations: 0.5977 MB / 0.9229 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009451/2.206, allocations: 3.127 MB / 0.926 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007194/2.207, allocations: 101.5 kB / 0.9261 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/2.221, allocations: 14.29 MB / 0.9401 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002869/2.224, allocations: 6.086 MB / 0.946 GB, free: 99.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01936/2.243, allocations: 11.73 MB / 0.9575 GB, free: 95.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004373/2.248, allocations: 1.133 MB / 0.9586 GB, free: 95.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/2.249, allocations: 74.95 kB / 0.9586 GB, free: 95.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003169/2.252, allocations: 379.7 kB / 0.959 GB, free: 95.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005319/2.253, allocations: 213.2 kB / 0.9592 GB, free: 95.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/2.253, allocations: 89.36 kB / 0.9593 GB, free: 95.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006089/2.259, allocations: 4.097 MB / 0.9633 GB, free: 94.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.343e-06/2.259, allocations: 0 / 0.9633 GB, free: 94.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01312/2.272, allocations: 2.008 MB / 0.9652 GB, free: 93.95 MB / 474.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 () * 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.001496/2.274, allocations: 239.5 kB / 0.9655 GB, free: 93.83 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02671/2.3, allocations: 10.81 MB / 0.976 GB, free: 89.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/2.3, allocations: 0 / 0.976 GB, free: 89.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01421/2.315, allocations: 5.336 MB / 0.9812 GB, free: 87.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008296/2.323, allocations: 0.8333 MB / 0.9821 GB, free: 86.83 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0505/2.374, allocations: 22.28 MB / 1.004 GB, free: 70.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/2.386, allocations: 5.4 MB / 1.009 GB, free: 66.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01359/2.4, allocations: 2.934 MB / 1.012 GB, free: 64.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/2.402, allocations: 428 kB / 1.012 GB, free: 64.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/2.402, allocations: 0 / 1.012 GB, free: 64.44 MB / 474.7 MB Notification: Performance of Templates: time 0.3923/2.795, allocations: 71.05 MB / 1.082 GB, free: 94.67 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)