Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001472/0.001472, 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.848/1.848, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001663/0.001663, allocations: 100.5 kB / 252.6 MB, free: 4.859 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.2131/0.2131, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.162e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.5899, allocations: 105.7 MB / 0.5477 GB, free: 2.172 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/0.5903, allocations: 73.33 kB / 0.5478 GB, free: 2.137 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6662/1.257, allocations: 135.8 MB / 0.6804 GB, free: 88.41 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.257, allocations: 0 / 0.6804 GB, free: 88.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000565/1.257, allocations: 136.3 kB / 0.6805 GB, free: 88.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.0299/1.287, allocations: 7.042 MB / 0.6874 GB, free: 85.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/1.287, allocations: 7.875 kB / 0.6874 GB, free: 85.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03303/1.32, allocations: 7.564 MB / 0.6948 GB, free: 85.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02786/1.348, allocations: 9.794 MB / 0.7044 GB, free: 84.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008202/1.349, allocations: 492.1 kB / 0.7049 GB, free: 84.44 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004994/1.354, allocations: 0.6513 MB / 0.7055 GB, free: 84.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0461/1.4, allocations: 16.56 MB / 0.7217 GB, free: 80.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005077/1.401, allocations: 97.72 kB / 0.7218 GB, free: 80.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/1.403, allocations: 315 kB / 0.7221 GB, free: 80.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002182/1.406, allocations: 1.589 MB / 0.7236 GB, free: 80.51 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02963/1.435, allocations: 13.51 MB / 0.7368 GB, free: 79.01 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08553/1.521, allocations: 74.33 MB / 0.8094 GB, free: 16.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02056/1.541, allocations: 7.687 MB / 0.8169 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004824/1.546, allocations: 3.979 MB / 0.8208 GB, free: 6.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0323/1.579, allocations: 18.7 MB / 0.839 GB, free: 6.195 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/1.579, allocations: 68.03 kB / 0.8391 GB, free: 6.125 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 5.13e-06/1.579, allocations: 0 / 0.8391 GB, free: 6.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=367): time 0.4396/2.018, allocations: 40.31 MB / 0.8785 GB, free: 95.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/2.019, allocations: 270.6 kB / 0.8787 GB, free: 94.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009661/2.028, allocations: 5.297 MB / 0.8839 GB, free: 94.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001079/2.029, allocations: 80.78 kB / 0.884 GB, free: 94.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003557/2.033, allocations: 4.761 MB / 0.8886 GB, free: 92.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/2.035, allocations: 1.348 MB / 0.8899 GB, free: 91.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007168/2.035, allocations: 183.5 kB / 0.8901 GB, free: 91.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003905/2.036, allocations: 0.7005 MB / 0.8908 GB, free: 91.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00501/2.041, allocations: 3.687 MB / 0.8944 GB, free: 91.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007594/2.048, allocations: 8.87 MB / 0.9031 GB, free: 84.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008917/2.057, allocations: 5.617 MB / 0.9085 GB, free: 83.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002111/2.058, allocations: 52.12 kB / 0.9086 GB, free: 83.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.04201/2.1, allocations: 16.39 MB / 0.9246 GB, free: 78.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/2.1, allocations: 84.84 kB / 0.9247 GB, free: 78.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002428/2.1, allocations: 178.6 kB / 0.9249 GB, free: 78.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/2.113, allocations: 4.079 MB / 0.9288 GB, free: 78.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008318/2.122, allocations: 2.046 MB / 0.9308 GB, free: 77.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03112/2.153, allocations: 21.73 MB / 0.9521 GB, free: 62.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009689/2.163, allocations: 0.5504 MB / 0.9526 GB, free: 61.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/2.165, allocations: 0.5279 MB / 0.9531 GB, free: 61.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1083): * Single equations (assignments): 1078 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002096/2.167, allocations: 0.8116 MB / 0.9539 GB, free: 60.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/2.168, allocations: 0.5746 MB / 0.9545 GB, free: 59.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/2.188, allocations: 9.676 MB / 0.9639 GB, free: 52.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.765e-05/2.188, allocations: 37.33 kB / 0.964 GB, free: 52.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-05/2.188, allocations: 20 kB / 0.964 GB, free: 52.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.809e-05/2.188, allocations: 20.55 kB / 0.964 GB, free: 52.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03834/2.227, allocations: 19.09 MB / 0.9826 GB, free: 37.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.882e-05/2.227, allocations: 4 kB / 0.9826 GB, free: 37.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003012/2.23, allocations: 0.5013 MB / 0.9831 GB, free: 36.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01068/2.24, allocations: 3.569 MB / 0.9866 GB, free: 34.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008515/2.241, allocations: 59.94 kB / 0.9867 GB, free: 34.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0245/2.266, allocations: 18.7 MB / 1.005 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.266, allocations: 4 kB / 1.005 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02439/2.29, allocations: 14.13 MB / 1.019 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004148/2.295, allocations: 1.114 MB / 1.02 GB, free: 304 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002116/2.297, allocations: 63.98 kB / 1.02 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004591/2.301, allocations: 231.5 kB / 1.02 GB, free: 12 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/2.302, allocations: 218.2 kB / 1.02 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/2.303, allocations: 99.86 kB / 1.02 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008652/2.311, allocations: 3.705 MB / 1.024 GB, free: 12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.51e-07/2.311, allocations: 4 kB / 1.024 GB, free: 12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01158/2.323, allocations: 1.848 MB / 1.026 GB, free: 10.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2895/2.613, allocations: 215.9 kB / 1.026 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01956/2.632, allocations: 9.521 MB / 1.035 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/2.632, allocations: 1.094 kB / 1.035 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007299/2.64, allocations: 3.724 MB / 1.039 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006831/2.646, allocations: 0.7119 MB / 1.04 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03193/2.678, allocations: 13.12 MB / 1.052 GB, free: 99.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005785/2.684, allocations: 5.005 MB / 1.057 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007052/2.691, allocations: 2.799 MB / 1.06 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/2.693, allocations: 386.7 kB / 1.06 GB, free: 98.51 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/2.693, allocations: 0 / 1.06 GB, free: 98.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.1304/2.823, allocations: 75.31 MB / 1.134 GB, free: 70.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)