Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009201/0.0009203, allocations: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 230 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 88.41 kB / 280.9 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.04728/0.04728, allocations: 11.92 MB / 343.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.921e-05, allocations: 2.25 kB / 403.1 MB, free: 45.4 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08604, allocations: 53.36 MB / 456.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4359, allocations: 81.69 MB / 0.5256 GB, free: 16.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4362, allocations: 69.69 kB / 0.5256 GB, free: 16.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01184/0.4481, allocations: 4.454 MB / 0.53 GB, free: 16.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4481, allocations: 3.938 kB / 0.53 GB, free: 16.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.743e-05/0.4481, allocations: 9.875 kB / 0.53 GB, free: 16.27 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006359/0.4488, allocations: 0.5491 MB / 0.5305 GB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4488, allocations: 8.781 kB / 0.5305 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.4489, allocations: 32.22 kB / 0.5306 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.4492, allocations: 309.3 kB / 0.5309 GB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4493, allocations: 5.688 kB / 0.5309 GB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.4493, allocations: 13.66 kB / 0.5309 GB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003108/0.4496, allocations: 200.8 kB / 0.5311 GB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.45, allocations: 284 kB / 0.5313 GB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4501, allocations: 3.938 kB / 0.5313 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.4501, allocations: 1.125 kB / 0.5313 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4501, allocations: 6.109 kB / 0.5313 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.4509, allocations: 0.6813 MB / 0.532 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.4523, allocations: 0.5315 MB / 0.5325 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.4525, allocations: 162.8 kB / 0.5327 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.4525, allocations: 2.531 kB / 0.5327 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.4528, allocations: 233.2 kB / 0.5329 GB, free: 14.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.583e-06/0.4528, allocations: 0 / 0.5329 GB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.0005578/0.4534, allocations: 437.8 kB / 0.5333 GB, free: 14.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4534, allocations: 102.5 kB / 0.5334 GB, free: 14.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.4536, allocations: 203.6 kB / 0.5336 GB, free: 14.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.4536, allocations: 38.53 kB / 0.5337 GB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.4537, allocations: 158.8 kB / 0.5338 GB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.4538, allocations: 127.9 kB / 0.5339 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.4538, allocations: 4 kB / 0.5339 GB, free: 14.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.4539, allocations: 350.3 kB / 0.5343 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.4541, allocations: 185.9 kB / 0.5344 GB, free: 14.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.4544, allocations: 361.4 kB / 0.5348 GB, free: 14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.4548, allocations: 268.8 kB / 0.535 GB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4548, allocations: 1.062 kB / 0.5351 GB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007371/0.4555, allocations: 0.5834 MB / 0.5356 GB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4555, allocations: 11.78 kB / 0.5356 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.4556, allocations: 6.531 kB / 0.5356 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.4556, allocations: 9.375 kB / 0.5356 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.4559, allocations: 88.28 kB / 0.5357 GB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.4559, allocations: 17.69 kB / 0.5357 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.4561, allocations: 34.03 kB / 0.5358 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.4562, allocations: 26.91 kB / 0.5358 GB, free: 13.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.spaceMouseInput.buttons[16],spaceMouseInput.buttons[16],$PRE.spaceMouseInput.buttons[15],spaceMouseInput.buttons[15],$PRE.spaceMouseInput.buttons[14],spaceMouseInput.buttons[14],$PRE.spaceMouseInput.buttons[13],spaceMouseInput.buttons[13],$PRE.spaceMouseInput.buttons[12],spaceMouseInput.buttons[12],$PRE.spaceMouseInput.buttons[11],spaceMouseInput.buttons[11],$PRE.spaceMouseInput.buttons[10],spaceMouseInput.buttons[10],$PRE.spaceMouseInput.buttons[9],spaceMouseInput.buttons[9],$PRE.spaceMouseInput.buttons[8],spaceMouseInput.buttons[8],$PRE.spaceMouseInput.buttons[7],spaceMouseInput.buttons[7],$PRE.spaceMouseInput.buttons[6],spaceMouseInput.buttons[6],$PRE.spaceMouseInput.buttons[5],spaceMouseInput.buttons[5],$PRE.spaceMouseInput.buttons[4],spaceMouseInput.buttons[4],$PRE.spaceMouseInput.buttons[3],spaceMouseInput.buttons[3],$PRE.spaceMouseInput.buttons[2],spaceMouseInput.buttons[2],$PRE.spaceMouseInput.buttons[1],spaceMouseInput.buttons[1],$whenCondition1,$PRE.spaceMouseInput.AxesRaw[6],spaceMouseInput.AxesRaw[6],$PRE.spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[5],$PRE.spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[4],$PRE.spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[3],$PRE.spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[2],$PRE.spaceMouseInput.AxesRaw[1],spaceMouseInput.AxesRaw[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001138/0.4563, allocations: 171 kB / 0.536 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.4563, allocations: 25.62 kB / 0.536 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-05/0.4564, allocations: 32.23 kB / 0.536 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4564, allocations: 1 kB / 0.536 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.4564, allocations: 1.406 kB / 0.536 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4564, allocations: 9.828 kB / 0.536 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.4567, allocations: 298.7 kB / 0.5363 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4567, allocations: 2.188 kB / 0.5363 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.4569, allocations: 33.25 kB / 0.5364 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4569, allocations: 1.031 kB / 0.5364 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.4569, allocations: 6.203 kB / 0.5364 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4569, allocations: 2.859 kB / 0.5364 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4569, allocations: 1 kB / 0.5364 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.4578, allocations: 0.6617 MB / 0.537 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.4579, allocations: 106.6 kB / 0.5371 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.4579, allocations: 12.86 kB / 0.5371 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.458, allocations: 4.484 kB / 0.5371 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.4581, allocations: 17.05 kB / 0.5371 GB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4581, allocations: 9.328 kB / 0.5372 GB, free: 13.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.4582, allocations: 169 kB / 0.5373 GB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4582, allocations: 0 / 0.5373 GB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.4587, allocations: 79.38 kB / 0.5374 GB, free: 13.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (spaceMouseInput.firstOrder[1].y,spaceMouseInput.firstOrder[2].y,spaceMouseInput.firstOrder[3].y,spaceMouseInput.firstOrder[4].y,spaceMouseInput.firstOrder[5].y,spaceMouseInput.firstOrder[6].y) * Number of discrete variables: 23 ($whenCondition1,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16],spaceMouseInput.AxesRaw[1],spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[6]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 1 * 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.0004708/0.4591, allocations: 222 kB / 0.5376 GB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006232/0.4598, allocations: 443 kB / 0.538 GB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4598, allocations: 1.125 kB / 0.538 GB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.46, allocations: 195 kB / 0.5382 GB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.4603, allocations: 36.61 kB / 0.5382 GB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/0.4612, allocations: 0.5859 MB / 0.5388 GB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007384/0.4619, allocations: 0.8354 MB / 0.5396 GB, free: 28.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.4621, allocations: 80.12 kB / 0.5397 GB, free: 28.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.4622, allocations: 22.84 kB / 0.5397 GB, free: 28.01 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4622, allocations: 0 / 0.5397 GB, free: 28.01 MB / 378.7 MB Notification: Performance of Templates: time 0.00521/0.4674, allocations: 2.647 MB / 0.5423 GB, free: 27.77 MB / 378.7 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.pipe 2>&1)