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.00165/0.00165, allocations: 181.9 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.4 MB / 235.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008689/0.0008688, allocations: 100.2 kB / 286.1 MB, free: 13 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.05457/0.05457, allocations: 11.89 MB / 348.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.014e-05, allocations: 4 kB / 410.1 MB, free: 58.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 53.35 MB / 463.5 MB, free: 4.918 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.5123, allocations: 81.46 MB / 0.5321 GB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.5126, allocations: 76.83 kB / 0.5322 GB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004853/0.5174, allocations: 1.854 MB / 0.534 GB, free: 128 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5175, allocations: 0 / 0.534 GB, free: 128 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.5175, allocations: 11.94 kB / 0.534 GB, free: 116 kB / 346.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.0004073/0.5179, allocations: 444 kB / 0.5345 GB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.518, allocations: 15.97 kB / 0.5345 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.518, allocations: 15.81 kB / 0.5345 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.5183, allocations: 203 kB / 0.5347 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.5183, allocations: 4 kB / 0.5347 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.5184, allocations: 15.36 kB / 0.5347 GB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.5189, allocations: 386.9 kB / 0.5351 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5189, allocations: 0 / 0.5351 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.5189, allocations: 0 / 0.5351 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5189, allocations: 4 kB / 0.5351 GB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.959e-05/0.519, allocations: 76.47 kB / 0.5351 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.5195, allocations: 329.2 kB / 0.5355 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.5197, allocations: 184.3 kB / 0.5356 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.5199, allocations: 132 kB / 0.5358 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.5199, allocations: 4 kB / 0.5358 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5199, allocations: 34.59 kB / 0.5358 GB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.472e-06/0.5199, allocations: 0 / 0.5358 GB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004165/0.5204, allocations: 281.2 kB / 0.5361 GB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.5205, allocations: 143.7 kB / 0.5362 GB, free: 13.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.5206, allocations: 136.6 kB / 0.5363 GB, free: 13.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5206, allocations: 25.7 kB / 0.5364 GB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.5207, allocations: 102.3 kB / 0.5365 GB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.5207, allocations: 19.64 kB / 0.5365 GB, free: 13.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.5207, allocations: 7.688 kB / 0.5365 GB, free: 13.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5208, allocations: 329.8 kB / 0.5368 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.5209, allocations: 45.67 kB / 0.5368 GB, free: 13.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.5211, allocations: 253 kB / 0.5371 GB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.5213, allocations: 145.9 kB / 0.5372 GB, free: 12.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5213, allocations: 4 kB / 0.5372 GB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004213/0.5217, allocations: 358.2 kB / 0.5376 GB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.5218, allocations: 59.41 kB / 0.5376 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5218, allocations: 8 kB / 0.5376 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.5218, allocations: 16.77 kB / 0.5376 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.522, allocations: 59.55 kB / 0.5377 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.522, allocations: 12 kB / 0.5377 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.5221, allocations: 27.39 kB / 0.5377 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.5222, allocations: 16 kB / 0.5378 GB, free: 12.32 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 0.0001374/0.5223, allocations: 200.7 kB / 0.5379 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.5225, allocations: 204.6 kB / 0.5381 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.5226, allocations: 16.42 kB / 0.5382 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5226, allocations: 7.938 kB / 0.5382 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5226, allocations: 0 / 0.5382 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5226, allocations: 0 / 0.5382 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.5228, allocations: 211 kB / 0.5384 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5229, allocations: 11.94 kB / 0.5384 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.5229, allocations: 8 kB / 0.5384 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5229, allocations: 4 kB / 0.5384 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5229, allocations: 0 / 0.5384 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5229, allocations: 8 kB / 0.5384 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5229, allocations: 0 / 0.5384 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.5233, allocations: 423.7 kB / 0.5388 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.5234, allocations: 92.86 kB / 0.5389 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.5234, allocations: 7.812 kB / 0.5389 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.5235, allocations: 0 / 0.5389 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.5235, allocations: 7.984 kB / 0.5389 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.5235, allocations: 7.625 kB / 0.5389 GB, free: 11.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.5236, allocations: 108.6 kB / 0.539 GB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5236, allocations: 192 / 0.539 GB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.5239, allocations: 35.75 kB / 0.5391 GB, free: 11.01 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.0006081/0.5245, allocations: 274.4 kB / 0.5393 GB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.5249, allocations: 308.7 kB / 0.5396 GB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5249, allocations: 1.875 kB / 0.5396 GB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.525, allocations: 122.6 kB / 0.5397 GB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.5253, allocations: 187.3 kB / 0.5399 GB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.5264, allocations: 486 kB / 0.5404 GB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.5267, allocations: 0.7516 MB / 0.5411 GB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.5268, allocations: 21.2 kB / 0.5411 GB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.5268, allocations: 15.44 kB / 0.5411 GB, free: 9.012 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5268, allocations: 0 / 0.5411 GB, free: 9.012 MB / 362.7 MB Notification: Performance of Templates: time 0.004297/0.5311, allocations: 1.719 MB / 0.5428 GB, free: 7.305 MB / 362.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)