Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00993/0.00993, allocations: 173.8 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.931/1.931, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002029/0.002029, allocations: 120.6 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2537/0.2537, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004808, allocations: 10.16 kB / 406.3 MB, free: 51.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 54.86 MB / 461.1 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4951/0.6073, allocations: 105.9 MB / 0.5537 GB, free: 25.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6076, allocations: 80.8 kB / 0.5538 GB, free: 25.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5669/1.174, allocations: 135.7 MB / 0.6863 GB, free: 5.754 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.175, allocations: 4 kB / 0.6863 GB, free: 5.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005658/1.175, allocations: 135.9 kB / 0.6864 GB, free: 5.617 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.03571/1.211, allocations: 7.651 MB / 0.6939 GB, free: 13.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.211, allocations: 11.97 kB / 0.6939 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005877/1.217, allocations: 1.146 MB / 0.695 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06013/1.277, allocations: 7.553 MB / 0.7024 GB, free: 5.137 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4325/1.71, allocations: 9.833 MB / 0.712 GB, free: 71.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/1.711, allocations: 489.2 kB / 0.7124 GB, free: 71.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004746/1.715, allocations: 0.6529 MB / 0.7131 GB, free: 71.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06092/1.776, allocations: 16.71 MB / 0.7294 GB, free: 67.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000537/1.777, allocations: 105.9 kB / 0.7295 GB, free: 67.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003139/1.78, allocations: 313 kB / 0.7298 GB, free: 67.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003713/1.784, allocations: 1.581 MB / 0.7313 GB, free: 67.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04538/1.829, allocations: 13.76 MB / 0.7448 GB, free: 67.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1191/1.948, allocations: 74.34 MB / 0.8174 GB, free: 34.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0391/1.988, allocations: 7.734 MB / 0.8249 GB, free: 32.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05496/2.043, allocations: 18.72 MB / 0.8432 GB, free: 22.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.705e-05/2.043, allocations: 59.09 kB / 0.8433 GB, free: 22.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 6.472e-06/2.043, allocations: 1.312 kB / 0.8433 GB, free: 22.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=367): time 0.3221/2.365, allocations: 50.68 MB / 0.8928 GB, free: 1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/2.365, allocations: 277.4 kB / 0.893 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3819/2.747, allocations: 5.414 MB / 0.8983 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001105/2.748, allocations: 82.8 kB / 0.8984 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005292/2.754, allocations: 4.762 MB / 0.903 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002636/2.756, allocations: 1.347 MB / 0.9044 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00213/2.758, allocations: 187.5 kB / 0.9045 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001467/2.76, allocations: 0.6924 MB / 0.9052 GB, free: 98.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01238/2.772, allocations: 3.806 MB / 0.9089 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01621/2.789, allocations: 8.995 MB / 0.9177 GB, free: 91.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/2.803, allocations: 5.678 MB / 0.9233 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002016/2.803, allocations: 50.81 kB / 0.9233 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05961/2.862, allocations: 16.71 MB / 0.9396 GB, free: 90.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/2.863, allocations: 81.88 kB / 0.9397 GB, free: 90.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002948/2.863, allocations: 180.6 kB / 0.9399 GB, free: 90.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02371/2.887, allocations: 4.139 MB / 0.9439 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01317/2.9, allocations: 2.04 MB / 0.9459 GB, free: 90.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05726/2.957, allocations: 22.89 MB / 0.9683 GB, free: 82.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/2.97, allocations: 0.5532 MB / 0.9688 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/2.972, allocations: 0.5363 MB / 0.9693 GB, free: 82.57 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 (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.009833/2.982, allocations: 3.113 MB / 0.9724 GB, free: 81.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/2.984, allocations: 0.5794 MB / 0.9729 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04109/3.025, allocations: 9.844 MB / 0.9826 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.491e-05/3.025, allocations: 35.69 kB / 0.9826 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.945e-05/3.025, allocations: 24.8 kB / 0.9826 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-05/3.025, allocations: 15.19 kB / 0.9826 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07081/3.096, allocations: 19.25 MB / 1.001 GB, free: 70.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.541e-05/3.096, allocations: 3.938 kB / 1.001 GB, free: 70.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005141/3.101, allocations: 0.5042 MB / 1.002 GB, free: 70.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02215/3.124, allocations: 3.615 MB / 1.005 GB, free: 67.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001076/3.125, allocations: 73.62 kB / 1.006 GB, free: 67.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0497/3.174, allocations: 19.8 MB / 1.025 GB, free: 50.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/3.174, allocations: 0 / 1.025 GB, free: 50.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04785/3.222, allocations: 14.36 MB / 1.039 GB, free: 39.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004739/3.227, allocations: 1.123 MB / 1.04 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/3.229, allocations: 67.56 kB / 1.04 GB, free: 37.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006571/3.236, allocations: 228.4 kB / 1.04 GB, free: 37.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/3.238, allocations: 227.8 kB / 1.04 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004415/3.238, allocations: 87.75 kB / 1.041 GB, free: 37.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01041/3.249, allocations: 3.787 MB / 1.044 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.71e-07/3.249, allocations: 0 / 1.044 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01237/3.261, allocations: 1.852 MB / 1.046 GB, free: 32.68 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 (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.04887/3.31, allocations: 15.2 MB / 1.061 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02441/3.334, allocations: 9.717 MB / 1.07 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/3.334, allocations: 0 / 1.07 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009799/3.344, allocations: 3.801 MB / 1.074 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006611/3.351, allocations: 0.7211 MB / 1.075 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5945/3.945, allocations: 191.2 MB / 1.262 GB, free: 17.75 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01286/3.958, allocations: 5.009 MB / 1.266 GB, free: 16.88 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01336/3.972, allocations: 2.803 MB / 1.269 GB, free: 16.64 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008065/3.98, allocations: 3.262 MB / 1.272 GB, free: 16.64 MB / 0.573 GB Notification: Performance of SimCode: time 1.273e-06/3.98, allocations: 0 / 1.272 GB, free: 16.64 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6994/4.679, allocations: 141.9 MB / 1.411 GB, free: 161.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/4.679, allocations: 208 kB / 1.411 GB, free: 161.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/13.18, allocations: 0 / 1.411 GB, free: 161.2 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat