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.006714/0.006714, allocations: 165.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.384/1.384, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001613/0.001613, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.31/0.31, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1106, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.4168, allocations: 92.19 MB / 0.492 GB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.417, allocations: 79.97 kB / 0.492 GB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1842/0.6012, allocations: 72.91 MB / 0.5632 GB, free: 7.598 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.6013, allocations: 0 / 0.5632 GB, free: 7.598 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001387/0.6014, allocations: 60 kB / 0.5633 GB, free: 7.539 MB / 410.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.01053/0.612, allocations: 3.497 MB / 0.5667 GB, free: 3.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.612, allocations: 11.97 kB / 0.5667 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.6289, allocations: 4.246 MB / 0.5709 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.6424, allocations: 4.224 MB / 0.575 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.6428, allocations: 246.5 kB / 0.5752 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.6447, allocations: 327.8 kB / 0.5755 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.66, allocations: 8.278 MB / 0.5836 GB, free: 1.629 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.6602, allocations: 55.47 kB / 0.5837 GB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/0.6607, allocations: 164.9 kB / 0.5838 GB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/0.6618, allocations: 0.8173 MB / 0.5846 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2379/0.8997, allocations: 6.691 MB / 0.5912 GB, free: 84.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03021/0.93, allocations: 39.77 MB / 0.63 GB, free: 58.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003947/0.934, allocations: 2.275 MB / 0.6322 GB, free: 57.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.9343, allocations: 329.4 kB / 0.6325 GB, free: 57.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.9343, allocations: 49.8 kB / 0.6326 GB, free: 57.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 3.587e-06/0.9343, allocations: 0 / 0.6326 GB, free: 57.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=141): time 0.03028/0.9646, allocations: 11.39 MB / 0.6437 GB, free: 54.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.9647, allocations: 197.9 kB / 0.6439 GB, free: 54.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004508/0.9692, allocations: 3.289 MB / 0.6471 GB, free: 53.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.9695, allocations: 42.45 kB / 0.6471 GB, free: 53.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.9712, allocations: 2.687 MB / 0.6498 GB, free: 51.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005911/0.9718, allocations: 0.5537 MB / 0.6503 GB, free: 50.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.972, allocations: 105.5 kB / 0.6504 GB, free: 50.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003013/0.9723, allocations: 0.5303 MB / 0.6509 GB, free: 50.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.9748, allocations: 1.64 MB / 0.6525 GB, free: 49.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003755/0.9786, allocations: 5.045 MB / 0.6575 GB, free: 44.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.9821, allocations: 2.847 MB / 0.6602 GB, free: 43.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-05/0.9821, allocations: 40.16 kB / 0.6603 GB, free: 43.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.008611/0.9908, allocations: 6.638 MB / 0.6668 GB, free: 41.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.9909, allocations: 61.53 kB / 0.6668 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.868e-05/0.9909, allocations: 120.7 kB / 0.6669 GB, free: 41.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.9916, allocations: 348.8 kB / 0.6673 GB, free: 41.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/0.9946, allocations: 1.243 MB / 0.6685 GB, free: 40.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.997, allocations: 2.745 MB / 0.6712 GB, free: 38.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/1.001, allocations: 294.8 kB / 0.6714 GB, free: 38.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003814/1.001, allocations: 331.2 kB / 0.6717 GB, free: 38.82 MB / 426.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.002387/1.003, allocations: 1.78 MB / 0.6735 GB, free: 37.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005017/1.004, allocations: 308.7 kB / 0.6738 GB, free: 37.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/1.006, allocations: 1.739 MB / 0.6755 GB, free: 37.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/1.006, allocations: 15.31 kB / 0.6755 GB, free: 37.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.006, allocations: 7.922 kB / 0.6755 GB, free: 37.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.007, allocations: 3.656 kB / 0.6755 GB, free: 37.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008655/1.015, allocations: 5.399 MB / 0.6808 GB, free: 34.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/1.015, allocations: 6.844 kB / 0.6808 GB, free: 34.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.016, allocations: 221.8 kB / 0.681 GB, free: 34.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/1.017, allocations: 157 kB / 0.6811 GB, free: 34.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.178e-05/1.017, allocations: 26.59 kB / 0.6812 GB, free: 34.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/1.019, allocations: 2.191 MB / 0.6833 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.019, allocations: 3.938 kB / 0.6833 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004316/1.023, allocations: 3.827 MB / 0.6871 GB, free: 31.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/1.024, allocations: 0.5354 MB / 0.6876 GB, free: 31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/1.025, allocations: 24.81 kB / 0.6876 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.026, allocations: 67.14 kB / 0.6877 GB, free: 30.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.026, allocations: 68.86 kB / 0.6877 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.559e-05/1.026, allocations: 47.67 kB / 0.6878 GB, free: 30.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003009/1.029, allocations: 2.299 MB / 0.69 GB, free: 30.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.029, allocations: 3.906 kB / 0.69 GB, free: 30.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004849/1.034, allocations: 0.7955 MB / 0.6908 GB, free: 30.07 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 () * 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.0003912/1.034, allocations: 152.2 kB / 0.6909 GB, free: 29.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005893/1.04, allocations: 3.987 MB / 0.6948 GB, free: 28.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/1.04, allocations: 0 / 0.6948 GB, free: 28.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/1.041, allocations: 1.091 MB / 0.6959 GB, free: 28.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.043, allocations: 353.3 kB / 0.6962 GB, free: 27.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/1.054, allocations: 8.515 MB / 0.7046 GB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/1.056, allocations: 2.822 MB / 0.7073 GB, free: 21.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003667/1.06, allocations: 1.748 MB / 0.709 GB, free: 20.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/1.06, allocations: 214 kB / 0.7092 GB, free: 20.41 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/1.06, allocations: 7.938 kB / 0.7092 GB, free: 20.4 MB / 426.7 MB Notification: Performance of Templates: time 0.04218/1.103, allocations: 26.83 MB / 0.7354 GB, free: 0.543 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)