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.001654/0.001654, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.305/1.305, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001824/0.001824, allocations: 103.5 kB / 223.2 MB, free: 4.043 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.1731/0.1731, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.699e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0796/0.07965, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4061, allocations: 92.09 MB / 497.8 MB, free: 18.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4063, allocations: 73.91 kB / 497.9 MB, free: 18.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1757/0.5821, allocations: 72.96 MB / 0.5575 GB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.5821, allocations: 0 / 0.5575 GB, free: 14.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001232/0.5822, allocations: 64 kB / 0.5575 GB, free: 14.48 MB / 378.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.008352/0.5906, allocations: 3.255 MB / 0.5607 GB, free: 11.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.5906, allocations: 12.03 kB / 0.5607 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/0.6073, allocations: 4.239 MB / 0.5648 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.62, allocations: 4.216 MB / 0.569 GB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/0.6204, allocations: 246.5 kB / 0.5692 GB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/0.6224, allocations: 335.8 kB / 0.5695 GB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.6385, allocations: 8.208 MB / 0.5775 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001414/0.6387, allocations: 55.56 kB / 0.5776 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.6393, allocations: 163.9 kB / 0.5777 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001181/0.6405, allocations: 0.8134 MB / 0.5785 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.6528, allocations: 6.582 MB / 0.585 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2923/0.9451, allocations: 39.76 MB / 0.6238 GB, free: 70.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/0.9494, allocations: 2.246 MB / 0.626 GB, free: 70.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.9507, allocations: 1.061 MB / 0.627 GB, free: 70.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/0.9511, allocations: 322.4 kB / 0.6273 GB, free: 69.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.9512, allocations: 49.2 kB / 0.6274 GB, free: 69.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 4.318e-06/0.9512, allocations: 0 / 0.6274 GB, free: 69.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=141): time 0.02545/0.9767, allocations: 9.4 MB / 0.6365 GB, free: 67.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.9768, allocations: 194.4 kB / 0.6367 GB, free: 67.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005137/0.9819, allocations: 3.263 MB / 0.6399 GB, free: 67.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002523/0.9822, allocations: 46.67 kB / 0.64 GB, free: 67.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.9838, allocations: 2.694 MB / 0.6426 GB, free: 65.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.9844, allocations: 0.5531 MB / 0.6431 GB, free: 65.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.9845, allocations: 106.9 kB / 0.6432 GB, free: 65.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002861/0.9848, allocations: 0.5298 MB / 0.6438 GB, free: 65.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.9868, allocations: 1.59 MB / 0.6453 GB, free: 65.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003643/0.9905, allocations: 5.009 MB / 0.6502 GB, free: 60.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/0.9942, allocations: 2.829 MB / 0.653 GB, free: 60.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.406e-05/0.9943, allocations: 36.06 kB / 0.653 GB, free: 60.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.009548/1.004, allocations: 6.546 MB / 0.6594 GB, free: 60.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/1.004, allocations: 56.81 kB / 0.6594 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/1.004, allocations: 125.3 kB / 0.6596 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/1.005, allocations: 344.2 kB / 0.6599 GB, free: 60.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/1.008, allocations: 1.246 MB / 0.6611 GB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/1.011, allocations: 2.7 MB / 0.6637 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004796/1.016, allocations: 290.6 kB / 0.664 GB, free: 58.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008403/1.017, allocations: 334.5 kB / 0.6643 GB, free: 58.72 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 () * 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.0008437/1.017, allocations: 0.5141 MB / 0.6648 GB, free: 58.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006341/1.018, allocations: 315.7 kB / 0.6651 GB, free: 58.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/1.021, allocations: 1.689 MB / 0.6668 GB, free: 58.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/1.021, allocations: 18.05 kB / 0.6668 GB, free: 58.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.021, allocations: 3.281 kB / 0.6668 GB, free: 58.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.021, allocations: 7.453 kB / 0.6668 GB, free: 58.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00768/1.029, allocations: 5.369 MB / 0.6721 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.029, allocations: 3.688 kB / 0.6721 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.03, allocations: 216 kB / 0.6723 GB, free: 56.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/1.03, allocations: 159.2 kB / 0.6724 GB, free: 56.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.297e-05/1.03, allocations: 22.28 kB / 0.6724 GB, free: 56.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/1.032, allocations: 2.148 MB / 0.6745 GB, free: 54.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.032, allocations: 3.688 kB / 0.6745 GB, free: 54.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004115/1.036, allocations: 3.773 MB / 0.6782 GB, free: 52.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.038, allocations: 0.5319 MB / 0.6788 GB, free: 52.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/1.038, allocations: 23.72 kB / 0.6788 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.039, allocations: 63.08 kB / 0.6788 GB, free: 52.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/1.039, allocations: 82.28 kB / 0.6789 GB, free: 52.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/1.039, allocations: 43.17 kB / 0.679 GB, free: 52.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003093/1.042, allocations: 2.269 MB / 0.6812 GB, free: 51.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.042, allocations: 0 / 0.6812 GB, free: 51.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003677/1.046, allocations: 0.7949 MB / 0.6819 GB, free: 51.55 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 (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.0003244/1.046, allocations: 158.2 kB / 0.6821 GB, free: 51.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005121/1.052, allocations: 3.917 MB / 0.6859 GB, free: 50.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.052, allocations: 0 / 0.6859 GB, free: 50.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.053, allocations: 1.063 MB / 0.687 GB, free: 49.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.054, allocations: 344.6 kB / 0.6873 GB, free: 49.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.065, allocations: 5.896 MB / 0.693 GB, free: 47.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/1.068, allocations: 2.823 MB / 0.6958 GB, free: 44.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004078/1.072, allocations: 1.739 MB / 0.6975 GB, free: 43.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/1.072, allocations: 218.9 kB / 0.6977 GB, free: 43.69 MB / 426.7 MB Notification: Performance of SimCode: time 1.883e-06/1.072, allocations: 0 / 0.6977 GB, free: 43.69 MB / 426.7 MB Notification: Performance of Templates: time 0.05628/1.129, allocations: 26.86 MB / 0.7239 GB, free: 25.42 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)