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.00124/0.001239, allocations: 181.1 kB / 12.74 MB, free: 2.582 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.52/1.52, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001623/0.001623, allocations: 114.9 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1835/0.1835, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.962e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09209, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3954/0.4875, allocations: 98.92 MB / 0.5411 GB, free: 8.859 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.4878, allocations: 78.33 kB / 0.5411 GB, free: 8.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1928/0.6806, allocations: 72.97 MB / 0.6124 GB, free: 7.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6806, allocations: 0 / 0.6124 GB, free: 7.594 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.6808, allocations: 60 kB / 0.6125 GB, free: 7.535 MB / 426.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.009366/0.6902, allocations: 3.263 MB / 0.6156 GB, free: 4.211 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.6902, allocations: 8.031 kB / 0.6157 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/0.7072, allocations: 4.246 MB / 0.6198 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/0.7191, allocations: 4.208 MB / 0.6239 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.7194, allocations: 246.5 kB / 0.6241 GB, free: 11.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/0.7209, allocations: 335.8 kB / 0.6245 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/0.7363, allocations: 8.211 MB / 0.6325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.7365, allocations: 51.56 kB / 0.6325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004881/0.737, allocations: 167.9 kB / 0.6327 GB, free: 1.727 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001019/0.738, allocations: 0.8173 MB / 0.6335 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.7507, allocations: 6.579 MB / 0.6399 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3119/1.063, allocations: 39.76 MB / 0.6787 GB, free: 88.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004606/1.067, allocations: 2.243 MB / 0.6809 GB, free: 88.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/1.069, allocations: 1.056 MB / 0.682 GB, free: 88.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/1.069, allocations: 323.9 kB / 0.6823 GB, free: 87.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.069, allocations: 47.52 kB / 0.6823 GB, free: 87.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=117): time 4.609e-06/1.069, allocations: 0 / 0.6823 GB, free: 87.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=141): time 0.02593/1.095, allocations: 9.412 MB / 0.6915 GB, free: 85.33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/1.095, allocations: 192.3 kB / 0.6917 GB, free: 85.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/1.1, allocations: 3.256 MB / 0.6949 GB, free: 84.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000208/1.1, allocations: 43.73 kB / 0.6949 GB, free: 84.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001472/1.101, allocations: 2.694 MB / 0.6976 GB, free: 83.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/1.102, allocations: 0.5574 MB / 0.6981 GB, free: 83.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/1.102, allocations: 104.9 kB / 0.6982 GB, free: 83.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/1.102, allocations: 0.5354 MB / 0.6987 GB, free: 82.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/1.104, allocations: 1.59 MB / 0.7003 GB, free: 82.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/1.107, allocations: 5.008 MB / 0.7052 GB, free: 78.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/1.11, allocations: 2.82 MB / 0.7079 GB, free: 78.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.652e-05/1.111, allocations: 39.81 kB / 0.708 GB, free: 78.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.009319/1.12, allocations: 6.537 MB / 0.7143 GB, free: 77.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/1.12, allocations: 55.72 kB / 0.7144 GB, free: 77.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/1.12, allocations: 126.4 kB / 0.7145 GB, free: 77.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006574/1.121, allocations: 344.7 kB / 0.7148 GB, free: 77.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/1.124, allocations: 1.236 MB / 0.716 GB, free: 77.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/1.127, allocations: 2.712 MB / 0.7187 GB, free: 76.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/1.131, allocations: 288.5 kB / 0.719 GB, free: 76.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008737/1.132, allocations: 337.9 kB / 0.7193 GB, free: 76.38 MB / 474.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.0008055/1.133, allocations: 0.5185 MB / 0.7198 GB, free: 76.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006111/1.134, allocations: 314.2 kB / 0.7201 GB, free: 75.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/1.136, allocations: 1.683 MB / 0.7217 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/1.137, allocations: 24.73 kB / 0.7218 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.137, allocations: 3.719 kB / 0.7218 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.137, allocations: 3.375 kB / 0.7218 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00889/1.145, allocations: 5.372 MB / 0.727 GB, free: 73.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.145, allocations: 3.812 kB / 0.727 GB, free: 73.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/1.147, allocations: 218.9 kB / 0.7272 GB, free: 73.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/1.147, allocations: 152.7 kB / 0.7274 GB, free: 73.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/1.147, allocations: 26.25 kB / 0.7274 GB, free: 73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/1.149, allocations: 2.141 MB / 0.7295 GB, free: 71.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/1.149, allocations: 3.469 kB / 0.7295 GB, free: 71.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/1.153, allocations: 3.775 MB / 0.7332 GB, free: 69.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.154, allocations: 0.5384 MB / 0.7337 GB, free: 69.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/1.155, allocations: 20.62 kB / 0.7337 GB, free: 69.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.156, allocations: 66.98 kB / 0.7338 GB, free: 69.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.156, allocations: 77.77 kB / 0.7339 GB, free: 69.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/1.156, allocations: 39.97 kB / 0.7339 GB, free: 69.17 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003378/1.159, allocations: 2.27 MB / 0.7361 GB, free: 68.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.159, allocations: 0 / 0.7361 GB, free: 68.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004578/1.164, allocations: 0.7941 MB / 0.7369 GB, free: 68.29 MB / 474.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.0003939/1.164, allocations: 161.8 kB / 0.7371 GB, free: 68.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005362/1.17, allocations: 3.913 MB / 0.7409 GB, free: 66.76 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.17, allocations: 0 / 0.7409 GB, free: 66.76 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/1.171, allocations: 1.063 MB / 0.7419 GB, free: 66.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.172, allocations: 347.9 kB / 0.7422 GB, free: 66.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008666/1.181, allocations: 5.901 MB / 0.748 GB, free: 63.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/1.183, allocations: 2.827 MB / 0.7508 GB, free: 60.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003782/1.187, allocations: 1.742 MB / 0.7525 GB, free: 59.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005711/1.188, allocations: 214 kB / 0.7527 GB, free: 59.53 MB / 474.7 MB Notification: Performance of SimCode: time 1.233e-06/1.188, allocations: 4 kB / 0.7527 GB, free: 59.52 MB / 474.7 MB Notification: Performance of Templates: time 0.05/1.238, allocations: 26.85 MB / 0.7789 GB, free: 40.7 MB / 474.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)