Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01201/0.01201, allocations: 174.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.538/1.538, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001721/0.001721, allocations: 124.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1946/0.1946, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 10.69 kB / 406.1 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1468, allocations: 54.88 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.525/0.6718, allocations: 99.01 MB / 0.5469 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.6722, allocations: 77.25 kB / 0.547 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.169/0.8412, allocations: 72.92 MB / 0.6182 GB, free: 7.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.057e-06/0.8412, allocations: 0 / 0.6182 GB, free: 7.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001453/0.8414, allocations: 63.94 kB / 0.6183 GB, free: 7.762 MB / 394.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.01047/0.8518, allocations: 3.491 MB / 0.6217 GB, free: 4.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.8519, allocations: 8.031 kB / 0.6217 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/0.8688, allocations: 4.245 MB / 0.6258 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.8817, allocations: 4.227 MB / 0.6299 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.882, allocations: 249.8 kB / 0.6302 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/0.8837, allocations: 333.9 kB / 0.6305 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.899, allocations: 8.278 MB / 0.6386 GB, free: 3.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.8992, allocations: 59.47 kB / 0.6386 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004846/0.8997, allocations: 170.3 kB / 0.6388 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001105/0.9008, allocations: 0.8095 MB / 0.6396 GB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.913, allocations: 6.704 MB / 0.6461 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04744/0.9605, allocations: 39.77 MB / 0.685 GB, free: 3.145 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005042/0.9656, allocations: 2.272 MB / 0.6872 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.9662, allocations: 319.7 kB / 0.6875 GB, free: 368 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.9662, allocations: 51.06 kB / 0.6876 GB, free: 308 kB / 458.7 MB Notification: Performance of pre-optimization done (n=117): time 5.27e-06/0.9663, allocations: 0 / 0.6876 GB, free: 308 kB / 458.7 MB Notification: Performance of matching and sorting (n=141): time 0.03761/1.004, allocations: 11.38 MB / 0.6987 GB, free: 4.719 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.004, allocations: 192.6 kB / 0.6989 GB, free: 4.488 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007434/1.011, allocations: 3.288 MB / 0.7021 GB, free: 1.207 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003299/1.012, allocations: 45.7 kB / 0.7021 GB, free: 1.156 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00264/1.015, allocations: 2.69 MB / 0.7047 GB, free: 14.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008584/1.015, allocations: 0.5555 MB / 0.7053 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005643/1.016, allocations: 108 kB / 0.7054 GB, free: 13.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005831/1.017, allocations: 0.5332 MB / 0.7059 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/1.02, allocations: 1.634 MB / 0.7075 GB, free: 11.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006263/1.026, allocations: 5.051 MB / 0.7124 GB, free: 4.797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/1.031, allocations: 2.844 MB / 0.7152 GB, free: 1.953 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.18e-05/1.031, allocations: 36 kB / 0.7152 GB, free: 1.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.3041/1.335, allocations: 6.626 MB / 0.7217 GB, free: 122.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/1.335, allocations: 59.09 kB / 0.7218 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002686/1.336, allocations: 123.9 kB / 0.7219 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009389/1.337, allocations: 351.6 kB / 0.7222 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004552/1.341, allocations: 1.237 MB / 0.7234 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/1.344, allocations: 2.756 MB / 0.7261 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004198/1.348, allocations: 289.4 kB / 0.7264 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007523/1.349, allocations: 337.3 kB / 0.7267 GB, free: 121 MB / 490.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.003671/1.353, allocations: 1.763 MB / 0.7284 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000631/1.353, allocations: 308.1 kB / 0.7287 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/1.357, allocations: 1.74 MB / 0.7304 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.419e-05/1.357, allocations: 16.28 kB / 0.7304 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.357, allocations: 2.969 kB / 0.7305 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.357, allocations: 10.88 kB / 0.7305 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/1.367, allocations: 5.404 MB / 0.7357 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.368, allocations: 0 / 0.7357 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.369, allocations: 224.6 kB / 0.736 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/1.369, allocations: 155.7 kB / 0.7361 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.599e-05/1.369, allocations: 28.05 kB / 0.7361 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/1.371, allocations: 2.193 MB / 0.7383 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.371, allocations: 0 / 0.7383 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/1.376, allocations: 3.835 MB / 0.742 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/1.378, allocations: 0.5332 MB / 0.7425 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/1.378, allocations: 25.06 kB / 0.7426 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.38, allocations: 62.77 kB / 0.7426 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/1.38, allocations: 77.61 kB / 0.7427 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.38, allocations: 39.88 kB / 0.7427 GB, free: 117.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00384/1.384, allocations: 2.298 MB / 0.745 GB, free: 117.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.384, allocations: 0 / 0.745 GB, free: 117.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005424/1.389, allocations: 0.8071 MB / 0.7458 GB, free: 117.8 MB / 490.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.000374/1.39, allocations: 147.1 kB / 0.7459 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006238/1.396, allocations: 4 MB / 0.7498 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.396, allocations: 0 / 0.7498 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.397, allocations: 1.081 MB / 0.7509 GB, free: 117.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/1.399, allocations: 343.7 kB / 0.7512 GB, free: 117.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.413, allocations: 8.53 MB / 0.7595 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/1.416, allocations: 2.823 MB / 0.7623 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004204/1.42, allocations: 1.741 MB / 0.764 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005937/1.42, allocations: 219.1 kB / 0.7642 GB, free: 111.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.42, allocations: 0 / 0.7642 GB, free: 111.9 MB / 490.7 MB Notification: Performance of Templates: time 0.05855/1.479, allocations: 26.84 MB / 0.7904 GB, free: 106.9 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1)