Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.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.Distance2,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2") translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001286/0.001286, allocations: 180.5 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.426/1.426, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.00204/0.00204, allocations: 123.7 kB / 247.4 MB, free: 6.223 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.1951/0.1951, allocations: 39.95 MB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.445e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3836/0.489, allocations: 97.69 MB / 0.5331 GB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.4893, allocations: 73.97 kB / 0.5332 GB, free: 2.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2074/0.6967, allocations: 77.41 MB / 0.6088 GB, free: 12.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6967, allocations: 0 / 0.6088 GB, free: 12.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002212/0.697, allocations: 68 kB / 0.6088 GB, free: 12.89 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: 1364 * Number of variables: 1364 Notification: Performance of Generate backend data structure: time 0.01185/0.7088, allocations: 3.53 MB / 0.6123 GB, free: 9.297 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.7089, allocations: 15.97 kB / 0.6123 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/0.728, allocations: 4.32 MB / 0.6165 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.7406, allocations: 4.357 MB / 0.6208 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.7409, allocations: 120 kB / 0.6209 GB, free: 420 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/0.7427, allocations: 216 kB / 0.6211 GB, free: 204 kB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01102/0.7537, allocations: 5.219 MB / 0.6262 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/0.774, allocations: 8.327 MB / 0.6343 GB, free: 1.672 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003345/0.7744, allocations: 51.47 kB / 0.6344 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001904/0.7763, allocations: 32 kB / 0.6344 GB, free: 1.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001665/0.778, allocations: 0.9039 MB / 0.6353 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3468/1.125, allocations: 40.79 MB / 0.6751 GB, free: 91.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/1.128, allocations: 2.419 MB / 0.6775 GB, free: 90.72 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/1.13, allocations: 1.053 MB / 0.6785 GB, free: 90.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000464/1.13, allocations: 325.4 kB / 0.6788 GB, free: 90.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.13, allocations: 50.08 kB / 0.6788 GB, free: 90.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 4.559e-06/1.13, allocations: 0 / 0.6788 GB, free: 90.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=140): time 0.03056/1.161, allocations: 9.607 MB / 0.6882 GB, free: 88.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/1.161, allocations: 197.2 kB / 0.6884 GB, free: 87.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008659/1.169, allocations: 3.008 MB / 0.6914 GB, free: 87.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002554/1.17, allocations: 27.41 kB / 0.6914 GB, free: 87.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003382/1.173, allocations: 3.041 MB / 0.6943 GB, free: 86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007702/1.174, allocations: 0.5559 MB / 0.6949 GB, free: 85.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005751/1.174, allocations: 0 / 0.6949 GB, free: 85.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006789/1.175, allocations: 0.562 MB / 0.6954 GB, free: 85.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003317/1.179, allocations: 1.552 MB / 0.697 GB, free: 85.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00552/1.184, allocations: 5.516 MB / 0.7023 GB, free: 80.17 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005686/1.19, allocations: 2.935 MB / 0.7052 GB, free: 80.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002422/1.19, allocations: 40.72 kB / 0.7052 GB, free: 80.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01205/1.202, allocations: 6.28 MB / 0.7114 GB, free: 79.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/1.202, allocations: 68.28 kB / 0.7114 GB, free: 79.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000249/1.202, allocations: 144.2 kB / 0.7116 GB, free: 79.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007259/1.203, allocations: 372.5 kB / 0.7119 GB, free: 79.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00382/1.207, allocations: 1.401 MB / 0.7133 GB, free: 79.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/1.21, allocations: 2.636 MB / 0.7159 GB, free: 78.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004663/1.214, allocations: 191.7 kB / 0.7161 GB, free: 78.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009276/1.215, allocations: 388.6 kB / 0.7164 GB, free: 78.13 MB / 474.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.001296/1.217, allocations: 458.1 kB / 0.7169 GB, free: 77.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008191/1.217, allocations: 298.5 kB / 0.7172 GB, free: 77.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/1.22, allocations: 1.537 MB / 0.7187 GB, free: 77.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/1.22, allocations: 18.47 kB / 0.7187 GB, free: 77.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.22, allocations: 5.578 kB / 0.7187 GB, free: 77.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/1.221, allocations: 7.5 kB / 0.7187 GB, free: 77.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/1.231, allocations: 4.72 MB / 0.7233 GB, free: 75.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.231, allocations: 0.625 kB / 0.7233 GB, free: 75.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/1.232, allocations: 212.8 kB / 0.7235 GB, free: 75.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/1.232, allocations: 149 kB / 0.7236 GB, free: 75.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.232, allocations: 13.44 kB / 0.7237 GB, free: 75.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/1.234, allocations: 2.058 MB / 0.7257 GB, free: 73.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.234, allocations: 7.438 kB / 0.7257 GB, free: 73.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/1.238, allocations: 3.512 MB / 0.7291 GB, free: 72.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.239, allocations: 497.6 kB / 0.7296 GB, free: 71.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007612/1.24, allocations: 7.938 kB / 0.7296 GB, free: 71.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.242, allocations: 37.73 kB / 0.7296 GB, free: 71.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/1.242, allocations: 73.62 kB / 0.7297 GB, free: 71.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-05/1.242, allocations: 36.59 kB / 0.7297 GB, free: 71.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00364/1.246, allocations: 1.992 MB / 0.7317 GB, free: 71.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.246, allocations: 0 / 0.7317 GB, free: 71.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005608/1.251, allocations: 0.7209 MB / 0.7324 GB, free: 71.01 MB / 474.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.0004491/1.252, allocations: 140.9 kB / 0.7325 GB, free: 70.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006035/1.258, allocations: 3.774 MB / 0.7362 GB, free: 69.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.258, allocations: 0 / 0.7362 GB, free: 69.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.259, allocations: 0.9495 MB / 0.7371 GB, free: 69.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/1.261, allocations: 294.5 kB / 0.7374 GB, free: 69.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/1.277, allocations: 6.192 MB / 0.7434 GB, free: 66.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004456/1.282, allocations: 3.028 MB / 0.7464 GB, free: 64.24 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004806/1.287, allocations: 1.843 MB / 0.7482 GB, free: 63.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007405/1.287, allocations: 218.3 kB / 0.7484 GB, free: 62.89 MB / 474.7 MB Notification: Performance of SimCode: time 9.31e-07/1.287, allocations: 4 kB / 0.7484 GB, free: 62.89 MB / 474.7 MB Notification: Performance of Templates: time 0.04511/1.333, allocations: 24.11 MB / 0.772 GB, free: 48.09 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2.pipe 2>&1)