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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 113.3 kB / 17.85 MB, free: 5.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 181.3 kB / 20.78 MB, free: 2.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 249.2 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05974/0.05974, allocations: 12.17 MB / 316.2 MB, free: 264 kB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 71.88 kB / 440.7 MB, free: 6.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2435, allocations: 55.17 MB / 495.8 MB, free: 24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.002924/0.2465, allocations: 2.26 MB / 498.1 MB, free: 22.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002364/0.2467, allocations: 125.3 kB / 498.2 MB, free: 22.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.2468, allocations: 10.03 kB / 498.2 MB, free: 22.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.2469, allocations: 17.92 kB / 498.3 MB, free: 22.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.247, allocations: 18.16 kB / 498.3 MB, free: 22.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.2472, allocations: 43.3 kB / 498.3 MB, free: 22.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2473, allocations: 60.78 kB / 498.4 MB, free: 22.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.2474, allocations: 14.02 kB / 498.4 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.2475, allocations: 33.44 kB / 498.4 MB, free: 22.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.2475, allocations: 27.39 kB / 498.5 MB, free: 22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.2475, allocations: 4.344 kB / 498.5 MB, free: 22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.906e-05/0.2476, allocations: 23.47 kB / 498.5 MB, free: 21.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.2477, allocations: 39.53 kB / 498.5 MB, free: 21.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.2477, allocations: 56.06 kB / 498.6 MB, free: 21.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.2479, allocations: 141.8 kB / 498.7 MB, free: 21.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2479, allocations: 0 / 498.7 MB, free: 21.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2479, allocations: 0 / 498.7 MB, free: 21.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.2479, allocations: 1.438 kB / 498.7 MB, free: 21.83 MB / 366.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.0003716/0.2483, allocations: 481.8 kB / 499.2 MB, free: 21.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2483, allocations: 12.92 kB / 499.2 MB, free: 21.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.2483, allocations: 19.36 kB / 499.2 MB, free: 21.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.2485, allocations: 211.2 kB / 499.4 MB, free: 21.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2486, allocations: 7.5 kB / 499.4 MB, free: 21.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.2486, allocations: 6.031 kB / 499.4 MB, free: 21.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.249, allocations: 384 kB / 499.8 MB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.249, allocations: 4.125 kB / 499.8 MB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.249, allocations: 6.938 kB / 499.8 MB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.249, allocations: 1.875 kB / 499.8 MB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.116e-05/0.2491, allocations: 75.5 kB / 499.9 MB, free: 20.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.2494, allocations: 317.3 kB / 0.4885 GB, free: 20.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.2496, allocations: 165.1 kB / 0.4886 GB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.2497, allocations: 111.5 kB / 0.4887 GB, free: 20.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.2497, allocations: 9.766 kB / 0.4888 GB, free: 20.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.2498, allocations: 36.33 kB / 0.4888 GB, free: 20.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.302e-06/0.2498, allocations: 0 / 0.4888 GB, free: 20.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0004487/0.2502, allocations: 382 kB / 0.4892 GB, free: 20.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2502, allocations: 137.2 kB / 0.4893 GB, free: 19.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.2503, allocations: 152.6 kB / 0.4894 GB, free: 19.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.2503, allocations: 27.08 kB / 0.4895 GB, free: 19.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.2504, allocations: 103.7 kB / 0.4896 GB, free: 19.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.2504, allocations: 30.67 kB / 0.4896 GB, free: 19.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.2505, allocations: 54.27 kB / 0.4896 GB, free: 19.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.2505, allocations: 331.7 kB / 0.49 GB, free: 19.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.2506, allocations: 52.64 kB / 0.49 GB, free: 19.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.2507, allocations: 252.2 kB / 0.4902 GB, free: 18.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.2509, allocations: 424.8 kB / 0.4906 GB, free: 18.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2509, allocations: 6.094 kB / 0.4907 GB, free: 18.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003773/0.2513, allocations: 363.6 kB / 0.491 GB, free: 18.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.2513, allocations: 69.16 kB / 0.4911 GB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.2513, allocations: 7.375 kB / 0.4911 GB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2514, allocations: 10.03 kB / 0.4911 GB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2515, allocations: 64.45 kB / 0.4911 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.2515, allocations: 17.83 kB / 0.4912 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2516, allocations: 21.67 kB / 0.4912 GB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.2517, allocations: 16.41 kB / 0.4912 GB, free: 18.11 MB / 366.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.0001199/0.2518, allocations: 224.6 kB / 0.4914 GB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.252, allocations: 216.5 kB / 0.4916 GB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.252, allocations: 18.5 kB / 0.4916 GB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.252, allocations: 1.25 kB / 0.4916 GB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.252, allocations: 0.8125 kB / 0.4916 GB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.252, allocations: 4.922 kB / 0.4916 GB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2522, allocations: 206.4 kB / 0.4918 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2522, allocations: 0 / 0.4918 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.2522, allocations: 15.52 kB / 0.4919 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2522, allocations: 1.156 kB / 0.4919 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2522, allocations: 2.125 kB / 0.4919 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2522, allocations: 1.125 kB / 0.4919 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2522, allocations: 1.094 kB / 0.4919 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.2526, allocations: 422.2 kB / 0.4923 GB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.2526, allocations: 93.3 kB / 0.4924 GB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2526, allocations: 6.156 kB / 0.4924 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.297e-05/0.2527, allocations: 2.781 kB / 0.4924 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.2527, allocations: 3.422 kB / 0.4924 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.2527, allocations: 11.39 kB / 0.4924 GB, free: 17.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.581e-05/0.2527, allocations: 112.8 kB / 0.4925 GB, free: 16.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2527, allocations: 0 / 0.4925 GB, free: 16.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.2531, allocations: 30.25 kB / 0.4925 GB, free: 16.98 MB / 366.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.0006354/0.2537, allocations: 283.3 kB / 0.4928 GB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.254, allocations: 321.2 kB / 0.4931 GB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.254, allocations: 3.438 kB / 0.4931 GB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/0.2541, allocations: 120 kB / 0.4932 GB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.2545, allocations: 161.3 kB / 0.4934 GB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.2549, allocations: 392.5 kB / 0.4937 GB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.2551, allocations: 0.7513 MB / 0.4945 GB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.2551, allocations: 13.88 kB / 0.4945 GB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2551, allocations: 0 / 0.4945 GB, free: 15.35 MB / 366.1 MB Notification: Performance of Templates: time 0.003541/0.2586, allocations: 2.164 MB / 0.4966 GB, free: 14.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.887452485971153] Failed to read output from testmodel.py, exit status != 0: 0.2658769249683246 0.273889839 0.024121223 Calling exit ...