Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.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.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005647/0.005653, allocations: 358.5 kB / 15.95 MB, free: 6.207 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.073/4.073, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003712/0.003711, allocations: 219.4 kB / 451 MB, free: 144.9 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.5931/0.5931, allocations: 80.02 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006764/0.0006766, allocations: 8 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1334, allocations: 54.85 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5016/0.6351, allocations: 99.02 MB / 0.7768 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004183/0.6356, allocations: 78.16 kB / 0.7768 GB, free: 2.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.353/0.9886, allocations: 72.46 MB / 0.8476 GB, free: 1.641 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.9886, allocations: 0 / 0.8476 GB, free: 1.641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002234/0.9889, allocations: 64 kB / 0.8477 GB, free: 1.578 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: 1216 * Number of variables: 1216 Notification: Performance of Generate backend data structure: time 0.01444/1.003, allocations: 3.445 MB / 0.851 GB, free: 14.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.003, allocations: 8.031 kB / 0.851 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02787/1.031, allocations: 3.419 MB / 0.8544 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/1.042, allocations: 3.108 MB / 0.8574 GB, free: 7.484 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000407/1.043, allocations: 250.4 kB / 0.8577 GB, free: 7.238 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/1.045, allocations: 335.8 kB / 0.858 GB, free: 6.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02465/1.069, allocations: 8.258 MB / 0.866 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002337/1.07, allocations: 55.45 kB / 0.8661 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/1.071, allocations: 167.9 kB / 0.8663 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002097/1.073, allocations: 0.8095 MB / 0.867 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/1.094, allocations: 6.667 MB / 0.8736 GB, free: 5.977 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4324/1.527, allocations: 39.72 MB / 0.9123 GB, free: 87.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008337/1.535, allocations: 2.273 MB / 0.9146 GB, free: 86.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/1.538, allocations: 1.08 MB / 0.9156 GB, free: 86.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/1.538, allocations: 325.4 kB / 0.9159 GB, free: 86.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.538, allocations: 44.34 kB / 0.916 GB, free: 86.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=117): time 4.829e-06/1.538, allocations: 0 / 0.916 GB, free: 86.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=141): time 0.06518/1.604, allocations: 11.34 MB / 0.927 GB, free: 84.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.839e-05/1.604, allocations: 200.2 kB / 0.9272 GB, free: 83.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00846/1.612, allocations: 3.684 MB / 0.9308 GB, free: 83.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/1.613, allocations: 41.86 kB / 0.9309 GB, free: 83.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002706/1.615, allocations: 2.689 MB / 0.9335 GB, free: 82.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009185/1.616, allocations: 0.5572 MB / 0.934 GB, free: 82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006315/1.617, allocations: 109.9 kB / 0.9341 GB, free: 82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004019/1.617, allocations: 0.5278 MB / 0.9347 GB, free: 81.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00423/1.622, allocations: 1.637 MB / 0.9363 GB, free: 81.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006938/1.629, allocations: 5.074 MB / 0.9412 GB, free: 77.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006498/1.635, allocations: 2.835 MB / 0.944 GB, free: 77.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001485/1.635, allocations: 37.22 kB / 0.944 GB, free: 77.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01862/1.654, allocations: 6.631 MB / 0.9505 GB, free: 76.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.654, allocations: 64.61 kB / 0.9506 GB, free: 76.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002386/1.654, allocations: 125.2 kB / 0.9507 GB, free: 76.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/1.656, allocations: 344.1 kB / 0.951 GB, free: 76.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007533/1.663, allocations: 1.241 MB / 0.9522 GB, free: 76.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00432/1.668, allocations: 2.711 MB / 0.9549 GB, free: 74.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006083/1.674, allocations: 288.5 kB / 0.9551 GB, free: 74.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/1.675, allocations: 341 kB / 0.9555 GB, free: 74.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 24 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (664): * Single equations (assignments): 660 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005092/1.68, allocations: 1.775 MB / 0.9572 GB, free: 73.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/1.682, allocations: 311.1 kB / 0.9575 GB, free: 73.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009367/1.691, allocations: 1.73 MB / 0.9592 GB, free: 72.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-05/1.691, allocations: 22.22 kB / 0.9592 GB, free: 72.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/1.691, allocations: 3.5 kB / 0.9592 GB, free: 72.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.414e-05/1.691, allocations: 7.078 kB / 0.9592 GB, free: 72.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02566/1.717, allocations: 5.402 MB / 0.9645 GB, free: 70.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/1.717, allocations: 5.562 kB / 0.9645 GB, free: 70.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003453/1.721, allocations: 221 kB / 0.9647 GB, free: 70.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/1.722, allocations: 154.2 kB / 0.9649 GB, free: 70.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000473/1.723, allocations: 30.91 kB / 0.9649 GB, free: 70.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005049/1.728, allocations: 2.158 MB / 0.967 GB, free: 68.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.728, allocations: 3.812 kB / 0.967 GB, free: 68.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.741, allocations: 3.702 MB / 0.9706 GB, free: 66.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/1.744, allocations: 0.5287 MB / 0.9711 GB, free: 66.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/1.746, allocations: 23.81 kB / 0.9711 GB, free: 66.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004112/1.75, allocations: 68.8 kB / 0.9712 GB, free: 66.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006013/1.75, allocations: 80.06 kB / 0.9713 GB, free: 66.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/1.751, allocations: 41.16 kB / 0.9713 GB, free: 66.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009193/1.76, allocations: 2.297 MB / 0.9736 GB, free: 65.58 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.502e-06/1.76, allocations: 0 / 0.9736 GB, free: 65.58 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009714/1.77, allocations: 0.8021 MB / 0.9744 GB, free: 65.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (112): * Single equations (assignments): 108 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008063/1.771, allocations: 160.3 kB / 0.9745 GB, free: 65.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01511/1.786, allocations: 3.971 MB / 0.9784 GB, free: 63.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.786, allocations: 3.562 kB / 0.9784 GB, free: 63.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002393/1.788, allocations: 1.087 MB / 0.9795 GB, free: 63.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/1.792, allocations: 363 kB / 0.9798 GB, free: 63.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/1.813, allocations: 8.561 MB / 0.9882 GB, free: 57.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004094/1.817, allocations: 2.818 MB / 0.9909 GB, free: 55.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00736/1.825, allocations: 1.744 MB / 0.9926 GB, free: 54.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.826, allocations: 218.4 kB / 0.9928 GB, free: 54.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.433e-06/1.826, allocations: 0 / 0.9928 GB, free: 54.13 MB / 474.7 MB Notification: Performance of Templates: time 0.0794/1.905, allocations: 26.91 MB / 1.019 GB, free: 33.66 MB / 474.7 MB