Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00187/0.001871, allocations: 181.7 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.599/1.599, 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.001767/0.001767, allocations: 117 kB / 252.6 MB, free: 4.812 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.2038/0.2038, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.245e-05, allocations: 0 / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.08861, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.4749, allocations: 99.17 MB / 0.5413 GB, free: 8.559 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.4753, allocations: 73.97 kB / 0.5414 GB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1948/0.6701, allocations: 79.86 MB / 0.6194 GB, free: 272 kB / 426.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.6702, allocations: 0 / 0.6194 GB, free: 272 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001356/0.6703, allocations: 79.94 kB / 0.6195 GB, free: 192 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.009515/0.6799, allocations: 3.562 MB / 0.6229 GB, free: 12.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.6799, allocations: 11.97 kB / 0.623 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.694, allocations: 3.371 MB / 0.6262 GB, free: 9.164 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006664/0.7007, allocations: 2.329 MB / 0.6285 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002997/0.7011, allocations: 312 kB / 0.6288 GB, free: 6.477 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/0.7032, allocations: 395.9 kB / 0.6292 GB, free: 6.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/0.7245, allocations: 10.67 MB / 0.6396 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.7246, allocations: 47.56 kB / 0.6397 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006823/0.7253, allocations: 195.9 kB / 0.6398 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001448/0.7268, allocations: 1.135 MB / 0.641 GB, free: 9.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.7427, allocations: 9.287 MB / 0.65 GB, free: 15.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3056/1.048, allocations: 46.89 MB / 0.6958 GB, free: 83.31 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006341/1.055, allocations: 3.46 MB / 0.6992 GB, free: 82.03 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/1.057, allocations: 1.249 MB / 0.7004 GB, free: 81.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/1.067, allocations: 5.322 MB / 0.7056 GB, free: 80.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/1.068, allocations: 45.86 kB / 0.7057 GB, free: 80.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 4.389e-06/1.068, allocations: 3.719 kB / 0.7057 GB, free: 80.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=153): time 0.005542/1.073, allocations: 2.53 MB / 0.7081 GB, free: 80.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.073, allocations: 164.8 kB / 0.7083 GB, free: 79.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005596/1.079, allocations: 3.454 MB / 0.7117 GB, free: 79.54 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002688/1.079, allocations: 47.62 kB / 0.7117 GB, free: 79.51 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002238/1.081, allocations: 3.313 MB / 0.7149 GB, free: 77.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000795/1.082, allocations: 0.6214 MB / 0.7155 GB, free: 77.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/1.082, allocations: 129.7 kB / 0.7157 GB, free: 77.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003688/1.083, allocations: 0.5923 MB / 0.7163 GB, free: 77.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/1.085, allocations: 1.904 MB / 0.7181 GB, free: 77.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/1.09, allocations: 6.151 MB / 0.7241 GB, free: 71.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004724/1.095, allocations: 3.482 MB / 0.7275 GB, free: 71.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/1.095, allocations: 43.22 kB / 0.7276 GB, free: 71.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.0121/1.107, allocations: 7.686 MB / 0.7351 GB, free: 69.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/1.107, allocations: 74.22 kB / 0.7351 GB, free: 69.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/1.107, allocations: 151 kB / 0.7353 GB, free: 69.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/1.107, allocations: 220.1 kB / 0.7355 GB, free: 69.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004243/1.112, allocations: 1.508 MB / 0.737 GB, free: 69.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001784/1.112, allocations: 294.8 kB / 0.7372 GB, free: 69.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/1.116, allocations: 0.9385 MB / 0.7382 GB, free: 68.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.118, allocations: 406.9 kB / 0.7385 GB, free: 68.64 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (813): * Single equations (assignments): 807 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001396/1.119, allocations: 0.5897 MB / 0.7391 GB, free: 68.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/1.12, allocations: 316.2 kB / 0.7394 GB, free: 67.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/1.121, allocations: 423 kB / 0.7398 GB, free: 67.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-05/1.121, allocations: 39.75 kB / 0.7399 GB, free: 67.76 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/1.121, allocations: 3.938 kB / 0.7399 GB, free: 67.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/1.121, allocations: 10.66 kB / 0.7399 GB, free: 67.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009997/1.131, allocations: 5.746 MB / 0.7455 GB, free: 65.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/1.131, allocations: 7.875 kB / 0.7455 GB, free: 65.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/1.132, allocations: 215 kB / 0.7457 GB, free: 65.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/1.132, allocations: 15.44 kB / 0.7457 GB, free: 65.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/1.132, allocations: 30.81 kB / 0.7457 GB, free: 65.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/1.132, allocations: 18.47 kB / 0.7458 GB, free: 65.49 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.132, allocations: 7.344 kB / 0.7458 GB, free: 65.49 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/1.135, allocations: 3.214 MB / 0.7489 GB, free: 63.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006979/1.135, allocations: 393.8 kB / 0.7493 GB, free: 63.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/1.136, allocations: 25.06 kB / 0.7493 GB, free: 63.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.137, allocations: 70.52 kB / 0.7494 GB, free: 63.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.137, allocations: 91.56 kB / 0.7495 GB, free: 63.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/1.137, allocations: 45.84 kB / 0.7495 GB, free: 63.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003019/1.14, allocations: 2.341 MB / 0.7518 GB, free: 62.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.14, allocations: 0 / 0.7518 GB, free: 62.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004362/1.145, allocations: 1.133 MB / 0.7529 GB, free: 61.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003224/1.145, allocations: 153.1 kB / 0.753 GB, free: 61.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006248/1.151, allocations: 4.39 MB / 0.7573 GB, free: 60.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.151, allocations: 0 / 0.7573 GB, free: 60.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.152, allocations: 0.9559 MB / 0.7583 GB, free: 60.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.154, allocations: 322.2 kB / 0.7586 GB, free: 59.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/1.166, allocations: 7.114 MB / 0.7655 GB, free: 54.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002842/1.169, allocations: 3.356 MB / 0.7688 GB, free: 52.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004931/1.174, allocations: 2.276 MB / 0.771 GB, free: 50.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/1.174, allocations: 230.2 kB / 0.7712 GB, free: 50.59 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/1.174, allocations: 0 / 0.7712 GB, free: 50.59 MB / 474.7 MB Notification: Performance of Templates: time 0.04495/1.219, allocations: 24.26 MB / 0.7949 GB, free: 33.96 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1)