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.0009022/0.0009022, allocations: 180.1 kB / 15.8 MB, free: 6.34 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.172/1.172, allocations: 223.2 MB / 239.7 MB, free: 1.77 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.0007616/0.0007616, allocations: 102.4 kB / 290.9 MB, free: 13.92 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.04862/0.04862, allocations: 12.05 MB / 354 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 13.05 kB / 417.9 MB, free: 87.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08396/0.08427, allocations: 53.37 MB / 471.2 MB, free: 37.44 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/0.3549, allocations: 81.52 MB / 0.5398 GB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.3551, allocations: 80.83 kB / 0.5399 GB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004304/0.3595, allocations: 1.86 MB / 0.5417 GB, free: 30.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3595, allocations: 0 / 0.5417 GB, free: 30.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3595, allocations: 7.875 kB / 0.5417 GB, free: 30.87 MB / 378.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.0002721/0.3598, allocations: 458.2 kB / 0.5421 GB, free: 30.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.3598, allocations: 7.75 kB / 0.5422 GB, free: 30.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.3598, allocations: 15.59 kB / 0.5422 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.36, allocations: 206.9 kB / 0.5424 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.36, allocations: 11.81 kB / 0.5424 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.3601, allocations: 7.719 kB / 0.5424 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.3605, allocations: 388.1 kB / 0.5428 GB, free: 30.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3605, allocations: 0 / 0.5428 GB, free: 30.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3605, allocations: 7.031 kB / 0.5428 GB, free: 30.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3605, allocations: 0 / 0.5428 GB, free: 30.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.3606, allocations: 81.67 kB / 0.5428 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.3609, allocations: 313.5 kB / 0.5431 GB, free: 29.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3611, allocations: 203.2 kB / 0.5433 GB, free: 29.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3611, allocations: 2.344 kB / 0.5433 GB, free: 29.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.3611, allocations: 38.59 kB / 0.5434 GB, free: 29.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.232e-06/0.3611, allocations: 0 / 0.5434 GB, free: 29.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004362/0.3616, allocations: 0.54 MB / 0.5439 GB, free: 29.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.3616, allocations: 139.9 kB / 0.544 GB, free: 29.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.3617, allocations: 135.1 kB / 0.5442 GB, free: 29.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.3617, allocations: 25.7 kB / 0.5442 GB, free: 29.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.3618, allocations: 100.7 kB / 0.5443 GB, free: 29.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.3618, allocations: 26.97 kB / 0.5443 GB, free: 29.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.3618, allocations: 3.75 kB / 0.5443 GB, free: 29.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.3619, allocations: 331.2 kB / 0.5446 GB, free: 28.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.3619, allocations: 48.92 kB / 0.5447 GB, free: 28.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.3621, allocations: 246.1 kB / 0.5449 GB, free: 28.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.3622, allocations: 149.9 kB / 0.545 GB, free: 28.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3622, allocations: 11.83 kB / 0.5451 GB, free: 28.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003246/0.3625, allocations: 349.4 kB / 0.5454 GB, free: 28.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3626, allocations: 65 kB / 0.5455 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3626, allocations: 3.875 kB / 0.5455 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3626, allocations: 12.34 kB / 0.5455 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3627, allocations: 63.86 kB / 0.5455 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3627, allocations: 17.7 kB / 0.5455 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.3628, allocations: 23.12 kB / 0.5456 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3629, allocations: 19.22 kB / 0.5456 GB, free: 28.12 MB / 378.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.0001074/0.363, allocations: 218.9 kB / 0.5458 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.3631, allocations: 210.2 kB / 0.546 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.3632, allocations: 18.73 kB / 0.546 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3632, allocations: 4 kB / 0.546 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3632, allocations: 0 / 0.546 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3632, allocations: 6 kB / 0.546 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.3634, allocations: 201.2 kB / 0.5462 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3634, allocations: 0 / 0.5462 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.3634, allocations: 17.38 kB / 0.5462 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3634, allocations: 0 / 0.5462 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3634, allocations: 13.42 kB / 0.5462 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3634, allocations: 0 / 0.5462 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3634, allocations: 0 / 0.5462 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.3637, allocations: 424.3 kB / 0.5467 GB, free: 27.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.3637, allocations: 94.84 kB / 0.5467 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3638, allocations: 7.406 kB / 0.5467 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.3638, allocations: 0 / 0.5467 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.3639, allocations: 13.69 kB / 0.5468 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3639, allocations: 9.859 kB / 0.5468 GB, free: 27.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.3639, allocations: 102.2 kB / 0.5469 GB, free: 27.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3639, allocations: 4 kB / 0.5469 GB, free: 27.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.3642, allocations: 36.97 kB / 0.5469 GB, free: 27.22 MB / 378.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.0004411/0.3647, allocations: 275.7 kB / 0.5472 GB, free: 27.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.365, allocations: 305.6 kB / 0.5475 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.365, allocations: 0.6875 kB / 0.5475 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.365, allocations: 128.9 kB / 0.5476 GB, free: 26.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3653, allocations: 186.6 kB / 0.5478 GB, free: 26.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.3663, allocations: 0.6138 MB / 0.5484 GB, free: 26.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.3665, allocations: 0.7482 MB / 0.5491 GB, free: 25.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5e-05/0.3666, allocations: 28.05 kB / 0.5491 GB, free: 25.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.3666, allocations: 11.38 kB / 0.5491 GB, free: 25.8 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3666, allocations: 3.938 kB / 0.5491 GB, free: 25.8 MB / 378.7 MB Notification: Performance of Templates: time 0.003349/0.3699, allocations: 1.705 MB / 0.5508 GB, free: 25.59 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)