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.0.0-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-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.0009073/0.0009073, allocations: 175.6 kB / 16.8 MB, free: 5 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.211/1.211, allocations: 223.3 MB / 240.8 MB, free: 11.68 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.0007404/0.0007406, allocations: 99.88 kB / 292 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo): time 0.05198/0.05198, allocations: 12.04 MB / 355.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 419.2 MB, free: 53.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08609/0.08645, allocations: 53.35 MB / 472.5 MB, free: 252 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2668/0.3533, allocations: 81.55 MB / 0.5411 GB, free: 32 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.3536, allocations: 80.8 kB / 0.5411 GB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004545/0.3582, allocations: 1.868 MB / 0.543 GB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3582, allocations: 4 kB / 0.543 GB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.3582, allocations: 4 kB / 0.543 GB, free: 14.1 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.000344/0.3586, allocations: 454.5 kB / 0.5434 GB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3586, allocations: 12.03 kB / 0.5434 GB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.3586, allocations: 16.73 kB / 0.5434 GB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3589, allocations: 212 kB / 0.5436 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3589, allocations: 4.375 kB / 0.5436 GB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3589, allocations: 8.375 kB / 0.5437 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.3594, allocations: 389.6 kB / 0.544 GB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3594, allocations: 8.125 kB / 0.544 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3594, allocations: 3.938 kB / 0.544 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3594, allocations: 4 kB / 0.544 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3595, allocations: 75.97 kB / 0.5441 GB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.3599, allocations: 321.4 kB / 0.5444 GB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.3601, allocations: 185.4 kB / 0.5446 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.3602, allocations: 133.8 kB / 0.5447 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3603, allocations: 4 kB / 0.5447 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3603, allocations: 34.55 kB / 0.5448 GB, free: 12.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.3603, allocations: 4.094 kB / 0.5448 GB, free: 12.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.000467/0.3608, allocations: 385.8 kB / 0.5451 GB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.3609, allocations: 136.5 kB / 0.5453 GB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.361, allocations: 144.4 kB / 0.5454 GB, free: 11.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.361, allocations: 29.7 kB / 0.5454 GB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.361, allocations: 96.69 kB / 0.5455 GB, free: 11.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3611, allocations: 31.72 kB / 0.5455 GB, free: 11.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.3611, allocations: 4 kB / 0.5456 GB, free: 11.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.3612, allocations: 334.8 kB / 0.5459 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.3613, allocations: 48.53 kB / 0.5459 GB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3615, allocations: 248.5 kB / 0.5462 GB, free: 10.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.3618, allocations: 422.9 kB / 0.5466 GB, free: 9.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3618, allocations: 4 kB / 0.5466 GB, free: 9.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004016/0.3622, allocations: 356.9 kB / 0.5469 GB, free: 9.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3622, allocations: 59.41 kB / 0.547 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3622, allocations: 11.94 kB / 0.547 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3623, allocations: 8 kB / 0.547 GB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.3624, allocations: 63.91 kB / 0.547 GB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.3624, allocations: 11.94 kB / 0.5471 GB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3625, allocations: 23.84 kB / 0.5471 GB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.3626, allocations: 16 kB / 0.5471 GB, free: 9.352 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 () * Number of clocked 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.0001494/0.3627, allocations: 235.7 kB / 0.5473 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.3629, allocations: 200.2 kB / 0.5475 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.363, allocations: 21.95 kB / 0.5475 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.363, allocations: 4 kB / 0.5475 GB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.363, allocations: 0 / 0.5475 GB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.363, allocations: 0 / 0.5475 GB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.3632, allocations: 213.4 kB / 0.5477 GB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.3632, allocations: 4 kB / 0.5477 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.3633, allocations: 16.12 kB / 0.5478 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3633, allocations: 0 / 0.5478 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3633, allocations: 7.938 kB / 0.5478 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3633, allocations: 0 / 0.5478 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3633, allocations: 3.938 kB / 0.5478 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3637, allocations: 415.3 kB / 0.5482 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.3637, allocations: 96.86 kB / 0.5483 GB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.3637, allocations: 8 kB / 0.5483 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.3638, allocations: 4 kB / 0.5483 GB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.3638, allocations: 3.984 kB / 0.5483 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3638, allocations: 8 kB / 0.5483 GB, free: 8.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.722e-05/0.3639, allocations: 103.2 kB / 0.5484 GB, free: 7.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3639, allocations: 0 / 0.5484 GB, free: 7.914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000311/0.3642, allocations: 43.92 kB / 0.5484 GB, free: 7.871 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) * Number of clocked states: 0 () * 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.0004839/0.3647, allocations: 282.7 kB / 0.5487 GB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.3651, allocations: 316.1 kB / 0.549 GB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3651, allocations: 0 / 0.549 GB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.3651, allocations: 122.8 kB / 0.5491 GB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3656, allocations: 183.7 kB / 0.5493 GB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3667, allocations: 0.5956 MB / 0.5499 GB, free: 6.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.367, allocations: 0.7519 MB / 0.5506 GB, free: 5.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.367, allocations: 21.55 kB / 0.5506 GB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.3671, allocations: 23.36 kB / 0.5506 GB, free: 5.547 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3671, allocations: 0 / 0.5506 GB, free: 5.547 MB / 362.7 MB Notification: Performance of Templates: time 0.003927/0.371, allocations: 1.702 MB / 0.5523 GB, free: 3.855 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)