Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.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.Distance2,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2") translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0014/0.0014, 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.263/1.263, 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.001561/0.001561, allocations: 103.5 kB / 223.2 MB, free: 4.047 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.1681/0.1681, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.721e-05, allocations: 7.984 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08787/0.08791, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3537/0.4416, allocations: 91.54 MB / 497.2 MB, free: 18.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.4419, allocations: 74.73 kB / 497.3 MB, free: 18.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.187/0.6289, allocations: 78.89 MB / 0.5627 GB, free: 9.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.629, allocations: 3.984 kB / 0.5627 GB, free: 9.121 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001535/0.6291, allocations: 72 kB / 0.5628 GB, free: 9.051 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: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.01189/0.641, allocations: 3.527 MB / 0.5662 GB, free: 5.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.6411, allocations: 12.03 kB / 0.5662 GB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/0.6583, allocations: 4.324 MB / 0.5704 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.6707, allocations: 4.357 MB / 0.5747 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.6711, allocations: 279.3 kB / 0.575 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.6731, allocations: 367.8 kB / 0.5753 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.6907, allocations: 9.031 MB / 0.5841 GB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/0.691, allocations: 59.5 kB / 0.5842 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007842/0.6918, allocations: 179.9 kB / 0.5844 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/0.693, allocations: 0.8884 MB / 0.5852 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.7077, allocations: 7.257 MB / 0.5923 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2796/0.9873, allocations: 42.64 MB / 0.634 GB, free: 65.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.9918, allocations: 2.5 MB / 0.6364 GB, free: 64.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.9931, allocations: 1.062 MB / 0.6374 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/0.9934, allocations: 326.4 kB / 0.6377 GB, free: 64.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.9934, allocations: 47.91 kB / 0.6378 GB, free: 64.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=119): time 4.979e-06/0.9934, allocations: 0 / 0.6378 GB, free: 64.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.01807/1.012, allocations: 7.472 MB / 0.6451 GB, free: 61.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/1.012, allocations: 199 kB / 0.6453 GB, free: 61.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005124/1.017, allocations: 3.467 MB / 0.6487 GB, free: 61.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/1.017, allocations: 43.77 kB / 0.6487 GB, free: 61.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.019, allocations: 2.963 MB / 0.6516 GB, free: 59.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006322/1.02, allocations: 0.5427 MB / 0.6521 GB, free: 59.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/1.02, allocations: 115.1 kB / 0.6522 GB, free: 59.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003061/1.02, allocations: 0.5506 MB / 0.6528 GB, free: 59.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/1.022, allocations: 1.592 MB / 0.6543 GB, free: 59.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/1.026, allocations: 5.381 MB / 0.6596 GB, free: 54.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/1.03, allocations: 2.932 MB / 0.6625 GB, free: 54.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.635e-05/1.03, allocations: 35.5 kB / 0.6625 GB, free: 54.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01102/1.041, allocations: 6.84 MB / 0.6692 GB, free: 53.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/1.041, allocations: 63.41 kB / 0.6692 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/1.041, allocations: 136.4 kB / 0.6694 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007676/1.042, allocations: 358.1 kB / 0.6697 GB, free: 53.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/1.046, allocations: 1.33 MB / 0.671 GB, free: 53.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/1.048, allocations: 2.736 MB / 0.6737 GB, free: 52.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004193/1.053, allocations: 302 kB / 0.674 GB, free: 52.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005494/1.053, allocations: 367.9 kB / 0.6743 GB, free: 52.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 28 (LessEqualThreshold1.y,distance2.arrowColor[3],distance2.arrowColor[2],distance2.arrowColor[1],distance1.arrowColor[3],distance1.arrowColor[2],distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (715): * Single equations (assignments): 711 * 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.0007396/1.054, allocations: 0.5541 MB / 0.6748 GB, free: 51.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000611/1.055, allocations: 323.5 kB / 0.6752 GB, free: 51.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/1.057, allocations: 1.559 MB / 0.6767 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/1.057, allocations: 14.09 kB / 0.6767 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.057, allocations: 3.938 kB / 0.6767 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.057, allocations: 6.656 kB / 0.6767 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008745/1.066, allocations: 5.217 MB / 0.6818 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.066, allocations: 0 / 0.6818 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008373/1.067, allocations: 192.4 kB / 0.682 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/1.067, allocations: 163.7 kB / 0.6821 GB, free: 49.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/1.067, allocations: 19.34 kB / 0.6822 GB, free: 49.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/1.069, allocations: 2.145 MB / 0.6843 GB, free: 48.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.069, allocations: 7.344 kB / 0.6843 GB, free: 48.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/1.073, allocations: 3.528 MB / 0.6877 GB, free: 46.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.074, allocations: 0.5218 MB / 0.6882 GB, free: 46.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/1.074, allocations: 23.38 kB / 0.6882 GB, free: 46.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.075, allocations: 60.11 kB / 0.6883 GB, free: 46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.076, allocations: 73.72 kB / 0.6884 GB, free: 45.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/1.076, allocations: 38.05 kB / 0.6884 GB, free: 45.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003122/1.079, allocations: 2.397 MB / 0.6907 GB, free: 45.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.079, allocations: 3.469 kB / 0.6907 GB, free: 45.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004145/1.083, allocations: 0.8434 MB / 0.6916 GB, free: 45.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (Revolute1.phi,Revolute1.w) * Number of discrete variables: 1 (LessEqualThreshold1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * 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.0003397/1.083, allocations: 151.6 kB / 0.6917 GB, free: 44.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005319/1.089, allocations: 3.924 MB / 0.6955 GB, free: 43.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.089, allocations: 0 / 0.6955 GB, free: 43.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/1.09, allocations: 0.9559 MB / 0.6965 GB, free: 43.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/1.092, allocations: 367 kB / 0.6968 GB, free: 42.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.102, allocations: 6.195 MB / 0.7029 GB, free: 40.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/1.104, allocations: 3.017 MB / 0.7058 GB, free: 38.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004043/1.108, allocations: 1.809 MB / 0.7076 GB, free: 37.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/1.109, allocations: 230.9 kB / 0.7078 GB, free: 37.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/1.109, allocations: 0 / 0.7078 GB, free: 37.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04802/1.157, allocations: 27.27 MB / 0.7344 GB, free: 19.63 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance2.pipe 2>&1)