Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004008/0.004013, allocations: 362.7 kB / 15.95 MB, free: 6.203 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 4.193/4.193, allocations: 388.9 MB / 405.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00355/0.00355, allocations: 232.8 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5323/0.5323, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007127/0.0007129, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1082, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5088/0.617, allocations: 99.87 MB / 0.7776 GB, free: 1.703 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.6173, allocations: 79 kB / 0.7777 GB, free: 1.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4062/1.024, allocations: 75.87 MB / 0.8518 GB, free: 13.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.221e-06/1.024, allocations: 0 / 0.8518 GB, free: 13.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002727/1.024, allocations: 75.88 kB / 0.8518 GB, free: 13.33 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.01682/1.041, allocations: 3.786 MB / 0.8555 GB, free: 9.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.041, allocations: 12.02 kB / 0.8555 GB, free: 9.469 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/1.07, allocations: 3.501 MB / 0.859 GB, free: 5.957 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/1.082, allocations: 3.368 MB / 0.8623 GB, free: 2.527 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004362/1.083, allocations: 271.1 kB / 0.8625 GB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/1.085, allocations: 363.8 kB / 0.8629 GB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/1.113, allocations: 9.093 MB / 0.8717 GB, free: 7.805 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/1.114, allocations: 59.41 kB / 0.8718 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/1.115, allocations: 179.9 kB / 0.872 GB, free: 7.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002102/1.117, allocations: 0.8805 MB / 0.8728 GB, free: 6.691 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02349/1.14, allocations: 7.255 MB / 0.8799 GB, free: 15.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4173/1.558, allocations: 44 MB / 0.9229 GB, free: 81.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/1.575, allocations: 3.488 MB / 0.9263 GB, free: 80.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00401/1.579, allocations: 1.606 MB / 0.9279 GB, free: 80.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01927/1.598, allocations: 7.144 MB / 0.9348 GB, free: 78.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/1.598, allocations: 54.19 kB / 0.9349 GB, free: 78.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 6.933e-06/1.598, allocations: 0 / 0.9349 GB, free: 78.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=184): time 0.1138/1.712, allocations: 19.54 MB / 0.954 GB, free: 75.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/1.712, allocations: 201.8 kB / 0.9542 GB, free: 75.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008709/1.721, allocations: 3.7 MB / 0.9578 GB, free: 75.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005227/1.722, allocations: 57.05 kB / 0.9578 GB, free: 75.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002943/1.725, allocations: 2.821 MB / 0.9606 GB, free: 73.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.726, allocations: 0.6958 MB / 0.9613 GB, free: 72.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007442/1.727, allocations: 114.7 kB / 0.9614 GB, free: 72.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004041/1.727, allocations: 0.5529 MB / 0.9619 GB, free: 72.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005442/1.732, allocations: 1.997 MB / 0.9639 GB, free: 71.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008195/1.741, allocations: 5.551 MB / 0.9693 GB, free: 65.97 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007697/1.748, allocations: 3.273 MB / 0.9725 GB, free: 64.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/1.749, allocations: 33.41 kB / 0.9725 GB, free: 64.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.03194/1.781, allocations: 9.126 MB / 0.9814 GB, free: 61.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.781, allocations: 59.66 kB / 0.9815 GB, free: 61.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/1.781, allocations: 126.8 kB / 0.9816 GB, free: 61.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.791, allocations: 1.594 MB / 0.9832 GB, free: 61.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008072/1.799, allocations: 1.281 MB / 0.9844 GB, free: 61.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02435/1.824, allocations: 9.297 MB / 0.9935 GB, free: 57.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006294/1.83, allocations: 312.7 kB / 0.9938 GB, free: 56.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.831, allocations: 363.4 kB / 0.9941 GB, free: 56.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (691): * Single equations (assignments): 687 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004403/1.836, allocations: 1.882 MB / 0.996 GB, free: 54.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000857/1.836, allocations: 331.7 kB / 0.9963 GB, free: 54.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/1.852, allocations: 3.925 MB / 1 GB, free: 51.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.065e-05/1.853, allocations: 20.86 kB / 1 GB, free: 51.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.853, allocations: 15.55 kB / 1 GB, free: 51.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-05/1.853, allocations: 6.703 kB / 1 GB, free: 51.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.88, allocations: 8.116 MB / 1.008 GB, free: 45.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/1.88, allocations: 7.938 kB / 1.008 GB, free: 45.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/1.882, allocations: 233.4 kB / 1.008 GB, free: 44.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008708/1.891, allocations: 1.288 MB / 1.01 GB, free: 44.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004346/1.891, allocations: 31.89 kB / 1.01 GB, free: 44.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01963/1.911, allocations: 7.556 MB / 1.017 GB, free: 37.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.911, allocations: 3.938 kB / 1.017 GB, free: 37.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02147/1.933, allocations: 6.247 MB / 1.023 GB, free: 32.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/1.935, allocations: 0.5992 MB / 1.024 GB, free: 31.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.936, allocations: 32.73 kB / 1.024 GB, free: 31.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/1.939, allocations: 97.42 kB / 1.024 GB, free: 31.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006535/1.94, allocations: 107.9 kB / 1.024 GB, free: 31.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/1.94, allocations: 41.17 kB / 1.024 GB, free: 31.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006038/1.946, allocations: 2.299 MB / 1.026 GB, free: 29.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.946, allocations: 0 / 1.026 GB, free: 29.51 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007228/1.953, allocations: 0.9659 MB / 1.027 GB, free: 28.55 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (129): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007986/1.954, allocations: 173.3 kB / 1.027 GB, free: 28.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01216/1.966, allocations: 4.997 MB / 1.032 GB, free: 23.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.966, allocations: 0 / 1.032 GB, free: 23.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004012/1.97, allocations: 1.634 MB / 1.034 GB, free: 21.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004826/1.975, allocations: 388 kB / 1.034 GB, free: 21.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/1.998, allocations: 9.727 MB / 1.044 GB, free: 11.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006634/2.005, allocations: 3.034 MB / 1.047 GB, free: 8.594 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008403/2.014, allocations: 1.814 MB / 1.048 GB, free: 6.777 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/2.015, allocations: 223.4 kB / 1.049 GB, free: 6.559 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/2.015, allocations: 0 / 1.049 GB, free: 6.559 MB / 474.7 MB Notification: Performance of Templates: time 0.1149/2.13, allocations: 36.03 MB / 1.084 GB, free: 3.074 MB / 0.4949 GB