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.00534/0.00534, allocations: 176.9 kB / 15.12 MB, free: 5.973 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.376/1.376, allocations: 194.5 MB / 210.3 MB, free: 7.738 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.001759/0.001759, allocations: 112.6 kB / 255.6 MB, free: 10.35 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1853/0.1853, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 11.47 kB / 406.2 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 54.88 MB / 461 MB, free: 3.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/0.5438, allocations: 105.7 MB / 0.5535 GB, free: 21.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.5442, allocations: 85.61 kB / 0.5536 GB, free: 21.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3368/0.881, allocations: 135.7 MB / 0.6861 GB, free: 4.203 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.8811, allocations: 0 / 0.6861 GB, free: 4.203 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004808/0.8815, allocations: 132 kB / 0.6862 GB, free: 4.074 MB / 458.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.02738/0.9089, allocations: 7.647 MB / 0.6937 GB, free: 12.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.909, allocations: 12.03 kB / 0.6937 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0319/0.9409, allocations: 7.549 MB / 0.7011 GB, free: 4.758 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02775/0.9687, allocations: 9.84 MB / 0.7107 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000614/0.9694, allocations: 492.8 kB / 0.7111 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004212/0.9736, allocations: 0.6519 MB / 0.7118 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3894/1.363, allocations: 16.7 MB / 0.7281 GB, free: 82.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007611/1.364, allocations: 95.73 kB / 0.7282 GB, free: 82.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003713/1.368, allocations: 315.5 kB / 0.7285 GB, free: 82.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003989/1.372, allocations: 1.576 MB / 0.73 GB, free: 82.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03835/1.41, allocations: 13.74 MB / 0.7434 GB, free: 82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/1.512, allocations: 74.26 MB / 0.816 GB, free: 53.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02161/1.534, allocations: 7.702 MB / 0.8235 GB, free: 51.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03289/1.567, allocations: 18.63 MB / 0.8417 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/1.567, allocations: 67.34 kB / 0.8417 GB, free: 41.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=280): time 7.905e-06/1.567, allocations: 3.891 kB / 0.8417 GB, free: 41.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=361): time 0.1604/1.727, allocations: 49.41 MB / 0.89 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/1.727, allocations: 277.5 kB / 0.8902 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/1.739, allocations: 5.38 MB / 0.8955 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001445/1.741, allocations: 81.7 kB / 0.8956 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005463/1.746, allocations: 4.76 MB / 0.9002 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002872/1.749, allocations: 1.33 MB / 0.9015 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007888/1.75, allocations: 184 kB / 0.9017 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005834/1.75, allocations: 0.6919 MB / 0.9024 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006941/1.757, allocations: 3.782 MB / 0.9061 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3689/2.126, allocations: 9.772 MB / 0.9156 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/2.139, allocations: 5.639 MB / 0.9211 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000398/2.14, allocations: 52.69 kB / 0.9212 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.04808/2.188, allocations: 16.69 MB / 0.9375 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/2.188, allocations: 88.06 kB / 0.9375 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003663/2.188, allocations: 180.4 kB / 0.9377 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01493/2.203, allocations: 4.173 MB / 0.9418 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009562/2.213, allocations: 2.031 MB / 0.9438 GB, free: 91.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03692/2.25, allocations: 22.92 MB / 0.9662 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/2.262, allocations: 0.5494 MB / 0.9667 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003125/2.265, allocations: 0.5313 MB / 0.9672 GB, free: 88.56 MB / 0.4948 GB 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 () * Number of clocked 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.01137/2.276, allocations: 3.111 MB / 0.9703 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002732/2.279, allocations: 0.5688 MB / 0.9708 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02779/2.307, allocations: 9.824 MB / 0.9804 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-05/2.307, allocations: 40.52 kB / 0.9804 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.64e-05/2.307, allocations: 16.81 kB / 0.9805 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-05/2.307, allocations: 16.92 kB / 0.9805 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05228/2.359, allocations: 19.18 MB / 0.9992 GB, free: 78.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.364e-05/2.359, allocations: 3.938 kB / 0.9992 GB, free: 78.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003162/2.363, allocations: 0.4993 MB / 0.9997 GB, free: 78.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01268/2.375, allocations: 3.669 MB / 1.003 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/2.376, allocations: 64.45 kB / 1.003 GB, free: 77.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03206/2.409, allocations: 19.79 MB / 1.023 GB, free: 66.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/2.409, allocations: 0 / 1.023 GB, free: 66.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03065/2.439, allocations: 14.28 MB / 1.037 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005201/2.445, allocations: 1.111 MB / 1.038 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002837/2.447, allocations: 59.75 kB / 1.038 GB, free: 54.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004686/2.452, allocations: 238 kB / 1.038 GB, free: 53.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/2.454, allocations: 225.8 kB / 1.038 GB, free: 53.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006962/2.454, allocations: 90.19 kB / 1.038 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01127/2.466, allocations: 3.786 MB / 1.042 GB, free: 50.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/2.466, allocations: 0 / 1.042 GB, free: 50.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01686/2.482, allocations: 1.841 MB / 1.044 GB, free: 48.83 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 () * Number of clocked 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.00219/2.485, allocations: 230.4 kB / 1.044 GB, free: 48.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01958/2.504, allocations: 9.623 MB / 1.053 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/2.504, allocations: 0 / 1.053 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006888/2.511, allocations: 3.752 MB / 1.057 GB, free: 36.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006125/2.517, allocations: 0.7189 MB / 1.058 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03844/2.556, allocations: 18.34 MB / 1.076 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/2.568, allocations: 5.003 MB / 1.081 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01022/2.578, allocations: 2.784 MB / 1.083 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/2.581, allocations: 387.4 kB / 1.084 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of SimCode: time 2.204e-06/2.581, allocations: 0 / 1.084 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.4378/3.019, allocations: 75.52 MB / 1.157 GB, free: 79.25 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)