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.00106/0.00106, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.437/1.437, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001524/0.001524, allocations: 115.4 kB / 218 MB, free: 8.398 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.1643/0.1643, allocations: 37.97 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.263e-05/1.265e-05, allocations: 2.406 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.08957, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5127, allocations: 90.87 MB / 489.6 MB, free: 17.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5129, allocations: 82.17 kB / 489.7 MB, free: 17.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1927/0.7057, allocations: 77.34 MB / 0.5537 GB, free: 4.203 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7058, allocations: 0 / 0.5537 GB, free: 4.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002309/0.706, allocations: 75.94 kB / 0.5538 GB, free: 4.129 MB / 362.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.01168/0.7177, allocations: 3.531 MB / 0.5572 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7178, allocations: 8.031 kB / 0.5573 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/0.7359, allocations: 4.328 MB / 0.5615 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.7486, allocations: 4.349 MB / 0.5657 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.7488, allocations: 120 kB / 0.5658 GB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.751, allocations: 216 kB / 0.566 GB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01064/0.7616, allocations: 5.215 MB / 0.5711 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.7756, allocations: 8.319 MB / 0.5793 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.7757, allocations: 59.45 kB / 0.5793 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/0.7761, allocations: 28 kB / 0.5793 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/0.7773, allocations: 0.9038 MB / 0.5802 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2758/1.053, allocations: 40.78 MB / 0.6201 GB, free: 72.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/1.056, allocations: 2.418 MB / 0.6224 GB, free: 71.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/1.057, allocations: 1.051 MB / 0.6234 GB, free: 71.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/1.057, allocations: 323.4 kB / 0.6237 GB, free: 71.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.058, allocations: 53.89 kB / 0.6238 GB, free: 71.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 4.628e-06/1.058, allocations: 0 / 0.6238 GB, free: 71.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.01822/1.076, allocations: 9.604 MB / 0.6332 GB, free: 69.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/1.076, allocations: 200 kB / 0.6334 GB, free: 68.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0052/1.081, allocations: 3.008 MB / 0.6363 GB, free: 68.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001829/1.081, allocations: 25.7 kB / 0.6363 GB, free: 68.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.083, allocations: 3.043 MB / 0.6393 GB, free: 67.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007243/1.084, allocations: 0.5491 MB / 0.6398 GB, free: 66.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/1.084, allocations: 0 / 0.6398 GB, free: 66.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003462/1.084, allocations: 0.5634 MB / 0.6404 GB, free: 66.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.086, allocations: 1.558 MB / 0.6419 GB, free: 66.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/1.09, allocations: 5.515 MB / 0.6473 GB, free: 61.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/1.093, allocations: 2.938 MB / 0.6502 GB, free: 61.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.93e-05/1.093, allocations: 40.41 kB / 0.6502 GB, free: 61.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.009951/1.103, allocations: 6.272 MB / 0.6563 GB, free: 60.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/1.103, allocations: 64.25 kB / 0.6564 GB, free: 60.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/1.103, allocations: 146.8 kB / 0.6565 GB, free: 60.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/1.104, allocations: 372.3 kB / 0.6569 GB, free: 60.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/1.108, allocations: 1.406 MB / 0.6583 GB, free: 60.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/1.11, allocations: 2.632 MB / 0.6608 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004352/1.115, allocations: 194.6 kB / 0.661 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009144/1.116, allocations: 388.6 kB / 0.6614 GB, free: 59.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * 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 (755): * Single equations (assignments): 751 * 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.0008238/1.116, allocations: 448 kB / 0.6618 GB, free: 58.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006728/1.117, allocations: 307.2 kB / 0.6621 GB, free: 58.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/1.12, allocations: 1.541 MB / 0.6636 GB, free: 58.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/1.12, allocations: 20.09 kB / 0.6636 GB, free: 58.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.12, allocations: 2.781 kB / 0.6636 GB, free: 58.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.12, allocations: 7.188 kB / 0.6636 GB, free: 58.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008306/1.128, allocations: 4.717 MB / 0.6682 GB, free: 57.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.128, allocations: 3.75 kB / 0.6683 GB, free: 57.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008899/1.129, allocations: 209 kB / 0.6684 GB, free: 57.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/1.129, allocations: 151.3 kB / 0.6686 GB, free: 57.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/1.129, allocations: 10.59 kB / 0.6686 GB, free: 57.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/1.131, allocations: 2.055 MB / 0.6706 GB, free: 55.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.131, allocations: 0 / 0.6706 GB, free: 55.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/1.135, allocations: 3.517 MB / 0.674 GB, free: 53.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.136, allocations: 0.4904 MB / 0.6745 GB, free: 53.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/1.136, allocations: 11.7 kB / 0.6745 GB, free: 53.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009222/1.137, allocations: 37.95 kB / 0.6746 GB, free: 53.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.137, allocations: 72.16 kB / 0.6746 GB, free: 53.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-05/1.137, allocations: 43.06 kB / 0.6747 GB, free: 53.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002667/1.14, allocations: 1.99 MB / 0.6766 GB, free: 52.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.14, allocations: 0 / 0.6766 GB, free: 52.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006884/1.147, allocations: 0.7187 MB / 0.6773 GB, free: 52.86 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 (109): * Single equations (assignments): 105 * 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.0005085/1.148, allocations: 137.5 kB / 0.6775 GB, free: 52.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005866/1.153, allocations: 3.767 MB / 0.6811 GB, free: 51.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.153, allocations: 0 / 0.6811 GB, free: 51.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.155, allocations: 0.9583 MB / 0.6821 GB, free: 51.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/1.157, allocations: 293.8 kB / 0.6824 GB, free: 50.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.168, allocations: 6.192 MB / 0.6884 GB, free: 48.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/1.171, allocations: 3.027 MB / 0.6914 GB, free: 47.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004325/1.175, allocations: 1.845 MB / 0.6932 GB, free: 46.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/1.176, allocations: 222.4 kB / 0.6934 GB, free: 46.54 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/1.176, allocations: 4 kB / 0.6934 GB, free: 46.54 MB / 426.7 MB Notification: Performance of Templates: time 0.04482/1.221, allocations: 24.08 MB / 0.7169 GB, free: 32.45 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)