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.001535/0.001535, allocations: 181.6 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.532/1.532, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.001693/0.001694, allocations: 117.4 kB / 247.4 MB, free: 6.215 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.196/0.196, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.616e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.4954, allocations: 98.25 MB / 0.5336 GB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4957, allocations: 80.95 kB / 0.5337 GB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1897/0.6855, allocations: 71.64 MB / 0.6037 GB, free: 2.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6855, allocations: 0 / 0.6037 GB, free: 2.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001332/0.6857, allocations: 64 kB / 0.6037 GB, free: 2.168 MB / 410.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.008936/0.6946, allocations: 3.259 MB / 0.6069 GB, free: 14.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6947, allocations: 8.031 kB / 0.6069 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/0.7117, allocations: 4.246 MB / 0.6111 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.7232, allocations: 4.2 MB / 0.6152 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.7234, allocations: 104 kB / 0.6153 GB, free: 6.227 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.7251, allocations: 188 kB / 0.6154 GB, free: 6.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008715/0.7338, allocations: 4.666 MB / 0.62 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/0.7464, allocations: 7.582 MB / 0.6274 GB, free: 8.836 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/0.7466, allocations: 59.47 kB / 0.6275 GB, free: 8.777 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004168/0.747, allocations: 31.98 kB / 0.6275 GB, free: 8.746 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001161/0.7482, allocations: 0.8095 MB / 0.6283 GB, free: 7.934 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04238/0.7906, allocations: 38.12 MB / 0.6655 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2839/1.075, allocations: 2.337 MB / 0.6678 GB, free: 122.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/1.076, allocations: 1.055 MB / 0.6688 GB, free: 122.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000389/1.076, allocations: 322.1 kB / 0.6691 GB, free: 122.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/1.077, allocations: 42.19 kB / 0.6692 GB, free: 122 MB / 474.7 MB Notification: Performance of pre-optimization done (n=120): time 3.526e-06/1.077, allocations: 0 / 0.6692 GB, free: 122 MB / 474.7 MB Notification: Performance of matching and sorting (n=150): time 0.02456/1.101, allocations: 10.48 MB / 0.6794 GB, free: 119.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/1.101, allocations: 196.5 kB / 0.6796 GB, free: 119.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/1.105, allocations: 2.795 MB / 0.6823 GB, free: 119.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/1.106, allocations: 25.7 kB / 0.6823 GB, free: 119.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/1.107, allocations: 2.741 MB / 0.685 GB, free: 118 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/1.107, allocations: 0.5692 MB / 0.6856 GB, free: 117.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.108, allocations: 0 / 0.6856 GB, free: 117.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000337/1.108, allocations: 0.543 MB / 0.6861 GB, free: 117.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/1.11, allocations: 1.558 MB / 0.6876 GB, free: 117.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003691/1.114, allocations: 5.11 MB / 0.6926 GB, free: 112.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/1.117, allocations: 2.832 MB / 0.6954 GB, free: 112.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.624e-05/1.117, allocations: 34.56 kB / 0.6954 GB, free: 112.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.01005/1.127, allocations: 6.008 MB / 0.7013 GB, free: 112.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/1.127, allocations: 64.45 kB / 0.7013 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/1.127, allocations: 130.6 kB / 0.7015 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007354/1.128, allocations: 345.3 kB / 0.7018 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/1.132, allocations: 1.311 MB / 0.7031 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.134, allocations: 2.597 MB / 0.7056 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/1.138, allocations: 182.9 kB / 0.7058 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000616/1.139, allocations: 353 kB / 0.7061 GB, free: 110.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 (700): * Single equations (assignments): 696 * 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.00075/1.14, allocations: 428.4 kB / 0.7065 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005975/1.14, allocations: 282.4 kB / 0.7068 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/1.143, allocations: 1.656 MB / 0.7084 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.143, allocations: 15.38 kB / 0.7084 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/1.143, allocations: 3.719 kB / 0.7084 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.143, allocations: 11.36 kB / 0.7085 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008688/1.152, allocations: 5.135 MB / 0.7135 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.152, allocations: 4.188 kB / 0.7135 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.153, allocations: 232.1 kB / 0.7137 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004106/1.153, allocations: 149.7 kB / 0.7138 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/1.154, allocations: 10.12 kB / 0.7138 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/1.155, allocations: 2.056 MB / 0.7159 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.155, allocations: 3.438 kB / 0.7159 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/1.159, allocations: 3.768 MB / 0.7195 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009607/1.16, allocations: 0.4993 MB / 0.72 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/1.161, allocations: 3.875 kB / 0.72 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.162, allocations: 45.64 kB / 0.7201 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.162, allocations: 77.83 kB / 0.7201 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/1.162, allocations: 40.09 kB / 0.7202 GB, free: 103.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00255/1.164, allocations: 1.856 MB / 0.722 GB, free: 102.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 3e-07/1.164, allocations: 0 / 0.722 GB, free: 102.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004831/1.169, allocations: 0.6876 MB / 0.7227 GB, free: 102.7 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 (121): * Single equations (assignments): 117 * 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.0004064/1.17, allocations: 144.6 kB / 0.7228 GB, free: 102.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005444/1.175, allocations: 3.771 MB / 0.7265 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.175, allocations: 0 / 0.7265 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/1.176, allocations: 1.072 MB / 0.7275 GB, free: 100.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/1.178, allocations: 280 kB / 0.7278 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.188, allocations: 5.884 MB / 0.7335 GB, free: 98.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/1.191, allocations: 2.833 MB / 0.7363 GB, free: 96.71 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004267/1.195, allocations: 1.771 MB / 0.738 GB, free: 95.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/1.196, allocations: 211.2 kB / 0.7382 GB, free: 95.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/1.196, allocations: 0 / 0.7382 GB, free: 95.41 MB / 474.7 MB Notification: Performance of Templates: time 0.04249/1.238, allocations: 23.93 MB / 0.7616 GB, free: 80.53 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)