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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 108.7 kB / 16.69 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 186 kB / 17.61 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241.3 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06029/0.06029, allocations: 12.04 MB / 303.5 MB, free: 3.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 366.6 MB, free: 4.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2014, allocations: 52.33 MB / 419 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.003209/0.2046, allocations: 2.281 MB / 421.2 MB, free: 19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.2049, allocations: 119.6 kB / 421.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.205, allocations: 3.938 kB / 421.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.2052, allocations: 19.92 kB / 421.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.2053, allocations: 7.922 kB / 421.4 MB, free: 18.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.2055, allocations: 35.97 kB / 421.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.2056, allocations: 67.78 kB / 421.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2057, allocations: 16.73 kB / 421.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.174e-05/0.2058, allocations: 31.23 kB / 421.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.2058, allocations: 27.84 kB / 421.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.2059, allocations: 8 kB / 421.6 MB, free: 18.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.2059, allocations: 20 kB / 421.6 MB, free: 18.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.206, allocations: 47.78 kB / 421.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.2061, allocations: 51.61 kB / 421.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2062, allocations: 95.8 kB / 421.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2062, allocations: 0 / 421.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2062, allocations: 0 / 421.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2063, allocations: 1.719 kB / 421.8 MB, free: 18.46 MB / 302.1 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.000423/0.2067, allocations: 480.4 kB / 422.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2067, allocations: 8.031 kB / 422.3 MB, free: 17.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.2068, allocations: 20.75 kB / 422.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.207, allocations: 204.1 kB / 422.5 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.207, allocations: 8.375 kB / 422.5 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.207, allocations: 12.38 kB / 422.5 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.2074, allocations: 391.9 kB / 422.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2075, allocations: 192 / 422.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2075, allocations: 7.938 kB / 422.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2075, allocations: 4 kB / 422.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.346e-05/0.2076, allocations: 75.97 kB / 423 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.2079, allocations: 321.5 kB / 423.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.2081, allocations: 189.4 kB / 423.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.2083, allocations: 141.8 kB / 423.6 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.2083, allocations: 0 / 423.6 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2083, allocations: 42.59 kB / 423.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.2083, allocations: 0 / 423.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.000455/0.2088, allocations: 376.9 kB / 424 MB, free: 16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.2089, allocations: 140.5 kB / 424.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.209, allocations: 144.1 kB / 424.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.209, allocations: 33.73 kB / 424.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.209, allocations: 96.59 kB / 424.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.209, allocations: 31.77 kB / 424.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.2091, allocations: 57.98 kB / 424.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.2092, allocations: 330.8 kB / 424.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.2092, allocations: 48.53 kB / 424.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2094, allocations: 248.5 kB / 425.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.2096, allocations: 429.8 kB / 425.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2096, allocations: 4 kB / 425.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003511/0.21, allocations: 352.3 kB / 425.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.21, allocations: 68.38 kB / 426 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.21, allocations: 4 kB / 426 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.21, allocations: 19.98 kB / 426 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.2102, allocations: 56 kB / 426 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2102, allocations: 15.88 kB / 426 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.2103, allocations: 27.75 kB / 426.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2103, allocations: 20 kB / 426.1 MB, free: 13.61 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.2105, allocations: 227.2 kB / 426.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.2107, allocations: 204.2 kB / 426.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.2107, allocations: 21.95 kB / 426.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2107, allocations: 4 kB / 426.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2108, allocations: 0 / 426.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2108, allocations: 0 / 426.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.2109, allocations: 209.4 kB / 426.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.2109, allocations: 0 / 426.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.211, allocations: 12 kB / 426.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.211, allocations: 0 / 426.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.211, allocations: 8 kB / 426.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.211, allocations: 3.938 kB / 426.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.211, allocations: 8 kB / 426.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.2113, allocations: 403.9 kB / 427.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.2113, allocations: 96.8 kB / 427.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.2114, allocations: 11.94 kB / 427.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.2114, allocations: 0 / 427.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.2114, allocations: 8 kB / 427.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.2115, allocations: 11.98 kB / 427.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.291e-05/0.2115, allocations: 109.9 kB / 427.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2115, allocations: 0 / 427.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.2118, allocations: 28 kB / 427.4 MB, free: 12.15 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006534/0.2125, allocations: 274.8 kB / 427.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.2128, allocations: 344.2 kB / 428 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2128, allocations: 0 / 428 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.2129, allocations: 122.8 kB / 428.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.2133, allocations: 185.7 kB / 428.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.2139, allocations: 456.6 kB / 428.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.214, allocations: 0.7479 MB / 429.5 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.2141, allocations: 15.44 kB / 429.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2141, allocations: 0 / 429.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of Templates: time 0.003384/0.2174, allocations: 2.146 MB / 431.7 MB, free: 7.84 MB / 302.1 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)