Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001196/0.001196, allocations: 169.5 kB / 12.72 MB, free: 2.594 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.111/1.111, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001565/0.001565, allocations: 107.4 kB / 223.2 MB, free: 4.113 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.1687/0.1687, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.552e-05, allocations: 7.984 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07407/0.07412, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2892/0.3634, allocations: 98.92 MB / 0.4928 GB, free: 14.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.3636, allocations: 74.89 kB / 0.4929 GB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5578/0.9214, allocations: 135.7 MB / 0.6253 GB, free: 67.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.9215, allocations: 0 / 0.6253 GB, free: 67.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003222/0.9218, allocations: 135.2 kB / 0.6255 GB, free: 67.48 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.01974/0.9416, allocations: 7.047 MB / 0.6324 GB, free: 65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.9416, allocations: 13.78 kB / 0.6324 GB, free: 65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03136/0.973, allocations: 7.556 MB / 0.6397 GB, free: 64.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02223/0.9952, allocations: 9.784 MB / 0.6493 GB, free: 63.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004157/0.9957, allocations: 490.8 kB / 0.6498 GB, free: 63.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003008/0.9987, allocations: 0.6555 MB / 0.6504 GB, free: 63.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03271/1.031, allocations: 16.55 MB / 0.6666 GB, free: 59.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003209/1.032, allocations: 95.98 kB / 0.6667 GB, free: 59.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001415/1.033, allocations: 313.6 kB / 0.667 GB, free: 59.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001977/1.035, allocations: 1.583 MB / 0.6685 GB, free: 59.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/1.062, allocations: 13.5 MB / 0.6817 GB, free: 59.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07679/1.139, allocations: 74.32 MB / 0.7543 GB, free: 18.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01945/1.158, allocations: 7.69 MB / 0.7618 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004621/1.163, allocations: 3.982 MB / 0.7657 GB, free: 8.293 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03089/1.194, allocations: 18.93 MB / 0.7842 GB, free: 8.324 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/1.194, allocations: 64.56 kB / 0.7842 GB, free: 8.254 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 6.021e-06/1.194, allocations: 0 / 0.7842 GB, free: 8.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=367): time 0.3495/1.544, allocations: 40.58 MB / 0.8238 GB, free: 90.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/1.544, allocations: 280.8 kB / 0.8241 GB, free: 90.58 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007639/1.551, allocations: 5.291 MB / 0.8293 GB, free: 90.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007928/1.552, allocations: 82.11 kB / 0.8294 GB, free: 90.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002675/1.555, allocations: 4.756 MB / 0.834 GB, free: 88.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/1.557, allocations: 1.352 MB / 0.8353 GB, free: 87.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007636/1.558, allocations: 186.4 kB / 0.8355 GB, free: 87.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004262/1.558, allocations: 0.6927 MB / 0.8362 GB, free: 86.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005059/1.563, allocations: 3.689 MB / 0.8398 GB, free: 86.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006739/1.57, allocations: 8.87 MB / 0.8484 GB, free: 80.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007098/1.577, allocations: 5.602 MB / 0.8539 GB, free: 80.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.577, allocations: 61.52 kB / 0.854 GB, free: 80.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.03017/1.607, allocations: 16.39 MB / 0.87 GB, free: 76.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.607, allocations: 85.06 kB / 0.8701 GB, free: 76.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/1.608, allocations: 186.7 kB / 0.8702 GB, free: 76.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/1.619, allocations: 4.073 MB / 0.8742 GB, free: 75.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006618/1.625, allocations: 2.043 MB / 0.8762 GB, free: 75.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02796/1.653, allocations: 21.73 MB / 0.8974 GB, free: 62.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007827/1.661, allocations: 0.5503 MB / 0.898 GB, free: 62.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/1.663, allocations: 0.5332 MB / 0.8985 GB, free: 61.92 MB / 458.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.001578/1.665, allocations: 0.8034 MB / 0.8993 GB, free: 61.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.666, allocations: 0.5669 MB / 0.8998 GB, free: 60.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/1.686, allocations: 9.688 MB / 0.9093 GB, free: 53.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/1.686, allocations: 44 kB / 0.9093 GB, free: 53.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/1.686, allocations: 16 kB / 0.9094 GB, free: 53.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.067e-05/1.686, allocations: 17.06 kB / 0.9094 GB, free: 53.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/1.721, allocations: 19.08 MB / 0.928 GB, free: 37.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/1.722, allocations: 4 kB / 0.928 GB, free: 37.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/1.724, allocations: 0.502 MB / 0.9285 GB, free: 37.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0108/1.735, allocations: 3.571 MB / 0.932 GB, free: 35.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/1.736, allocations: 63.38 kB / 0.932 GB, free: 35.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02465/1.761, allocations: 18.71 MB / 0.9503 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.761, allocations: 7.938 kB / 0.9503 GB, free: 18.33 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2802/2.041, allocations: 14.13 MB / 0.9641 GB, free: 80.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004063/2.045, allocations: 1.117 MB / 0.9652 GB, free: 80.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001632/2.047, allocations: 57.47 kB / 0.9653 GB, free: 80.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003752/2.051, allocations: 230.1 kB / 0.9655 GB, free: 80.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/2.052, allocations: 221 kB / 0.9657 GB, free: 80.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/2.052, allocations: 90.44 kB / 0.9658 GB, free: 80.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007577/2.06, allocations: 3.703 MB / 0.9694 GB, free: 80.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/2.06, allocations: 4.812 kB / 0.9694 GB, free: 80.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01083/2.07, allocations: 1.848 MB / 0.9712 GB, free: 80.17 MB / 458.7 MB 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.0009669/2.071, allocations: 218.4 kB / 0.9714 GB, free: 80.08 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01433/2.086, allocations: 9.528 MB / 0.9807 GB, free: 79.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/2.086, allocations: 7.312 kB / 0.9807 GB, free: 79.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005387/2.091, allocations: 3.711 MB / 0.9844 GB, free: 79.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00501/2.096, allocations: 0.7245 MB / 0.9851 GB, free: 79.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/2.121, allocations: 13.11 MB / 0.9979 GB, free: 77.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/2.126, allocations: 5.016 MB / 1.003 GB, free: 76.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007026/2.133, allocations: 2.792 MB / 1.005 GB, free: 76.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/2.134, allocations: 379 kB / 1.006 GB, free: 76.12 MB / 458.7 MB Notification: Performance of SimCode: time 8.12e-07/2.134, allocations: 3.906 kB / 1.006 GB, free: 76.12 MB / 458.7 MB Notification: Performance of Templates: time 0.1176/2.252, allocations: 75.3 MB / 1.079 GB, free: 40.04 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)