Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 177.2 kB / 8.048 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.382/1.382, allocations: 221.5 MB / 230 MB, free: 7.531 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.0008953/0.0008953, allocations: 99.52 kB / 280.9 MB, free: 5.277 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.06739/0.06739, allocations: 11.92 MB / 343.6 MB, free: 3.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.337e-05, allocations: 2.531 kB / 403.1 MB, free: 45.4 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 53.36 MB / 456.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4607, allocations: 80.79 MB / 0.5247 GB, free: 16.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.4609, allocations: 74.47 kB / 0.5247 GB, free: 16.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004535/0.4654, allocations: 1.867 MB / 0.5266 GB, free: 16.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4655, allocations: 1.219 kB / 0.5266 GB, free: 16.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.4655, allocations: 5.906 kB / 0.5266 GB, free: 16.42 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000316/0.4658, allocations: 449.3 kB / 0.527 GB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4658, allocations: 9.719 kB / 0.527 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.4659, allocations: 18.09 kB / 0.527 GB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.4661, allocations: 201.4 kB / 0.5272 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4661, allocations: 2.312 kB / 0.5272 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.4662, allocations: 4.812 kB / 0.5272 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001457/0.4663, allocations: 79.7 kB / 0.5273 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.4668, allocations: 375.6 kB / 0.5277 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4668, allocations: 1.062 kB / 0.5277 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4668, allocations: 1.219 kB / 0.5277 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4668, allocations: 1.875 kB / 0.5277 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.4672, allocations: 286.5 kB / 0.5279 GB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.4674, allocations: 175.3 kB / 0.5281 GB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.4676, allocations: 126.8 kB / 0.5282 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.4676, allocations: 6.203 kB / 0.5282 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.4676, allocations: 42.02 kB / 0.5283 GB, free: 15.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.4676, allocations: 0 / 0.5283 GB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004052/0.4681, allocations: 218.4 kB / 0.5285 GB, free: 15.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.4681, allocations: 132.4 kB / 0.5286 GB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4682, allocations: 130.2 kB / 0.5287 GB, free: 14.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.4683, allocations: 30.8 kB / 0.5288 GB, free: 14.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.4683, allocations: 101.6 kB / 0.5289 GB, free: 14.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.4683, allocations: 23.58 kB / 0.5289 GB, free: 14.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.4683, allocations: 0 / 0.5289 GB, free: 14.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.4684, allocations: 332.7 kB / 0.5292 GB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.4685, allocations: 40.03 kB / 0.5292 GB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.4686, allocations: 237.7 kB / 0.5295 GB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4688, allocations: 91.72 kB / 0.5296 GB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4688, allocations: 2.25 kB / 0.5296 GB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003415/0.4691, allocations: 256.1 kB / 0.5298 GB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.4692, allocations: 61.39 kB / 0.5299 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4692, allocations: 17.97 kB / 0.5299 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.4692, allocations: 8.688 kB / 0.5299 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.4694, allocations: 58.58 kB / 0.5299 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4694, allocations: 13.48 kB / 0.53 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.4695, allocations: 18.05 kB / 0.53 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.4695, allocations: 20.28 kB / 0.53 GB, free: 14.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[16],spaceMouseInput.buttons[15],spaceMouseInput.buttons[14],spaceMouseInput.buttons[13],spaceMouseInput.buttons[12],spaceMouseInput.buttons[11],spaceMouseInput.buttons[10],spaceMouseInput.buttons[9],spaceMouseInput.buttons[8],spaceMouseInput.buttons[7],spaceMouseInput.buttons[6],spaceMouseInput.buttons[5],spaceMouseInput.buttons[4],spaceMouseInput.buttons[3],spaceMouseInput.buttons[2],spaceMouseInput.buttons[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * 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 9.705e-05/0.4696, allocations: 189.1 kB / 0.5302 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.4698, allocations: 206.3 kB / 0.5304 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.4699, allocations: 15.56 kB / 0.5304 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4699, allocations: 1.906 kB / 0.5304 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4699, allocations: 5.688 kB / 0.5304 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4699, allocations: 0.7969 kB / 0.5304 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.4701, allocations: 177.5 kB / 0.5306 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.4701, allocations: 6.094 kB / 0.5306 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.4701, allocations: 10.89 kB / 0.5306 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4702, allocations: 2.25 kB / 0.5306 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4702, allocations: 11.2 kB / 0.5306 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4702, allocations: 0.7031 kB / 0.5306 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4702, allocations: 1 kB / 0.5306 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.4705, allocations: 345 kB / 0.5309 GB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.4705, allocations: 99.75 kB / 0.531 GB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.4706, allocations: 11.66 kB / 0.531 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.4706, allocations: 5.344 kB / 0.531 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.4707, allocations: 5.25 kB / 0.531 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.4707, allocations: 3.406 kB / 0.531 GB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.4707, allocations: 100.5 kB / 0.5311 GB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4707, allocations: 3.375 kB / 0.5311 GB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.471, allocations: 32.31 kB / 0.5312 GB, free: 13.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,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]) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.002361/0.4734, allocations: 258.5 kB / 0.5314 GB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007517/0.4742, allocations: 297.2 kB / 0.5317 GB, free: 28.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4742, allocations: 0 / 0.5317 GB, free: 28.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.4743, allocations: 117.2 kB / 0.5318 GB, free: 28.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.4747, allocations: 181.6 kB / 0.532 GB, free: 28.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.4757, allocations: 487.4 kB / 0.5324 GB, free: 28.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4761, allocations: 0.7462 MB / 0.5332 GB, free: 27.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.734e-05/0.4762, allocations: 20.09 kB / 0.5332 GB, free: 27.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.4762, allocations: 13.47 kB / 0.5332 GB, free: 27.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4762, allocations: 5.438 kB / 0.5332 GB, free: 27.96 MB / 378.7 MB Notification: Performance of Templates: time 0.004506/0.4807, allocations: 1.653 MB / 0.5348 GB, free: 27.75 MB / 378.7 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe 2>&1)