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.001382/0.001382, allocations: 103.9 kB / 16.98 MB, free: 6.137 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.001353/0.001353, allocations: 191.5 kB / 17.91 MB, free: 5.234 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.469/1.469, allocations: 222.9 MB / 241.6 MB, free: 15.18 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.06158/0.06158, allocations: 12.04 MB / 303.8 MB, free: 3.184 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 59.91 kB / 367.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2259, allocations: 52.33 MB / 419.5 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.003133/0.2291, allocations: 2.23 MB / 421.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.2293, allocations: 131.6 kB / 421.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.2294, allocations: 3.938 kB / 421.8 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.2296, allocations: 23.84 kB / 421.9 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.2297, allocations: 3.938 kB / 421.9 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.2298, allocations: 48.42 kB / 421.9 MB, free: 18.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.23, allocations: 71.78 kB / 422 MB, free: 18.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2301, allocations: 27.11 kB / 422 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.2301, allocations: 31.86 kB / 422 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.2302, allocations: 19.86 kB / 422.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.2302, allocations: 8 kB / 422.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.2303, allocations: 16 kB / 422.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.2304, allocations: 43.83 kB / 422.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.2304, allocations: 59.55 kB / 422.2 MB, free: 18.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.2306, allocations: 129.5 kB / 422.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2306, allocations: 0 / 422.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2306, allocations: 0 / 422.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2306, allocations: 4 kB / 422.3 MB, free: 18.27 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.0003972/0.231, allocations: 480.4 kB / 422.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.2311, allocations: 8.031 kB / 422.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.2311, allocations: 20.73 kB / 422.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.2313, allocations: 196.1 kB / 423 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2313, allocations: 8.375 kB / 423 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.2314, allocations: 8.359 kB / 423 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.2318, allocations: 391.8 kB / 423.4 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2318, allocations: 192 / 423.4 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2318, allocations: 11.92 kB / 423.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2318, allocations: 0 / 423.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.851e-05/0.2319, allocations: 83.95 kB / 423.5 MB, free: 16.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.2322, allocations: 317.5 kB / 423.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2324, allocations: 185.4 kB / 424 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.2325, allocations: 137.8 kB / 424.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.2326, allocations: 4 kB / 424.1 MB, free: 16.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2326, allocations: 34.59 kB / 424.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.303e-06/0.2326, allocations: 0 / 424.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.0004349/0.233, allocations: 383.1 kB / 424.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2331, allocations: 140.5 kB / 424.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.2332, allocations: 147.6 kB / 424.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2332, allocations: 29.7 kB / 424.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.2332, allocations: 96.61 kB / 424.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.2333, allocations: 27.81 kB / 425 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.2333, allocations: 57.98 kB / 425 MB, free: 15.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.314e-05/0.2334, allocations: 330.8 kB / 425.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.2334, allocations: 52.52 kB / 425.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2336, allocations: 248.5 kB / 425.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.2338, allocations: 429.8 kB / 426.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2338, allocations: 0 / 426.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000341/0.2341, allocations: 357 kB / 426.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.2342, allocations: 63.55 kB / 426.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2342, allocations: 12 kB / 426.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2342, allocations: 8 kB / 426.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.2344, allocations: 59.92 kB / 426.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2344, allocations: 16.02 kB / 426.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2345, allocations: 31.69 kB / 426.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2345, allocations: 20 kB / 426.6 MB, free: 13.43 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.0001254/0.2346, allocations: 231.2 kB / 426.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.2348, allocations: 201.5 kB / 427 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.2349, allocations: 17.97 kB / 427 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2349, allocations: 0 / 427 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2349, allocations: 0 / 427 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2349, allocations: 8.078 kB / 427.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.235, allocations: 213.4 kB / 427.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2351, allocations: 0 / 427.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.2351, allocations: 15.98 kB / 427.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2351, allocations: 0 / 427.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2351, allocations: 11.94 kB / 427.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2351, allocations: 0 / 427.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2351, allocations: 0 / 427.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.2354, allocations: 407.9 kB / 427.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.2355, allocations: 104.8 kB / 427.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.2355, allocations: 0 / 427.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.2355, allocations: 8 kB / 427.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.2356, allocations: 8 kB / 427.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2356, allocations: 0 / 427.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.189e-05/0.2356, allocations: 109.8 kB / 427.9 MB, free: 12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2356, allocations: 0 / 427.9 MB, free: 12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.236, allocations: 36 kB / 427.9 MB, free: 11.97 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.0006157/0.2366, allocations: 277.3 kB / 428.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.2369, allocations: 335.9 kB / 428.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2369, allocations: 0 / 428.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.382e-05/0.237, allocations: 127.1 kB / 428.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.2374, allocations: 189.7 kB / 428.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.2378, allocations: 390 kB / 429.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.238, allocations: 0.7479 MB / 430 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.238, allocations: 11.44 kB / 430 MB, free: 9.867 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.238, allocations: 0 / 430 MB, free: 9.867 MB / 302.1 MB Notification: Performance of Templates: time 0.00342/0.2415, allocations: 2.154 MB / 432.2 MB, free: 7.715 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)