Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001311/0.001311, allocations: 182.3 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.567/1.567, allocations: 194.3 MB / 207.5 MB, free: 3.469 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.001632/0.001632, allocations: 110.7 kB / 252.6 MB, free: 4.832 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.2005/0.2005, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.634e-05, allocations: 0 / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/0.08709, allocations: 54.87 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.454, allocations: 105.7 MB / 0.5477 GB, free: 2.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.4542, allocations: 76.7 kB / 0.5477 GB, free: 2.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5916/1.046, allocations: 135.8 MB / 0.6803 GB, free: 88.15 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.046, allocations: 0 / 0.6803 GB, free: 88.15 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004328/1.046, allocations: 136.8 kB / 0.6805 GB, free: 88.14 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02721/1.074, allocations: 7.032 MB / 0.6873 GB, free: 85.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.074, allocations: 9.188 kB / 0.6873 GB, free: 85.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03025/1.104, allocations: 7.561 MB / 0.6947 GB, free: 85.11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02423/1.128, allocations: 9.798 MB / 0.7043 GB, free: 84.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000517/1.129, allocations: 493.8 kB / 0.7048 GB, free: 84.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003287/1.132, allocations: 0.6454 MB / 0.7054 GB, free: 84.17 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03688/1.169, allocations: 16.56 MB / 0.7216 GB, free: 80.28 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000551/1.169, allocations: 100.8 kB / 0.7217 GB, free: 80.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002324/1.172, allocations: 317.9 kB / 0.722 GB, free: 80.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/1.174, allocations: 1.589 MB / 0.7235 GB, free: 80.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/1.201, allocations: 13.48 MB / 0.7367 GB, free: 78.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08224/1.283, allocations: 74.25 MB / 0.8092 GB, free: 16.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/1.304, allocations: 7.651 MB / 0.8167 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005021/1.309, allocations: 3.912 MB / 0.8205 GB, free: 6.988 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03451/1.344, allocations: 18.64 MB / 0.8387 GB, free: 6.516 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/1.344, allocations: 60.5 kB / 0.8387 GB, free: 6.449 MB / 490.7 MB Notification: Performance of pre-optimization done (n=280): time 5.681e-06/1.344, allocations: 0 / 0.8387 GB, free: 6.449 MB / 490.7 MB Notification: Performance of matching and sorting (n=361): time 0.3931/1.737, allocations: 40.41 MB / 0.8782 GB, free: 95.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.737, allocations: 272.4 kB / 0.8784 GB, free: 94.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009618/1.747, allocations: 5.294 MB / 0.8836 GB, free: 94.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009916/1.748, allocations: 83.83 kB / 0.8837 GB, free: 94.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003372/1.751, allocations: 4.758 MB / 0.8883 GB, free: 92.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002298/1.754, allocations: 1.334 MB / 0.8896 GB, free: 91.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/1.755, allocations: 182.3 kB / 0.8898 GB, free: 91.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000673/1.755, allocations: 0.6977 MB / 0.8905 GB, free: 91.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006242/1.762, allocations: 3.656 MB / 0.8941 GB, free: 91.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00961/1.771, allocations: 8.839 MB / 0.9027 GB, free: 84.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009738/1.781, allocations: 5.578 MB / 0.9082 GB, free: 83.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002704/1.781, allocations: 58.22 kB / 0.9082 GB, free: 83.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.03979/1.821, allocations: 16.37 MB / 0.9242 GB, free: 78.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003119/1.821, allocations: 84.06 kB / 0.9243 GB, free: 78.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003512/1.822, allocations: 178.8 kB / 0.9244 GB, free: 78.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01308/1.835, allocations: 4.112 MB / 0.9285 GB, free: 78.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007749/1.843, allocations: 2.03 MB / 0.9304 GB, free: 78.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03405/1.877, allocations: 21.76 MB / 0.9517 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009502/1.886, allocations: 0.5453 MB / 0.9522 GB, free: 62.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002198/1.889, allocations: 0.5326 MB / 0.9527 GB, free: 61.58 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 (1077): * Single equations (assignments): 1072 * 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 {(1,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003287/1.892, allocations: 0.8097 MB / 0.9535 GB, free: 60.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002018/1.894, allocations: 0.5707 MB / 0.9541 GB, free: 60.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02239/1.916, allocations: 9.659 MB / 0.9635 GB, free: 52.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.045e-05/1.917, allocations: 36 kB / 0.9636 GB, free: 52.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-05/1.917, allocations: 16 kB / 0.9636 GB, free: 52.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.675e-05/1.917, allocations: 21.44 kB / 0.9636 GB, free: 52.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04636/1.963, allocations: 19.01 MB / 0.9822 GB, free: 37.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.931e-05/1.963, allocations: 0 / 0.9822 GB, free: 37.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/1.966, allocations: 0.504 MB / 0.9827 GB, free: 37.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01156/1.978, allocations: 3.613 MB / 0.9862 GB, free: 34.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009524/1.979, allocations: 63.75 kB / 0.9862 GB, free: 34.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02638/2.005, allocations: 18.7 MB / 1.005 GB, free: 16.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.005, allocations: 0 / 1.005 GB, free: 16.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02825/2.033, allocations: 14.07 MB / 1.018 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004135/2.038, allocations: 1.114 MB / 1.019 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002457/2.04, allocations: 56 kB / 1.019 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004628/2.045, allocations: 235.7 kB / 1.02 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001152/2.046, allocations: 225.8 kB / 1.02 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005725/2.046, allocations: 95.73 kB / 1.02 GB, free: 160 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009801/2.056, allocations: 3.701 MB / 1.024 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.21e-07/2.056, allocations: 0 / 1.024 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01295/2.069, allocations: 1.844 MB / 1.025 GB, free: 10.62 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 (264): * Single equations (assignments): 259 * 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.001591/2.071, allocations: 230.2 kB / 1.026 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.2978/2.369, allocations: 9.422 MB / 1.035 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/2.369, allocations: 1.406 kB / 1.035 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006699/2.376, allocations: 3.673 MB / 1.038 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006393/2.382, allocations: 0.7112 MB / 1.039 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03013/2.412, allocations: 13.08 MB / 1.052 GB, free: 99.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009828/2.422, allocations: 5.002 MB / 1.057 GB, free: 98.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00882/2.431, allocations: 2.792 MB / 1.059 GB, free: 98.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/2.433, allocations: 380.6 kB / 1.06 GB, free: 98.21 MB / 0.4948 GB Notification: Performance of SimCode: time 2.304e-06/2.433, allocations: 2 kB / 1.06 GB, free: 98.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.1336/2.566, allocations: 75.22 MB / 1.133 GB, free: 70.78 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1)