Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001613/0.001613, allocations: 157.1 kB / 7.633 MB, free: 1.445 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.329/1.329, allocations: 170.7 MB / 178.7 MB, free: 7.031 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.001661/0.001661, allocations: 98.58 kB / 218 MB, free: 15.34 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.209/0.209, allocations: 37.98 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.417e-05/1.419e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3173, allocations: 48.69 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.4396, allocations: 91.88 MB / 490.6 MB, free: 7.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4398, allocations: 75.97 kB / 490.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.389/0.8288, allocations: 78.19 MB / 0.5555 GB, free: 97.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.8289, allocations: 0 / 0.5555 GB, free: 97.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001465/0.829, allocations: 68.84 kB / 0.5556 GB, free: 97.81 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.007717/0.8368, allocations: 3.558 MB / 0.5591 GB, free: 96.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.8368, allocations: 9.094 kB / 0.5591 GB, free: 96.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.8509, allocations: 3.378 MB / 0.5624 GB, free: 95.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005771/0.8567, allocations: 2.334 MB / 0.5647 GB, free: 95.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.8569, allocations: 138.8 kB / 0.5648 GB, free: 95.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.8583, allocations: 230.1 kB / 0.565 GB, free: 95.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01263/0.871, allocations: 6.685 MB / 0.5715 GB, free: 95.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01805/0.8891, allocations: 9.982 MB / 0.5813 GB, free: 92.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.8892, allocations: 43.59 kB / 0.5813 GB, free: 92.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005659/0.8898, allocations: 27.69 kB / 0.5814 GB, free: 92.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001228/0.891, allocations: 1.141 MB / 0.5825 GB, free: 92.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03838/0.9294, allocations: 45.87 MB / 0.6273 GB, free: 58.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.9323, allocations: 2.8 MB / 0.63 GB, free: 57.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.9335, allocations: 1.021 MB / 0.631 GB, free: 56.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.995e-05/0.9336, allocations: 21.81 kB / 0.631 GB, free: 56.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.9336, allocations: 50.97 kB / 0.6311 GB, free: 56.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.629e-06/0.9336, allocations: 0 / 0.6311 GB, free: 56.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=179): time 0.004079/0.9377, allocations: 2.393 MB / 0.6334 GB, free: 55.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.9378, allocations: 173.5 kB / 0.6336 GB, free: 55.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004641/0.9424, allocations: 3.103 MB / 0.6366 GB, free: 54.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.9426, allocations: 25.7 kB / 0.6366 GB, free: 54.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.9442, allocations: 3.357 MB / 0.6399 GB, free: 51.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/0.9448, allocations: 0.6975 MB / 0.6406 GB, free: 51.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.945, allocations: 0.6562 kB / 0.6406 GB, free: 51.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003586/0.9454, allocations: 0.659 MB / 0.6412 GB, free: 50.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.9475, allocations: 1.904 MB / 0.6431 GB, free: 49.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003715/0.9513, allocations: 6.434 MB / 0.6494 GB, free: 40.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/0.9554, allocations: 3.573 MB / 0.6529 GB, free: 37.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.558e-05/0.9555, allocations: 48 kB / 0.6529 GB, free: 37.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.01069/0.9662, allocations: 7.25 MB / 0.66 GB, free: 31.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/0.9663, allocations: 80.17 kB / 0.6601 GB, free: 31.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/0.9664, allocations: 171.3 kB / 0.6602 GB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.9666, allocations: 236 kB / 0.6604 GB, free: 30.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004093/0.9707, allocations: 1.61 MB / 0.662 GB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001518/0.9709, allocations: 323.6 kB / 0.6623 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004132/0.975, allocations: 0.8121 MB / 0.6631 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005111/0.9756, allocations: 440.2 kB / 0.6635 GB, free: 27.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * 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 (877): * Single equations (assignments): 871 * 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.0005929/0.9762, allocations: 0.4901 MB / 0.664 GB, free: 27.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/0.9766, allocations: 304 kB / 0.6643 GB, free: 27.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.979, allocations: 1.892 MB / 0.6662 GB, free: 25.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/0.9791, allocations: 39.89 kB / 0.6662 GB, free: 25.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.9791, allocations: 11.94 kB / 0.6662 GB, free: 25.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.9791, allocations: 7.406 kB / 0.6662 GB, free: 25.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008905/0.9881, allocations: 5.743 MB / 0.6718 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.9881, allocations: 8 kB / 0.6718 GB, free: 20.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.9892, allocations: 247.6 kB / 0.6721 GB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.147e-05/0.9893, allocations: 16.81 kB / 0.6721 GB, free: 20.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/0.9894, allocations: 15.98 kB / 0.6721 GB, free: 20.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/0.9894, allocations: 19.94 kB / 0.6721 GB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/0.9894, allocations: 19.89 kB / 0.6721 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.9925, allocations: 3.608 MB / 0.6757 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000821/0.9934, allocations: 376.5 kB / 0.676 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/0.9937, allocations: 11.98 kB / 0.676 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.9947, allocations: 47.92 kB / 0.6761 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.9949, allocations: 108.2 kB / 0.6762 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/0.995, allocations: 56.66 kB / 0.6762 GB, free: 15.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002701/0.9977, allocations: 2.027 MB / 0.6782 GB, free: 13.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9977, allocations: 0 / 0.6782 GB, free: 13.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005524/1.003, allocations: 1.012 MB / 0.6792 GB, free: 12.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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.0003997/1.004, allocations: 140.8 kB / 0.6793 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006417/1.01, allocations: 4.396 MB / 0.6836 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.01, allocations: 0 / 0.6836 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/1.011, allocations: 1.049 MB / 0.6847 GB, free: 7.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.013, allocations: 270.9 kB / 0.6849 GB, free: 6.738 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.026, allocations: 7.346 MB / 0.6921 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003765/1.03, allocations: 3.352 MB / 0.6954 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006069/1.036, allocations: 2.484 MB / 0.6978 GB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/1.037, allocations: 227.4 kB / 0.698 GB, free: 9.195 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/1.037, allocations: 0 / 0.698 GB, free: 9.195 MB / 426.7 MB Notification: Performance of Templates: time 0.252/1.289, allocations: 21.75 MB / 0.7192 GB, free: 94.41 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1)