Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001782/0.001782, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.269/1.269, allocations: 170.6 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001566/0.001566, allocations: 107.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1774/0.1774, allocations: 37.99 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.453e-05, allocations: 2.438 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07898/0.07901, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.3946, allocations: 91.44 MB / 490.2 MB, free: 17.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.3949, allocations: 75.84 kB / 490.2 MB, free: 17.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1732/0.5681, allocations: 71.62 MB / 0.5487 GB, free: 9.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5681, allocations: 0 / 0.5487 GB, free: 9.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.5683, allocations: 68 kB / 0.5488 GB, free: 9.375 MB / 362.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.009175/0.5775, allocations: 3.255 MB / 0.5519 GB, free: 6.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5775, allocations: 8.031 kB / 0.5519 GB, free: 6.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01771/0.5952, allocations: 4.243 MB / 0.5561 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.6061, allocations: 4.204 MB / 0.5602 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.6063, allocations: 104 kB / 0.5603 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.6074, allocations: 196 kB / 0.5605 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007972/0.6154, allocations: 4.666 MB / 0.565 GB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.6267, allocations: 7.571 MB / 0.5724 GB, free: 52 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.6268, allocations: 59.45 kB / 0.5725 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003645/0.6272, allocations: 28 kB / 0.5725 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001039/0.6282, allocations: 0.8134 MB / 0.5733 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04022/0.6685, allocations: 38.12 MB / 0.6105 GB, free: 7.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/0.6725, allocations: 2.334 MB / 0.6128 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/0.6747, allocations: 1.051 MB / 0.6138 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/0.6754, allocations: 327.9 kB / 0.6141 GB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.6755, allocations: 43.12 kB / 0.6142 GB, free: 3.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 5.891e-06/0.6756, allocations: 0 / 0.6142 GB, free: 3.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=150): time 0.3192/0.9947, allocations: 10.5 MB / 0.6244 GB, free: 102.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.9948, allocations: 192.7 kB / 0.6246 GB, free: 102.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/0.9989, allocations: 2.792 MB / 0.6273 GB, free: 102.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.9992, allocations: 28.88 kB / 0.6274 GB, free: 102.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/1.001, allocations: 2.739 MB / 0.6301 GB, free: 101 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00059/1.001, allocations: 0.5729 MB / 0.6306 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/1.002, allocations: 0.9062 kB / 0.6306 GB, free: 100.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003844/1.002, allocations: 0.5426 MB / 0.6311 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/1.005, allocations: 1.56 MB / 0.6327 GB, free: 100.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004456/1.009, allocations: 5.102 MB / 0.6376 GB, free: 95.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/1.014, allocations: 2.825 MB / 0.6404 GB, free: 95.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002343/1.014, allocations: 36.38 kB / 0.6404 GB, free: 95.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.01014/1.024, allocations: 6.019 MB / 0.6463 GB, free: 95.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/1.025, allocations: 60.66 kB / 0.6464 GB, free: 95.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002606/1.025, allocations: 128.9 kB / 0.6465 GB, free: 95.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008823/1.026, allocations: 352.1 kB / 0.6468 GB, free: 95.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/1.03, allocations: 1.302 MB / 0.6481 GB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/1.032, allocations: 2.605 MB / 0.6507 GB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/1.036, allocations: 190 kB / 0.6508 GB, free: 93.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005774/1.037, allocations: 346.8 kB / 0.6512 GB, free: 93.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 696 * 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.0008323/1.038, allocations: 426.9 kB / 0.6516 GB, free: 93.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006389/1.038, allocations: 280.9 kB / 0.6518 GB, free: 93.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/1.041, allocations: 1.661 MB / 0.6535 GB, free: 93.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/1.041, allocations: 16.84 kB / 0.6535 GB, free: 93.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.041, allocations: 3.531 kB / 0.6535 GB, free: 93.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.041, allocations: 7.312 kB / 0.6535 GB, free: 93.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009098/1.05, allocations: 5.13 MB / 0.6585 GB, free: 92.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.05, allocations: 7.781 kB / 0.6585 GB, free: 92.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.051, allocations: 230.2 kB / 0.6587 GB, free: 92.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/1.052, allocations: 147.6 kB / 0.6589 GB, free: 92.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/1.052, allocations: 18.56 kB / 0.6589 GB, free: 92.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/1.054, allocations: 2.053 MB / 0.6609 GB, free: 90.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.054, allocations: 0 / 0.6609 GB, free: 90.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004525/1.058, allocations: 3.754 MB / 0.6646 GB, free: 88.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.06, allocations: 0.5051 MB / 0.665 GB, free: 88.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007054/1.06, allocations: 3.156 kB / 0.665 GB, free: 88.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/1.062, allocations: 47.23 kB / 0.6651 GB, free: 88.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.062, allocations: 78.3 kB / 0.6652 GB, free: 88.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.243e-05/1.062, allocations: 44.8 kB / 0.6652 GB, free: 88.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003843/1.066, allocations: 1.853 MB / 0.667 GB, free: 87.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.066, allocations: 0 / 0.667 GB, free: 87.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006113/1.072, allocations: 0.6872 MB / 0.6677 GB, free: 87.65 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 117 * 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.0004486/1.072, allocations: 138 kB / 0.6678 GB, free: 87.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005958/1.078, allocations: 3.773 MB / 0.6715 GB, free: 86.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.078, allocations: 0 / 0.6715 GB, free: 86.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.08, allocations: 1.058 MB / 0.6725 GB, free: 85.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/1.083, allocations: 284.7 kB / 0.6728 GB, free: 85.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/1.097, allocations: 5.899 MB / 0.6786 GB, free: 83.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003757/1.101, allocations: 2.826 MB / 0.6813 GB, free: 82.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00451/1.105, allocations: 1.77 MB / 0.6831 GB, free: 82.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007764/1.106, allocations: 211.8 kB / 0.6833 GB, free: 82.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/1.106, allocations: 0 / 0.6833 GB, free: 82.12 MB / 426.7 MB Notification: Performance of Templates: time 0.04452/1.151, allocations: 23.92 MB / 0.7066 GB, free: 70.84 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1)